Closed apaul7 closed 5 years ago
this should be easy to fix. Would checking that the ALT startswith <DUP or <DEL be sufficient? are there other types to think about?
That works for me. I'm not sure if it could affect other types of calls.
Only thing I could think about is maybe using the SVTYPE
info field instead. Tried skimming through the source to see if that's possible but I don't have experience with nim. But doing that may cause Duphold to run slower because it would have to locate the specific field instead of a column.
4.2 VCF spec has a few examples with <DEL:x so your proposed solution would cover those as well.
would you mind trying this and verifying that it works for your variants of interst? if so, I'll make a new release presently.
(just gunzip, chmod+x and it should be good to go). duphold.gz
It works! Thank you for fixing this so quickly!
this is now out in latest release. thanks for reporting and testing.
I believe I found a bug. When I try to annotate a vcf that contains a tandem duplication called by Manta Duphold fails to add fold changes to the call.
Here's an example:
If I change ALT to
<DUP>
Duphold has no issue annotatingcommand using version 0.1.4:
duphold -v test.vcf --drop --threads 1 --output test.duphold.vcf --fasta $REFERENCE --bam crams/sample.1.cram