← 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-117301021-G-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "6",
      "pos": 117301021,
      "ref": "G",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_001378902.1",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 43,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6668C>G",
          "hgvs_p": "p.Ser2223Cys",
          "transcript": "NM_001378902.1",
          "protein_id": "NP_001365831.1",
          "transcript_support_level": null,
          "aa_start": 2223,
          "aa_end": null,
          "aa_length": 2341,
          "cds_start": 6668,
          "cds_end": null,
          "cds_length": 7026,
          "cdna_start": 6954,
          "cdna_end": null,
          "cdna_length": 8451,
          "mane_select": "ENST00000368507.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 43,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6668C>G",
          "hgvs_p": "p.Ser2223Cys",
          "transcript": "ENST00000368507.8",
          "protein_id": "ENSP00000357493.3",
          "transcript_support_level": 5,
          "aa_start": 2223,
          "aa_end": null,
          "aa_length": 2341,
          "cds_start": 6668,
          "cds_end": null,
          "cds_length": 7026,
          "cdna_start": 6954,
          "cdna_end": null,
          "cdna_length": 8451,
          "mane_select": "NM_001378902.1",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 42,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6686C>G",
          "hgvs_p": "p.Ser2229Cys",
          "transcript": "ENST00000368508.7",
          "protein_id": "ENSP00000357494.3",
          "transcript_support_level": 1,
          "aa_start": 2229,
          "aa_end": null,
          "aa_length": 2347,
          "cds_start": 6686,
          "cds_end": null,
          "cds_length": 7044,
          "cdna_start": 6885,
          "cdna_end": null,
          "cdna_length": 7435,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 42,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6686C>G",
          "hgvs_p": "p.Ser2229Cys",
          "transcript": "NM_002944.3",
          "protein_id": "NP_002935.2",
          "transcript_support_level": null,
          "aa_start": 2229,
          "aa_end": null,
          "aa_length": 2347,
          "cds_start": 6686,
          "cds_end": null,
          "cds_length": 7044,
          "cdna_start": 6972,
          "cdna_end": null,
          "cdna_length": 8469,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 43,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6674C>G",
          "hgvs_p": "p.Ser2225Cys",
          "transcript": "NM_001378891.1",
          "protein_id": "NP_001365820.1",
          "transcript_support_level": null,
          "aa_start": 2225,
          "aa_end": null,
          "aa_length": 2343,
          "cds_start": 6674,
          "cds_end": null,
          "cds_length": 7032,
          "cdna_start": 6960,
          "cdna_end": null,
          "cdna_length": 8457,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 43,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6716C>G",
          "hgvs_p": "p.Ser2239Cys",
          "transcript": "XM_011536049.3",
          "protein_id": "XP_011534351.1",
          "transcript_support_level": null,
          "aa_start": 2239,
          "aa_end": null,
          "aa_length": 2357,
          "cds_start": 6716,
          "cds_end": null,
          "cds_length": 7074,
          "cdna_start": 7002,
          "cdna_end": null,
          "cdna_length": 8499,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 43,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6713C>G",
          "hgvs_p": "p.Ser2238Cys",
          "transcript": "XM_011536050.3",
          "protein_id": "XP_011534352.1",
          "transcript_support_level": null,
          "aa_start": 2238,
          "aa_end": null,
          "aa_length": 2356,
          "cds_start": 6713,
          "cds_end": null,
          "cds_length": 7071,
          "cdna_start": 6999,
          "cdna_end": null,
          "cdna_length": 8496,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 42,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6689C>G",
          "hgvs_p": "p.Ser2230Cys",
          "transcript": "XM_011536051.3",
          "protein_id": "XP_011534353.1",
          "transcript_support_level": null,
          "aa_start": 2230,
          "aa_end": null,
          "aa_length": 2348,
          "cds_start": 6689,
          "cds_end": null,
          "cds_length": 7047,
          "cdna_start": 6975,
          "cdna_end": null,
          "cdna_length": 8472,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 43,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6671C>G",
          "hgvs_p": "p.Ser2224Cys",
          "transcript": "XM_006715548.5",
          "protein_id": "XP_006715611.1",
          "transcript_support_level": null,
          "aa_start": 2224,
          "aa_end": null,
          "aa_length": 2342,
          "cds_start": 6671,
          "cds_end": null,
          "cds_length": 7029,
          "cdna_start": 6957,
          "cdna_end": null,
          "cdna_length": 8454,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 42,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6647C>G",
          "hgvs_p": "p.Ser2216Cys",
          "transcript": "XM_017011172.2",
          "protein_id": "XP_016866661.1",
          "transcript_support_level": null,
          "aa_start": 2216,
          "aa_end": null,
          "aa_length": 2334,
          "cds_start": 6647,
          "cds_end": null,
          "cds_length": 7005,
          "cdna_start": 6933,
          "cdna_end": null,
          "cdna_length": 8430,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 42,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6644C>G",
          "hgvs_p": "p.Ser2215Cys",
          "transcript": "XM_017011173.2",
          "protein_id": "XP_016866662.1",
          "transcript_support_level": null,
          "aa_start": 2215,
          "aa_end": null,
          "aa_length": 2333,
          "cds_start": 6644,
          "cds_end": null,
          "cds_length": 7002,
          "cdna_start": 6930,
          "cdna_end": null,
          "cdna_length": 8427,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 43,
          "exon_rank_end": null,
          "exon_count": 44,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6542C>G",
          "hgvs_p": "p.Ser2181Cys",
          "transcript": "XM_011536053.3",
          "protein_id": "XP_011534355.1",
          "transcript_support_level": null,
          "aa_start": 2181,
          "aa_end": null,
          "aa_length": 2299,
          "cds_start": 6542,
          "cds_end": null,
          "cds_length": 6900,
          "cdna_start": 6828,
          "cdna_end": null,
          "cdna_length": 8325,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": 42,
          "intron_rank_end": null,
          "gene_symbol": "ROS1",
          "gene_hgnc_id": 10261,
          "hgvs_c": "c.6599+7773C>G",
          "hgvs_p": null,
          "transcript": "XM_011536054.3",
          "protein_id": "XP_011534356.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 2200,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 6603,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8335,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "ROS1",
      "gene_hgnc_id": 10261,
      "dbsnp": "rs619203",
      "frequency_reference_population": 0.23515244,
      "hom_count_reference_population": 47163,
      "allele_count_reference_population": 374928,
      "gnomad_exomes_af": 0.240077,
      "gnomad_genomes_af": 0.188413,
      "gnomad_exomes_ac": 346296,
      "gnomad_genomes_ac": 28632,
      "gnomad_exomes_homalt": 43948,
      "gnomad_genomes_homalt": 3215,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.01386377215385437,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.05999999865889549,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.107,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0424,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.63,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.041,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.06,
      "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": -14,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Moderate,BA1",
      "acmg_by_gene": [
        {
          "score": -14,
          "benign_score": 14,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Moderate",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "NM_001378902.1",
          "gene_symbol": "ROS1",
          "hgnc_id": 10261,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.6668C>G",
          "hgvs_p": "p.Ser2223Cys"
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "B:1",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}