Skip to content

Commit

Permalink
dbsnp missing from indel header. cleaned some code
Browse files Browse the repository at this point in the history
  • Loading branch information
walaj committed Dec 19, 2016
1 parent c90438a commit 5213029
Show file tree
Hide file tree
Showing 9 changed files with 131 additions and 344 deletions.
3 changes: 0 additions & 3 deletions src/Snowman/AlignedContig.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,6 @@ void AlignedContig::blacklist(SeqLib::GRC &grv) {

bp.secondary = a.m_align.SecondaryFlag() || b.m_align.SecondaryFlag();

assert(bp.valid());

// add the the vector of breakpoints
if (!bp.secondary) {
m_local_breaks.push_back(bp);
Expand Down Expand Up @@ -434,7 +432,6 @@ void AlignedContig::blacklist(SeqLib::GRC &grv) {
// order the breakpoint
m_global_bp.order();

assert(m_global_bp.valid());
}

std::string AlignedContig::printDiscordantClusters() const {
Expand Down
2 changes: 0 additions & 2 deletions src/Snowman/AlignmentFragment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ void AlignmentFragment::SetIndels(const AlignedContig * c) {
while (parseIndelBreak(bp) && fail_safe_count++ < MAX_INDELS && !m_align.SecondaryFlag()) {
bp.aligned_covered = c->aligned_covered;
assert(bp.aligned_covered);
assert(bp.valid());
for (auto& i : c->prefixes)
bp.allele[i].indel = true;
m_indel_breaks.push_back(bp);
Expand Down Expand Up @@ -290,7 +289,6 @@ void AlignmentFragment::indelCigarMatches(const std::unordered_map<std::string,
bp.b1.gr.strand = '+';
bp.b2.gr.strand = '-';

assert(bp.valid());
return true;
}

Expand Down
Loading

0 comments on commit 5213029

Please sign in to comment.