diff --git a/ChangeLog.txt b/ChangeLog.txt index 82521924..2b2e340c 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -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 diff --git a/src/c++/lib/format/VcfWriterSV.cpp b/src/c++/lib/format/VcfWriterSV.cpp index d58cd10f..4e4b5b36 100644 --- a/src/c++/lib/format/VcfWriterSV.cpp +++ b/src/c++/lib/format/VcfWriterSV.cpp @@ -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);