Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
fix CTX check in BreakDancer
Browse files Browse the repository at this point in the history
don't skip CTX reads in CTX only modes. that's just silly!
  • Loading branch information
Travis Abbott committed Jun 14, 2014
1 parent 02eb6dc commit 97f8d5a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/lib/breakdancer/BreakDancer.cpp
Expand Up @@ -166,15 +166,13 @@ void BreakDancer::push_read(Alignment &aln) {
// region between last and next begin
// Store readdepth in nread_ROI by bam name (no per library calc) or by library
// I believe this only counts normally mapped reads
// FIXME Weird to me that this one uses opts.min_map_qual directly
// seems like it should use min_mapq from above. Could fix now that I've moved it
if (aln.proper_pair()) {
string const& key = _opts.CN_lib == 1 ? lib_config.name : lib_config.bam_file;
_rdata.incr_normal_read_count(key);
}


if ((_opts.transchr_rearrange && aln.interchrom_pair()) || aln.either_unmapped()) {
if ((_opts.transchr_rearrange && !aln.interchrom_pair()) || aln.either_unmapped()) {
return;
}

Expand Down

0 comments on commit 97f8d5a

Please sign in to comment.