~ubuntu-branches/ubuntu/raring/bedtools/raring

« back to all changes in this revision

Viewing changes to src/shuffleBed/shuffleBed.h

  • Committer: Package Import Robot
  • Author(s): Charles Plessy
  • Date: 2012-11-04 17:59:41 UTC
  • mfrom: (1.1.9)
  • Revision ID: package-import@ubuntu.com-20121104175941-hahqzy1w8uy650z0
Tags: 2.17.0-1
bb9012e Imported Upstream version 2.16.2.
9006b23 Imported Upstream version 2.17.0.
9112569 Documented BEDTools license as a whole.
325689c Removed Pre-Depends: dpkg (>= 1.15.6).
a781b14 Conforms with Policy 3.9.4.
84b1167 Use Debhelper 9. 
0bf572d Distribute the test suite.
422cd34 Bash completion for BEDTools.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
  Licenced under the GNU General Public License 2.0 license.
11
11
******************************************************************************/
12
12
#include "bedFile.h"
 
13
#include "bedFilePE.h"
13
14
#include "genomeFile.h"
14
15
 
15
16
#include <vector>
34
35
public:
35
36
 
36
37
    // constructor
37
 
    BedShuffle(string &bedFile, string &genomeFile, string &excludeFile, string &includeFile, 
38
 
                           bool haveSeed, bool haveExclude, bool haveInclude, bool sameChrom, 
39
 
                           float overlapFraction, int seed, bool chooseChrom);
 
38
    BedShuffle(string &bedFile, string &genomeFile, 
 
39
               string &excludeFile, string &includeFile, 
 
40
               bool haveSeed, bool haveExclude, 
 
41
               bool haveInclude, bool sameChrom, 
 
42
               float overlapFraction, int seed, 
 
43
               bool chooseChrom, bool isBedpe);
40
44
 
41
45
    // destructor
42
46
    ~BedShuffle(void);
54
58
    bool _haveInclude;
55
59
    bool _haveSeed;
56
60
    bool _chooseChrom;
 
61
    bool _isBedpe;
57
62
 
58
63
 
59
64
    // The BED file from which to compute coverage.
60
65
    BedFile *_bed;
 
66
    BedFilePE *_bedpe;
61
67
    BedFile *_exclude;
62
68
    BedFile *_include;
63
69
 
76
82
 
77
83
    void ChooseLocus(BED &);
78
84
    void ChooseLocusFromInclusionFile(BED &);
 
85
    
 
86
    void ChoosePairedLocus(BEDPE &b);
79
87
};