broadinstitute / gamgee

A C++14 library for NGS data formats
http://broadinstitute.github.io/gamgee/
MIT License
40 stars 13 forks source link

Support for MAF format #380

Open lbergelson opened 9 years ago

lbergelson commented 9 years ago

It would be convenient if Gamgee had native support for MAF formats.

See https://wiki.nci.nih.gov/display/TCGA/Mutation+Annotation+Format+(MAF)+Specification for more details.

MAF is a TSV format with a single line header, and possible leading comment lines designated with "#"

It differs from VCF in that it reports a single mutation per line rather than a single site. It also reports INDEL sites differently than VCF, so it's not an entirely trivial stacking operation to convert one to another.