Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does vcf2maf filter out CNV / Fusion/ ProcControl / RNAExonVariant ? #223

Closed
lakhujanivijay opened this issue May 1, 2019 · 1 comment
Assignees

Comments

@lakhujanivijay
Copy link

lakhujanivijay commented May 1, 2019

I have a vcf file which have few rows with following type of data and I could observe that all of this is being filtered out.

grep -v "^#" sample1_pateint1.vcf | grep -Po "SVTYPE=\w+"  | sort | uniq -c
      1 SVTYPE=CNV
     94 SVTYPE=Fusion
      2 SVTYPE=ProcControl
      4 SVTYPE=RNAExonVariant

My command is :

vcf2maf.pl --input-vcf sample1_pateint1.vcf --output-maf sample1_pateint1.maf --ref-fasta genome.fa --filter-vcf 0 --vep-path /home/bioinfo/variant-effect-predictor-87-0/bin/ --custom-enst isoform_overrides_uniprot.txt --tumor-id sample1

Can you tell us why is this happening?

@ckandoth
Copy link
Collaborator

ckandoth commented Aug 1, 2023

Except for CNV, those are not valid values for SVTYPE as defined in VCF 4.2 specs. See this line of code in vcf2maf to see how SVs are handled. Briefly, SVs of type BND, TRA, DEL, DUP, or INV are split into two VCF lines for two breakpoints and they are fed into Ensembl VEP as point mutations. This is hacky, but it was the only way to generate the Gene1::Gene2 format for gene fusions that the cBioPortal importer liked to parse. This is old hacky code, so YMMV. It looks like the cBioPortal deprecated the Fusion format in favor of a more structured SV format.

@ckandoth ckandoth closed this as completed Aug 1, 2023
@ckandoth ckandoth self-assigned this Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants