Question: Converting Vcf File To Maf
gravatar for l.pirhaji
4.3 years ago by
l.pirhaji70 wrote:

I'm going to use VarScan2 and MuSiC software to identify mutated genes from exome sequencing data.

at first, I used VarScan2 to identity somatic mutations. I will then use MuSiC to identify significantly mutated genes from VarScan2 results. However, the output file generated from VarScan2 is in VCF format, but MuSiC only accepts MAF file format as an input.

I was wondering if there is any available tools for converting VCF file format to MAF.

music • 9.2k views
ADD COMMENTlink modified 17 months ago by rse30 • written 4.3 years ago by l.pirhaji70

Possible duplicate of VCF to MAF (Mutation Annotation Format) Conversion ?

ADD REPLYlink written 4.3 years ago by Eric Normandeau9.5k
gravatar for mdm-two
4.2 years ago by
mdm-two200 wrote:

Will read in an annotated vcf file outputted by SNPEff It will parse and output the data in tcga maf format (currently v 2.3

By default, every effect and transcript annotated per variant will be outputted as a row in the maf file. (In other words you will need to filter to one row per sample per variant)

This included somatic caller support for varscan and GATK.

There are many other vcf2maf alternatives such as

You might also want to research Ensembl VEP for VCF annotation:

ADD COMMENTlink written 4.2 years ago by mdm-two200
gravatar for Cyriac Kandoth
3.8 years ago by
Cyriac Kandoth4.6k
Memorial Sloan Kettering, New York, USA
Cyriac Kandoth4.6k wrote:

I recently posted a VCF->MAF conversion script at: It's plenty documented so that you understand what information is lost in translation.

Briefly - each VCF variant must be annotated to only one of all possible gene transcripts/isoforms that it might affect. This selection of a single affected transcript/isoform per variant, is often subjective. For now, the scripts tries to follow best-practices: it chooses the "worst" effect on the "best" transcript. If there are multiple such candidates, it annotates the variant effect on the longest "best" transcript.

ADD COMMENTlink written 3.8 years ago by Cyriac Kandoth4.6k

Thanks for the script but the current version still requires snpEff yet I have already annotated using snpEff. Could you please push a version that doesn't depend on snpEff? Thanks again!

ADD REPLYlink written 3.5 years ago by tayebwajb80

The script skips snpEff annotation for an input VCF named file.vcf if it finds an annotated VCF named file.anno.vcf. You can use this as a workaround. Otherwise, try this fork of the script:

Update: I released vcf2maf v1.1 that allows you to use a VCF that is already annotated with snpEff or Ensembl's VEP.

ADD REPLYlink modified 3.5 years ago • written 3.5 years ago by Cyriac Kandoth4.6k
gravatar for mdm-two
4.0 years ago by
mdm-two200 wrote:

Same question answered here: converting VCF file to MAF

ADD COMMENTlink written 4.0 years ago by mdm-two200
gravatar for rse
17 months ago by
United States
rse30 wrote:

Hi Cyriac, i used vcf2maf perl script. Installed vcf2maf-master, vep. But getting an error - WARNING: Chromosome 1 not found in cache on line . What can be the reason?

ADD COMMENTlink written 17 months ago by rse30

Please don't write a question in a section that's meant for an answer. Either start a new question, or submit an issue at

ADD REPLYlink written 17 months ago by Cyriac Kandoth4.6k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 599 users visited in the last hour