tooluniverse-cancer-variant-interpretation

Provide comprehensive clinical interpretation of somatic mutations in cancer. Given a gene symbol + variant (e.g., EGFR L858R, BRAF V600E) and optional cancer type, performs multi-database analysis covering clinical evidence (CIViC), mutation prevalence (cBioPortal), therapeutic associations (OpenTargets, ChEMBL, FDA), resistance mechanisms, clinical trials, prognostic impact, and pathway context. Generates an evidence-graded markdown report with actionable recommendations for precision oncology. Use when oncologists, molecular tumor boards, or researchers ask about treatment options for specific cancer mutations, resistance mechanisms, or clinical trial matching.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "tooluniverse-cancer-variant-interpretation" with this command: npx skills add mims-harvard/tooluniverse/mims-harvard-tooluniverse-tooluniverse-cancer-variant-interpretation

Cancer Variant Interpretation for Precision Oncology

Comprehensive clinical interpretation of somatic mutations in cancer. Transforms a gene + variant input into an actionable precision oncology report covering clinical evidence, therapeutic options, resistance mechanisms, clinical trials, and prognostic implications.

KEY PRINCIPLES:

  1. Report-first approach - Create report file FIRST, then populate progressively
  2. Evidence-graded - Every recommendation has an evidence tier (T1-T4)
  3. Actionable output - Prioritized treatment options, not data dumps
  4. Clinical focus - Answer "what should we treat with?" not "what databases exist?"
  5. Resistance-aware - Always check for known resistance mechanisms
  6. Cancer-type specific - Tailor all recommendations to the patient's cancer type when provided
  7. Source-referenced - Every statement must cite the tool/database source
  8. English-first queries - Always use English terms in tool calls (gene names, drug names, cancer types), even if the user writes in another language. Respond in the user's language

When to Use

Apply when user asks:

  • "What treatments exist for EGFR L858R in lung cancer?"
  • "Patient has BRAF V600E melanoma - what are the options?"
  • "Is KRAS G12C targetable?"
  • "Patient progressed on osimertinib - what's next?"
  • "What clinical trials are available for PIK3CA E545K?"
  • "Interpret this somatic mutation: TP53 R273H"

Input Parsing

Required: Gene symbol + variant notation Optional: Cancer type (improves specificity)

Accepted Input Formats

FormatExampleHow to Parse
Gene + amino acid changeEGFR L858Rgene=EGFR, variant=L858R
Gene + HGVS proteinBRAF p.V600Egene=BRAF, variant=V600E
Gene + exon notationEGFR exon 19 deletiongene=EGFR, variant=exon 19 deletion
Gene + fusionEML4-ALK fusiongene=ALK, variant=EML4-ALK
Gene + amplificationHER2 amplificationgene=ERBB2, variant=amplification

Gene Symbol Normalization

Common aliases: HER2 -> ERBB2, PD-L1 -> CD274, VEGF -> VEGFA


Phase 0: Tool Parameter Verification (CRITICAL)

BEFORE calling ANY tool for the first time, verify its parameters.

ToolWRONG ParameterCORRECT Parameter
OpenTargets_get_associated_drugs_by_target_ensemblIDensemblIDensemblId (camelCase)
OpenTargets_get_drug_chembId_by_generic_namegenericNamedrugName
OpenTargets_target_disease_evidenceensemblIDensemblId + efoId
MyGene_query_genesqquery
search_clinical_trialsdisease, biomarkercondition, query_term (required)
civic_get_variants_by_genegene_symbolgene_id (CIViC numeric ID)
drugbank_*any 3 paramsALL 4 required: query, case_sensitive, exact_match, limit
ChEMBL_get_drug_mechanismschembl_iddrug_chembl_id__exact
ensembl_lookup_geneno speciesspecies='homo_sapiens' is REQUIRED

Workflow Overview

Input: Gene symbol + Variant notation + Optional cancer type

Phase 1: Gene Disambiguation & ID Resolution
  - Resolve gene to Ensembl ID, UniProt accession, Entrez ID
  - Get gene function, pathways, protein domains
  - Identify cancer type EFO ID (if cancer type provided)

Phase 2: Clinical Variant Evidence (CIViC)
  - Find gene in CIViC (via Entrez ID matching)
  - Get all variants for the gene, match specific variant
  - Retrieve evidence items (predictive, prognostic, diagnostic)

Phase 3: Mutation Prevalence (cBioPortal)
  - Frequency across cancer studies
  - Co-occurring mutations, cancer type distribution

Phase 4: Therapeutic Associations (OpenTargets + ChEMBL + FDA + DrugBank)
  - FDA-approved targeted therapies
  - Clinical trial drugs (phase 2-3), drug mechanisms
  - Combination therapies

