svtyper icon indicating copy to clipboard operation
svtyper copied to clipboard

Running SVTyper on any SV tool

Open mej54 opened this issue 5 years ago • 8 comments

Hi,

I'm hoping to be able to run SVTyper in a generic mode on any SV tool.

I have tried running SVTyper on Manta and SvAbA vcfs, and am running into errors because SVTyper is looking for information that is not listed in these files. For example, some entries in Manta do not have CIPOS and SvAbA does not list CIPOS for any of its entries. SVTyper stops and throws an error because it cannot find CIPOS. There have also been other format-specific errors I've run into, such as SVTyper throwing an error when an additional '>' is found in the FORMAT header section.

Will there be a version of SVTyper that is more lenient with the vcf format, so that it can be run on other SV callers besides Lumpy?

mej54 avatar Jul 11 '18 15:07 mej54

I have also tried running svtyper_sso on CNVnator and BreakSeq VCFs, and I am running into the same error.

slzarate avatar Jul 25 '18 18:07 slzarate

Hi Molly, Have you resolved that problem? I am facing the same problem.

ytguojian avatar Jul 31 '18 20:07 ytguojian

I think there is likely to be a version of svtyper that does this at some point, but I'm not sure when that may happen. I've run into the same issue for Manta and have had to add CIPOS and CIEND manually using bcftools.

ernfrid avatar Jul 31 '18 22:07 ernfrid

Ok, thank you for the update!

mej54 avatar Aug 02 '18 20:08 mej54

I know this is an old issue, but is there a standardised way to decide how to bound CIPOS and CIEND? Is it a proportion of the overall size of the SV?

janawold1 avatar Nov 27 '20 04:11 janawold1

#111 works around the missing CIPOS

dmckean avatar Feb 04 '21 17:02 dmckean

Dear @ernfrid

I know this is a very old issue; but may I ask how you added CIPOS and CIEND using bcftools? Any specific commands? Can bcftools calculate these CIs for SVs?

Thank you in advance

dr-ashu-geno avatar Jun 28 '22 04:06 dr-ashu-geno

@dr-ashu-geno - It's been too long for me to recall for certain, but I'm fairly sure I calculated outside of svtools and then simply added the new tags to the VCF using bcftools annotate. I'm not aware of a standard way to calculate these. I know in the past I used either fixed window sizes or 0 size, but that was tool dependent.

ernfrid avatar Jul 09 '22 15:07 ernfrid