SkillAgentSearch skills...

Maftools

Summarize, Analyze and Visualize MAF files from TCGA or in-house studies.

Install / Use

/learn @PoisonAlien/Maftools
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<img src="vignettes/maftools_hex.svg" align="left" height="140" /></a>

maftools - An R package to summarize, analyze and visualize MAF files

GitHub closed issues R-CMD-check

Introduction

maftools is a comprehensive toolkit for processing somatic variants from cohort-based cancer genomic studies. maftools offers over 80 functions to perform the most commonly required tasks in cancer genomics, using MAF as the only input file type.

Installation

#Install from Bioconductor repository
BiocManager::install("maftools")

#Install from GitHub repository
BiocManager::install("PoisonAlien/maftools")

Getting started: Vignette and a case study

A complete documentation of maftools using TCGA LAML as a case study can be found here.

<p align="left"> <img src="https://user-images.githubusercontent.com/8164062/97981605-d8a59500-1dd2-11eb-9f5e-cc808f7b3f91.gif" height="320" height="400"> </p>

Primary applications

maftools is extremely easy to use, starting with importing an MAF file along with the associated clinical data. Once the data is successfully imported, the resulting MAF object can be passed to various functions. Key applications include:

Besides the MAF files, maftools can handle sequencing alignment BAM files, copy number output from GISTIC and mosdepth. Please refer to the package documentation sections below to learn more.

Moreover, analyzing all 33 TCGA cohorts along with the harmonized clinical data is a breeze.

  • A single command tcgaLoad will import the desired TCGA cohort thereby avoiding costly time spent on data mining from public databases.
  • Please refer to an associated software package TCGAmutations that provides ready to use MAF objects for 33 TCGA cohorts and 2427 cell line profiles from CCLE - along with relevant clinical information for all sequenced samples.

Citation

Mayakonda A, Lin DC, Assenov Y, Plass C, Koeffler HP. 2018. Maftools: efficient and comprehensive analysis of somatic variants in cancer. Genome Research. PMID: 30341162

Useful links

| File Fomats | Data portals | Annotation tools | |--------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------| | Mutation Annotation Format | TCGA | vcf2maf - for converting your VCF files to MAF | | Variant Call Format | ICGC | annovar2maf - for converting annovar output files to MAF | | ICGC Simple Somatic Mutation Format | Broad Firehose | bcftools csq - Rapid annotations of VCF files with variant consequences | | | cBioPortal | Annovar | | | PeCan | Funcotator | | | CIViC - Clinical interpretation of variants in cancer | | | | DGIdb - Information on drug-gene interactions and the druggable genome | |

Useful packages/tools

Below are some more useful software packages for somatic variant analysis

  • TRONCO - Repository of the TRanslational ONCOlogy library (R)
  • dndscv - dN/dS methods to quantify selection in cancer and somatic evolution (R)
  • cloneevol - Inferring and visualizing clonal evolution in multi-sample cancer sequencing (R)
  • sigminer - Primarily for signature analysis and visualization in R. Supports maftools output (R)
  • GenVisR - Primarily for visualization (R)
  • comut - Primarily for visualization (Python)
  • TCGAmutations - pre-compiled curated somatic mutations from TCGA cohorts (from Broad Firehose and TCGA MC3 Project) that can be loaded into maftools (R)
  • somaticfreq - rapid genotyping of known somatic hotspot variants from the tumor BAM files. Generates a browsable/sharable HTML report. (C)

Powered By

Related Skills

View on GitHub
GitHub Stars486
CategoryDevelopment
Updated4d ago
Forks224

Languages

R

Security Score

100/100

Audited on Mar 20, 2026

No findings