Skip to content

Commit

Permalink
Merge branch 'move_map_check'
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanlayer committed Jan 7, 2015
2 parents 36837c9 + c5479ff commit 515b860
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/lumpy/SV_BamReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -206,17 +206,17 @@ process_input_chr_pos(string chr,
it = (*bam_evidence_readers).find(ev_pair);
if (it != (*bam_evidence_readers).end()) {
curr_reader = it->second;
if ( bam.IsMapped() &&
!(bam.IsPaired() && !(bam.IsMateMapped())) )
//if ( bam.IsMapped() && !(bam.IsPaired() && !(bam.IsMateMapped())) ) {
if ( bam.IsMapped() )
curr_reader->process_input(bam,refs,inter_chrom_reads,r_bin);
}
else {
// then search for matching bamfile SV_EvidenceReader
it = (*bam_evidence_readers).find(pair<string,string> (bam.Filename,""));
if (it != (*bam_evidence_readers).end()) {
curr_reader = it->second;
if ( bam.IsMapped() &&
!(bam.IsPaired() && !(bam.IsMateMapped())) )
//if ( bam.IsMapped() && !(bam.IsPaired() && !(bam.IsMateMapped())) )
if ( bam.IsMapped() )
curr_reader->process_input(bam,refs,inter_chrom_reads,r_bin);
}
}
Expand Down

0 comments on commit 515b860

Please sign in to comment.