Open anoronh4 opened 2 years ago
i found at least one of the offending lines:
##FILTER=<ID=svaba_LOWAS,Description="Alignment score of one end is less than 80% of contig length, or number of mismatch bases (NM) on one end is >= 10">
vcftobedpe
turns this line into:
##FILTER=<ID=svaba_LOWAS,Description=""Alignment score of one end is less than 80% of contig length, or number of mismatch bases (NM) on one end is >">
and then this line becomes unparseable with with bedpetovcf
. i found a few similar looking lines:
grep "\"\"" vcftobedpe.bedpe
##FILTER=<ID=svaba_TOOSHORT,Description=""Contig alignment for part of this rearrangement has <">
##FILTER=<ID=svaba_LOWAS,Description=""Alignment score of one end is less than 80% of contig length, or number of mismatch bases (NM) on one end is >">
##FILTER=<ID=svaba_WEAKSUPPORTHIREP,Description=""Fewer then 7 split reads for variant with >">
##FORMAT=<ID=svaba_LR,Number=1,Type=Float,Description=""Log-odds that this variant is REF vs AF">
seems like strings are not well handled when special characters such as <>=
are in the Description
.
I'm trying the dockerhub image with svtools and running as follows:
The first operation works fine and has no error. The bedpe looks as expected. The second step has the following error:
Just wondering what might be the issue here.