Skip to content
Snippets Groups Projects
Commit 14e45c5c authored by Aaron's avatar Aaron
Browse files

Defaults to other constructors.

parent d16e39d7
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,8 @@ BedGenomeCoverage::BedGenomeCoverage(string bedFile, string genomeFile, bool eac
_obeySplits = obeySplits;
_filterByStrand = filterByStrand;
_requestedStrand = requestedStrand;
_currChromName = "";
_currChromSize = 0 ;
_bed = new BedFile(bedFile);
_genome = new GenomeFile(genomeFile);
......
......@@ -37,7 +37,8 @@ BedShuffle::BedShuffle(string &bedFile, string &genomeFile, string &excludeFile,
}
else {
// thanks to Rob Long for the tip.
srand((unsigned)time(0)+(unsigned)getpid());
_seed = (unsigned)time(0)+(unsigned)getpid();
srand(_seed);
}
_bed = new BedFile(bedFile);
......@@ -53,7 +54,8 @@ BedShuffle::BedShuffle(string &bedFile, string &genomeFile, string &excludeFile,
if (_haveInclude) {
_include = new BedFile(includeFile);
_include->loadBedFileIntoMapNoBin();
_numIncludeChroms = 0;
masterBedMapNoBin::const_iterator it = _include->bedMapNoBin.begin();
masterBedMapNoBin::const_iterator itEnd = _include->bedMapNoBin.end();
for(; it != itEnd; ++it) {
......
......@@ -38,7 +38,6 @@ private:
string _bedAFile;
string _bedBFile;
float _overlapFraction;
bool _noHit;
bool _forceStrand;
// instances of bed file class.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment