Skip to content
/ vcf2maf Public

Convert VCF (Variant Call Format) into TCGA MAF (Mutation Annotation Format)

Notifications You must be signed in to change notification settings

cbare/vcf2maf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vcf2maf: a VCF to MAF conversion utility

This code is no longer maintained. Please have a look at: mskcc's vcf2maf.

Files in the MAF (Mutation Annotation Format) are used in TCGA to track DNA variants/mutations.

Vcf2maf is a tool for converting files in Variant Call Format (VCF) to MAF format.

Use the DCC Archive Validator to check the integrity of a MAF file.

Usage

Basic usage of the vcf2maf converter takes a vcf file as input and produces a corresponding maf file:

python vcf2maf.py -v --maf example1.maf examples/example1.vcf

List the samples in a VCF file, like this:

python vcf2maf.py -v --list-samples examples/example1.vcf

Vcf2maf can also take input from STDIN and output to STDOUT, enabling command line piping and redirection. One way this can be useful is to take input from compressed vcf files:

gunzip --stdout TCGA-AA-A024_W_IlluminaGA-DNASeq_exome.vcf.gz | python vcf2maf.py -v > TCGA-AA-A024_W_IlluminaGA-DNASeq_exome.maf

Further help can be displayed using the -h or --help option:

python vcf2maf.py -h

Dependencies

  • PyVCF: A Variant Call Format reader for Python.

License and Copyright

© Copyright 2012 Sage Bionetworks

This software is licensed under the Apache License, Version 2.0.

About

Convert VCF (Variant Call Format) into TCGA MAF (Mutation Annotation Format)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published