Skip to content
This repository has been archived by the owner on Jul 17, 2023. It is now read-only.

Commit

Permalink
MANTA-185 remove transloc calls with neg pos
Browse files Browse the repository at this point in the history
  • Loading branch information
ctsa committed Jul 29, 2014
1 parent eaed4d7 commit 9664b9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
v0.20.2
- MANTA-185 remove transloc calls with neg position (from circular genome)
v0.20.1
- Lower default min candidate size to 8
v0.20.0
Expand Down
3 changes: 3 additions & 0 deletions src/c++/lib/format/VcfWriterSV.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,9 @@ writeTransloc(
}
}

// TODO: improve circular genome handler:
if ((pos<1) || (matePos<1)) return;

// get ID
const std::string& localId(isFirstBreakend ? svId.localId : svId.mateId);
const std::string& mateId(isFirstBreakend ? svId.mateId : svId.localId);
Expand Down

0 comments on commit 9664b9b

Please # to comment.