Variant Annotators

Introduction

Annotates variants in MAF with OncoKB™ annotation. Supports both python2 and python3.

Please run the commands below to see usage details in terminal.

python MafAnnotator.py -h
python FusionAnnotator.py -h
python CnaAnnotator.py -h
python ClinicalDataAnnotator.py -h
python OncoKBPlots.py -h

We recommend processing VCF files by vcf2maf with MSK override isoforms before using the MafAnnotator here.

Please go to OncoKB™ Annotator Github Repository to see source code and more details.

OncoKB™ API Token

When you run MafAnnotator.py, FusionAnnotator.py and CnaAnnotator.py, you need a token before accessing the OncoKB™ data via its web API. Please visit OncoKB™ Data Access Page for more information about how to register an account and get an OncoKB™ API token. With the token listed under OncoKB™ Account Settings Page, you could use it in the following format.

Python Examples

MAF Annotator

When you type python MafAnnotator.py -h in terminal, you can see all Python command parameters as below. -i <input MAF file>, -o <output MAF file> and-b oncokb_api_bear_token are required.

Fusion Annotator

When you type python FusionAnnotator.py -h in terminal, you can see all Python command parameters as below. The required parameters is the same with MAF Annotator.

CNA Annotator

When you type python CnaAnnotator.py -h in terminal, you can see all Python command parameters as below. The required parameters is the same with MAF Annotator.

Clinical Data Annotator

When you type python ClinicalDataAnnotator.py -h in terminal, you can see all Python command parameters as below. -i <input clinical file>, -o <output clinical file> and-a <annotated alteration files, separate by ,> are required.

OncoKB Plots

When you type python OncoKBPlots.py -h in terminal, you can see all Python command parameters as below. -i <input clinical file> and -o <output clinical file> are required.

Last updated

Was this helpful?