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

Add extra columns #3

Open
selkamand opened this issue Feb 27, 2023 · 1 comment
Open

Add extra columns #3

selkamand opened this issue Feb 27, 2023 · 1 comment

Comments

@selkamand
Copy link
Collaborator

From: https://github.com/mskcc/vcf2maf/blob/main/vcf2maf.pl

The original vcf2maf perl implementation appears to add a bunch of nonstandard but very useful columns when converting VCFs to MAF files

# Add extra annotation columns to the MAF in a consistent order
my @ann_cols = qw( Allele Gene Feature Feature_type Consequence cDNA_position CDS_position
    Protein_position Amino_acids Codons Existing_variation ALLELE_NUM DISTANCE STRAND_VEP SYMBOL
    SYMBOL_SOURCE HGNC_ID BIOTYPE CANONICAL CCDS ENSP SWISSPROT TREMBL UNIPARC RefSeq SIFT PolyPhen
    EXON INTRON DOMAINS AF AFR_AF AMR_AF ASN_AF EAS_AF EUR_AF SAS_AF AA_AF EA_AF CLIN_SIG SOMATIC
    PUBMED MOTIF_NAME MOTIF_POS HIGH_INF_POS MOTIF_SCORE_CHANGE IMPACT PICK VARIANT_CLASS TSL
    HGVS_OFFSET PHENO MINIMISED GENE_PHENO FILTER flanking_bps vcf_id vcf_qual gnomAD_AF gnomAD_AFR_AF
    gnomAD_AMR_AF gnomAD_ASJ_AF gnomAD_EAS_AF gnomAD_FIN_AF gnomAD_NFE_AF gnomAD_OTH_AF gnomAD_SAS_AF );

We should ensure we grab as much useful information from VEP annotations as possible.

We also may need to sort columns in output so they appear in a consistent order, and will have to decide whether to include all columns in all cases, even when empty, to preserve outfile structure (rn I'm against this)

@selkamand
Copy link
Collaborator Author

selkamand commented Feb 28, 2023

Actually we absolutely need a strict MAF format (same columns each time in the same order) so that the end-user can concatenate resulting MAFs together

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

1 participant