Variant Annotators
Introduction
Annotates variants in MAF with OncoKB™ annotation. Supports both python2 and python3.
MafAnnotator.py: A Mutation Annotation Format (MAF) file is a tab-delimited text file that lists mutations. MAFAnnotator annotated genes from MAF file by OncoKB™ Level of Evidences rules.
FusionAnnotator.py: Annotate fusions by OncoKB™ Level of Evidences rules.
CnaAnnotator.py: Annotate copy number alterations by OncoKB Level of Evidences rules.
ClinicalDataAnnotator.py: Annotate clinical data by OncoKB™ Level of Evidences rules.
OncoKBPlots.py: Draw OncoKB™ Actionability genes graph.
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 -hPlease 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?