Phase 5: Resistance Mechanisms
  - Known resistance variants (CIViC, literature)
  - Bypass pathway analysis (Reactome)

Phase 6: Clinical Trials
  - Active trials recruiting for this mutation
  - Trial phase, status, eligibility

Phase 7: Prognostic Impact & Pathway Context
  - Survival associations (literature)
  - Pathway context (Reactome), Expression data (GTEx)

Phase 8: Report Synthesis
  - Executive summary, clinical actionability score
  - Treatment recommendations (prioritized), completeness checklist

For detailed code snippets and API call patterns for each phase, see ANALYSIS_DETAILS.md.


Evidence Grading Summary

TierCriteriaExamples
T1FDA-approved therapy, Level A CIViC evidence, phase 3 trialOsimertinib for EGFR T790M
T2Phase 2/3 clinical data, Level B CIViC evidenceCombination trial data
T3Preclinical data, Level D CIViC, case reportsNovel mechanisms, in vitro
T4Computational prediction, pathway inferenceDocking, pathway analysis

Clinical Actionability Scoring

ScoreCriteria
HIGHFDA-approved targeted therapy for this exact mutation + cancer type
MODERATEApproved therapy for different cancer type with same mutation, OR phase 2-3 trial data
LOWOnly preclinical evidence or pathway-based rationale
UNKNOWNInsufficient data to assess actionability

For full scoring tables and treatment prioritization, see SCORING_TABLES.md.


Tool Reference (Verified Parameters)

Gene Resolution

ToolKey ParametersResponse Key Fields
MyGene_query_genesquery, specieshits[].ensembl.gene, .entrezgene, .symbol
UniProt_searchquery, organism, limitresults[].accession
OpenTargets_get_target_id_description_by_nametargetNamedata.search.hits[].id
ensembl_lookup_genegene_id, species (REQUIRED)data.id, .version

Clinical Evidence

ToolKey ParametersResponse Key Fields
civic_search_genesquery, limitdata.genes.nodes[].id, .entrezId
civic_get_variants_by_genegene_id (CIViC numeric)data.gene.variants.nodes[]
civic_get_variantvariant_iddata.variant

Drug Information

ToolKey ParametersResponse Key Fields
OpenTargets_get_associated_drugs_by_target_ensemblIDensemblId, sizedata.target.knownDrugs.rows[]
FDA_get_indications_by_drug_namedrug_name, limitresults[].indications_and_usage
drugbank_get_drug_basic_info_by_drug_name_or_idquery, case_sensitive, exact_match, limit (ALL required)results[]

Mutation Prevalence

ToolKey ParametersResponse Key Fields
cBioPortal_get_mutationsstudy_id, gene_listdata[].proteinChange
cBioPortal_get_cancer_studieslimit[].studyId, .cancerTypeId

Clinical Trials & Literature

ToolKey ParametersResponse Key Fields
search_clinical_trialsquery_term (required), conditionstudies[]
PubMed_search_articlesquery, limit, include_abstractReturns list of dicts (NOT wrapped)
Reactome_map_uniprot_to_pathwaysid (UniProt accession)Pathway mappings
GTEx_get_median_gene_expressiongencode_id, operation="median"Expression by tissue

For full tool parameter reference, see TOOLS_REFERENCE.md.


Fallback Chains

Primary ToolFallbackUse When
CIViC variant lookupPubMed literature searchGene not found in CIViC
OpenTargets drugsChEMBL drug searchNo OpenTargets drug hits
FDA indicationsDrugBank drug infoDrug not in FDA database
cBioPortal TCGA studycBioPortal pan-cancerSpecific cancer study not available
GTEx expressionEnsembl gene lookupGTEx returns empty
Reactome pathwaysUniProt functionPathway mapping fails

Quantified Minimums

SectionRequirement
Gene IDsAt least Ensembl + UniProt resolved
Clinical evidenceCIViC queried + PubMed literature search
Mutation prevalenceAt least 1 cBioPortal study
Therapeutic optionsAll approved drugs listed + FDA label for top drugs
ResistanceLiterature search + known patterns documented
Clinical trialsAt least 1 search query executed
Prognostic impactPubMed literature search performed
Pathway contextReactome pathway mapping attempted

See Also

  • ANALYSIS_DETAILS.md - Detailed code snippets and API call patterns for each phase
  • REPORT_TEMPLATE.md - Full report template with completeness checklist
  • SCORING_TABLES.md - Evidence grading, treatment prioritization, use cases
  • TOOLS_REFERENCE.md - Detailed tool parameter reference
  • QUICK_START.md - Example usage and quick reference
  • EXAMPLES.md - Complete example reports

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

devtu-optimize-skills

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

devtu-create-tool

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

devtu-optimize-descriptions

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

tooluniverse-clinical-trial-design

No summary provided by upstream source.

Repository SourceNeeds Review