Data API, version 1

Everything Cybergenic measures about one case

Send a diagnosis and its variants; get back how often each variant occurs in that tumour type and elsewhere, the gene-pair tests between the case's genes, their partners, the engine's findings, the cell lines that carry the same alteration, and the terms of every source. Each number names the page it comes from. Free, no key, JSON with stable field names.

The same numbers are on the public pages and in the MCP server; this API gathers them for one case in one call, for a service that stores the answer with the case.

The call

POST https://cybergenic.im/api/v1/profile-context
Example
curl -s https://cybergenic.im/api/v1/profile-context \
  -H 'content-type: application/json' \
  -d '{"cancer":"lung adenocarcinoma","variants":[{"gene":"KRAS","alteration":"G12C","kind":"mutation"},{"gene":"STK11","alteration":"Q37*","kind":"mutation"},{"gene":"CDKN2A","alteration":"Deletion","kind":"deletion"}],"options":{"max_cell_lines":10}}'

Up to 40 variants a case. A variant is a gene (an HGNC symbol or a common name such as HER2) and its alteration as a report writes it: a protein change (G12D, p.Gly12Asp, R213X, E746_A750del, W288fs), a class (exon 19 deletion, G12), Truncating, Mutation, Amplification, Deletion, a fusion (EML4::ALK Fusion), or an expression change. kind (mutation, amplification, deletion, fusion, expression) is optional: the alteration's own words decide it when it is missing. A variant that cannot be read is answered with its error; the rest of the case still is.

The answer

as_of
The scan version and when it was published, the date each copy-number and fusion file was read, the cell line release and the tumour alignment the resemblance comes from (Celligner, CC BY 4.0): say "as of" with these.
cancer
How the diagnosis was read: the tumour types and every cohort of them, how each cohort's own tumour type relates to it (same, broader, narrower), and the patient group it names (a histology, a receptor subtype, HPV status). matched: false, with a note, when the scan has no cohort of it.
variants[].in_tumour_type
For a mutation: tumours carrying it over tumours tested in each cohort of the case's tumour type, with the gene's own driver-mutated share beside it. A cohort that does not count the gene says why.
variants[].in_group
The gene's driver-mutated share inside the diagnosis's patient group (lung adenocarcinomas within non-small cell lung cancer, triple-negative breast tumours), where the scan counts one.
variants[].by_tumour_type, by_dataset
The same counts in every other tumour type (each in the cohort its pages quote), and summed per dataset.
variants[].driver
Whether the scan's driver annotation counts the exact change, and in how many cohorts.
variants[].frequency
For an amplification, a deep deletion or a fusion: the counts the copy-number and fusion pages show. Expression is not measured.
variants[].cell_lines
Cancer cell lines carrying the same change (else its class, else a driver-like call in the gene), lines of the case's tumour type first: Cellosaurus name, accession and RRID, DepMap id, lineage and disease, allele fraction, who calls it, its other driver-like mutations, how closely its expression resembles tumours (tumour_resemblance: of its 25 nearest tumours in the Celligner alignment, how many are of the case's tumour type and of its own, and the type most are; placed_from names DepMap Public 24Q4 for a line the alignment's release lacks, placed in it from that expression) and its page.
variants[].pages
The page each number lives on: link it beside the number.
pairs
Every pair of the case's mutated genes: the scan's test in each cohort of the tumour type, and the other cohorts where a direction is established.
partners
Each mutated gene's strongest partners in the tumour type, one row per partner and independent source.
findings
The engine's published findings on these genes in this tumour type, with their verdicts and permanent addresses.
sources
Every source the answer drew on, with its licence and what it asks of anyone showing numbers derived from it.

What the numbers mean

tumours_tested
Tumours of the cohort's population of record whose panel covers the gene: one sample per patient, hypermutated tumours and the MSI-high and POLE classes left out.
tumours_carrying
Of them, tumours carrying the variant as the scan counts it: driver calls only (a missense change counts at a recurrent position of its study; truncating and in-frame changes of the genes tested count wherever found).
share
tumours_carrying / tumours_tested.
gene_mutated
Tumours carrying any driver mutation in the gene.
share_of_gene_mutated
tumours_carrying / gene_mutated: how common the variant is among the gene's driver mutations there.
counts_are_sums
True when the variant is a set of changes the scan has no stored count for (a residue, a frameshift named without its stop): its count sums the changes, so a tumour carrying two of them counts twice.
match
How the cohort's own tumour type relates to the diagnosis as read: same, broader (it includes it among others), narrower, or related.
by_dataset
Summed over the dataset's tumour types in which the scan counts the gene (8 or more tumours with a driver mutation in it), so a dataset's share leaves out its tumour types where the gene is rarer: read it as the share among those.
pairs
The scan's test of two genes' driver mutations in each cohort that tested both (Benjamini-Hochberg q over the cohort's family, burden-aware null). Copy-number and fusion variants are not paired: the scan's pair tests count mutations.
direction
Stated only where the data establish one (see https://cybergenic.im/methodology). Associations in tumour sequencing, not causal or clinical evidence.
source
The independent patient source. MSK-IMPACT 50K and MSK-CHORD share about 78% of their patients, so agreement between them is not independent replication.

The headline figures

GET https://cybergenic.im/api/v1/stats answers the figures the home page shows: tumours, studies and cohorts read, findings, cycles, open gaps, tests run, locked predictions, the known-biology replication check and when the last cycle ran. Cached for ten minutes.

Terms

Cybergenic's counts are published under CC BY-NC 4.0: use them non-commercially, name Cybergenic and link the page each number gives. The studies behind them carry their own terms, and every answer lists them under sources: the two Memorial Sloan Kettering studies (MSK-IMPACT 50K and MSK-CHORD) state CC BY-NC-ND 4.0 and ask for permission for commercial use.

The cell lines come from DepMap Public 24Q4 and Cellosaurus, both CC BY 4.0, and not from DepMap's newer releases, whose terms exclude clinical use and incorporation into a product. The cell line pages on this site show the newer release, so link to a page rather than copying from it.

Associations in tumour sequencing data, not causal or clinical evidence, and not medical advice. At most 60 calls a minute per client; name your service in User-Agent. Questions: hello@cybergenic.im.