← Back to variant description

GeneBe API Showcase

This page demonstrates how to use the GeneBe API to query variant information. The API provides programmatic access to genomic annotations and variant data.

API presented here should be used for checking single variants. If you want to check many variants at once, please use other API endpoints that you will find in the documentation.

Documentation & Advanced Usage

Complete API documentation:docs.genebe.net/docs/api/overview/

Interactive endpoint tester:api.genebe.net/cloud/gb-api-doc/swagger-ui/

Python client for pandas:pypi.org/project/genebe/

Java CLI for VCF files:github.com/pstawinski/genebe-cli

All tools documented at:docs.genebe.net

API Request Examples for Variant: 6-117317184-C-T (hg38)

Bash / cURL Example

bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=6&pos=117317184&ref=C&alt=T&genome=hg38&allGenes=true"

API Response

json
{
  "variants": [
    {
      "chr": "6",
      "pos": 117317184,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "NM_002944.3",
      "consequences": [
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6076G>A",
          "hgvs_p": "p.Gly2026Arg",
          "transcript": "NM_001378902.1",
          "protein_id": "NP_001365831.1",
          "transcript_support_level": null,
          "aa_start": 2026,
          "aa_end": null,
          "aa_length": 2341,
          "cds_start": 6076,
          "cds_end": null,
          "cds_length": 7026,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000368507.8",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001378902.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6076G>A",
          "hgvs_p": "p.Gly2026Arg",
          "transcript": "ENST00000368507.8",
          "protein_id": "ENSP00000357493.3",
          "transcript_support_level": 5,
          "aa_start": 2026,
          "aa_end": null,
          "aa_length": 2341,
          "cds_start": 6076,
          "cds_end": null,
          "cds_length": 7026,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_001378902.1",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000368507.8"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6094G>A",
          "hgvs_p": "p.Gly2032Arg",
          "transcript": "ENST00000368508.7",
          "protein_id": "ENSP00000357494.3",
          "transcript_support_level": 1,
          "aa_start": 2032,
          "aa_end": null,
          "aa_length": 2347,
          "cds_start": 6094,
          "cds_end": null,
          "cds_length": 7044,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000368508.7"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6121G>A",
          "hgvs_p": "p.Gly2041Arg",
          "transcript": "ENST00000957000.1",
          "protein_id": "ENSP00000627059.1",
          "transcript_support_level": null,
          "aa_start": 2041,
          "aa_end": null,
          "aa_length": 2356,
          "cds_start": 6121,
          "cds_end": null,
          "cds_length": 7071,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000957000.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6094G>A",
          "hgvs_p": "p.Gly2032Arg",
          "transcript": "NM_002944.3",
          "protein_id": "NP_002935.2",
          "transcript_support_level": null,
          "aa_start": 2032,
          "aa_end": null,
          "aa_length": 2347,
          "cds_start": 6094,
          "cds_end": null,
          "cds_length": 7044,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_002944.3"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6082G>A",
          "hgvs_p": "p.Gly2028Arg",
          "transcript": "NM_001378891.1",
          "protein_id": "NP_001365820.1",
          "transcript_support_level": null,
          "aa_start": 2028,
          "aa_end": null,
          "aa_length": 2343,
          "cds_start": 6082,
          "cds_end": null,
          "cds_length": 7032,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001378891.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.5947G>A",
          "hgvs_p": "p.Gly1983Arg",
          "transcript": "ENST00000956999.1",
          "protein_id": "ENSP00000627058.1",
          "transcript_support_level": null,
          "aa_start": 1983,
          "aa_end": null,
          "aa_length": 2298,
          "cds_start": 5947,
          "cds_end": null,
          "cds_length": 6897,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000956999.1"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6124G>A",
          "hgvs_p": "p.Gly2042Arg",
          "transcript": "XM_011536049.3",
          "protein_id": "XP_011534351.1",
          "transcript_support_level": null,
          "aa_start": 2042,
          "aa_end": null,
          "aa_length": 2357,
          "cds_start": 6124,
          "cds_end": null,
          "cds_length": 7074,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011536049.3"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6121G>A",
          "hgvs_p": "p.Gly2041Arg",
          "transcript": "XM_011536050.3",
          "protein_id": "XP_011534352.1",
          "transcript_support_level": null,
          "aa_start": 2041,
          "aa_end": null,
          "aa_length": 2356,
          "cds_start": 6121,
          "cds_end": null,
          "cds_length": 7071,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011536050.3"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6097G>A",
          "hgvs_p": "p.Gly2033Arg",
          "transcript": "XM_011536051.3",
          "protein_id": "XP_011534353.1",
          "transcript_support_level": null,
          "aa_start": 2033,
          "aa_end": null,
          "aa_length": 2348,
          "cds_start": 6097,
          "cds_end": null,
          "cds_length": 7047,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011536051.3"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6079G>A",
          "hgvs_p": "p.Gly2027Arg",
          "transcript": "XM_006715548.5",
          "protein_id": "XP_006715611.1",
          "transcript_support_level": null,
          "aa_start": 2027,
          "aa_end": null,
          "aa_length": 2342,
          "cds_start": 6079,
          "cds_end": null,
          "cds_length": 7029,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_006715548.5"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6055G>A",
          "hgvs_p": "p.Gly2019Arg",
          "transcript": "XM_017011172.2",
          "protein_id": "XP_016866661.1",
          "transcript_support_level": null,
          "aa_start": 2019,
          "aa_end": null,
          "aa_length": 2334,
          "cds_start": 6055,
          "cds_end": null,
          "cds_length": 7005,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017011172.2"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 38,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6052G>A",
          "hgvs_p": "p.Gly2018Arg",
          "transcript": "XM_017011173.2",
          "protein_id": "XP_016866662.1",
          "transcript_support_level": null,
          "aa_start": 2018,
          "aa_end": null,
          "aa_length": 2333,
          "cds_start": 6052,
          "cds_end": null,
          "cds_length": 7002,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_017011173.2"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.5950G>A",
          "hgvs_p": "p.Gly1984Arg",
          "transcript": "XM_011536053.3",
          "protein_id": "XP_011534355.1",
          "transcript_support_level": null,
          "aa_start": 1984,
          "aa_end": null,
          "aa_length": 2299,
          "cds_start": 5950,
          "cds_end": null,
          "cds_length": 6900,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011536053.3"
        },
        {
          "aa_ref": "G",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6124G>A",
          "hgvs_p": "p.Gly2042Arg",
          "transcript": "XM_011536054.3",
          "protein_id": "XP_011534356.1",
          "transcript_support_level": null,
          "aa_start": 2042,
          "aa_end": null,
          "aa_length": 2200,
          "cds_start": 6124,
          "cds_end": null,
          "cds_length": 6603,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_011536054.3"
        }
      ],
      "gene_symbol": "ROS1",
      "gene_hgnc_id": 10261,
      "dbsnp": "rs1057519788",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.9892897605895996,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.029999999329447746,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.862,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.8878,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.39,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 6.061,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0.03,
      "spliceai_max_prediction": "Benign",
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": 7,
      "acmg_classification": "Likely_pathogenic",
      "acmg_criteria": "PM2,PP3_Strong,PP5",
      "acmg_by_gene": [
        {
          "score": 7,
          "benign_score": 0,
          "pathogenic_score": 7,
          "criteria": [
            "PM2",
            "PP3_Strong",
            "PP5"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "NM_002944.3",
          "gene_symbol": "ROS1",
          "hgnc_id": 10261,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.6094G>A",
          "hgvs_p": "p.Gly2032Arg"
        }
      ],
      "clinvar_disease": "Lung adenocarcinoma",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "Lung adenocarcinoma",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}