Skip to content

Commit

Permalink
Log when leading insert encountered in contig alignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
lmose committed Sep 21, 2018
1 parent 605b118 commit a905187
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/abra/ContigAligner.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ public ContigAlignerResult align(String seq) {

CigarElement first = cigar.getFirstCigarElement();
CigarElement last = cigar.getLastCigarElement();

if (first.getOperator() == CigarOperator.I) {
Logger.trace("Contig with leading insert: [%s] - [%s]", sgResult, seq);
}

// Do not allow indels at the edges of contigs.
if (minAnchorLength > 0 &&
Expand Down

0 comments on commit a905187

Please sign in to comment.