mafsmith: a Rust reimplementation of vcf2maf
Abstract
The Mutation Annotation Format (MAF) is a standard interchange format for somatic variant data in tumor genomics. Converting variant call format (VCF) files to MAF requires functional annotation (through tools such as the Ensembl Variant Effect Predictor) and complex allele normalisation and field-mapping logic. The gold-standard implementation, vcf2maf, is written in Perl and could be made more computationally efficient by translating it to a newer language and adding support for parallel processing. Here we describe mafsmith, an implementation of vcf2maf in Rust. The mafsmith implementation of vcf2maf reimplements the allele-normalisation and field-mapping logic of vcf2maf and uses fastVEP for annotation, achieving field-for-field identical output across fifteen validated caller types and formats spanning germline, somatic, structural variant, and annotation-database VCFs. When both tools are run with the same Ensembl VEP annotation cache, mafsmith vcf2maf produces 0 conversion differences versus vcf2maf across 23 diverse datasets aligned to GRCh38 or GRCh37. The companion maf2vcf, vcf2vcf, and maf2maf subcommands were similarly validated against their reference Perl counterparts across six datasets. Benchmarked on multiple reference samples totalling 27.5 million variants, mafsmith achieves approximately 80-fold faster conversion of pre-annotated VCFs (range 74.3-84.1x), enabling faster and cheaper conversion of vcfs to mafs. mafsmith is open source under the same license as vcf2maf and available at https://github.com/nf-osi/mafsmith.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Assay
- Research Focus
- Approach
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Maftools: Efficient analysis, visualization and summarization of MAF files from large-scale cohort based cancer studies.
Anand Mayakonda, H Phillip Koeffler·bioRxiv·May 11, 2016
- Vcfexpress: flexible, rapid user-expressions to filter and format VCFs
Brent S. Pedersen, Aaron R. Quinlan·BioinformaticsPeer-reviewed·Mar 3, 2024
- vcfpp: a C++ API for rapid processing of the Variant Call Format
Zilong Li·BioinformaticsPeer-reviewed·Jan 23, 2024
- FM3VCF: A Software Library for Accelerating the Loading of Large VCF Files in Genotype Data Analyses
Zhen Zuo, Mingliang Li, … You Xi Tang·PLoS ONEPeer-reviewed·Jun 4, 2025
- Vcfanno: fast, flexible annotation of genetic variants
Brent Pedersen, Ryan Layer, Aaron Quinlan·bioRxiv·Mar 2, 2016
- mutscan - a flexible R package for efficient end-to-end analysis of multiplexed assays of variant effect data
Charlotte Soneson, Alexandra M. Bendel, … Michael Beda Stadler·bioRxiv·Oct 25, 2022