← 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: 17-31229466-G-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "17",
      "pos": 31229466,
      "ref": "G",
      "alt": "T",
      "effect": "splice_donor_variant,intron_variant",
      "transcript": "NM_001042492.3",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 58,
          "intron_rank": 21,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.2850+1G>T",
          "hgvs_p": null,
          "transcript": "NM_001042492.3",
          "protein_id": "NP_001035957.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 2839,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 8520,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 12373,
          "mane_select": "ENST00000358273.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 58,
          "intron_rank": 21,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.2850+1G>T",
          "hgvs_p": null,
          "transcript": "ENST00000358273.9",
          "protein_id": "ENSP00000351015.4",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 2839,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 8520,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 12373,
          "mane_select": "NM_001042492.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 57,
          "intron_rank": 21,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.2850+1G>T",
          "hgvs_p": null,
          "transcript": "ENST00000356175.7",
          "protein_id": "ENSP00000348498.3",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 2818,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 8457,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 12362,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 58,
          "intron_rank": 21,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.2850+1G>T",
          "hgvs_p": null,
          "transcript": "ENST00000579081.6",
          "protein_id": "ENSP00000462408.2",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8788,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.1018G>T",
          "hgvs_p": null,
          "transcript": "ENST00000493220.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 5691,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 59,
          "intron_rank": 22,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.2880+1G>T",
          "hgvs_p": null,
          "transcript": "ENST00000691014.1",
          "protein_id": "ENSP00000510595.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 2849,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 8550,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 12415,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 57,
          "intron_rank": 21,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.2850+1G>T",
          "hgvs_p": null,
          "transcript": "NM_000267.4",
          "protein_id": "NP_000258.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 2818,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 8457,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 12310,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 59,
          "intron_rank": 22,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.2895+1G>T",
          "hgvs_p": null,
          "transcript": "ENST00000696138.1",
          "protein_id": "ENSP00000512431.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 2807,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 8424,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 12484,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 50,
          "intron_rank": 13,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "c.1848+1G>T",
          "hgvs_p": null,
          "transcript": "ENST00000456735.6",
          "protein_id": "ENSP00000389907.2",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 2502,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 7509,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 7787,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 29,
          "intron_rank": 19,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.*2251+1G>T",
          "hgvs_p": null,
          "transcript": "ENST00000495910.6",
          "protein_id": "ENSP00000463682.1",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 8223,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "NF1",
          "gene_hgnc_id": 7765,
          "hgvs_c": "n.195+1G>T",
          "hgvs_p": null,
          "transcript": "ENST00000696139.1",
          "protein_id": "ENSP00000512432.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1639,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "NF1",
      "gene_hgnc_id": 7765,
      "dbsnp": "rs1131691122",
      "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.25,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.921999990940094,
      "splice_prediction_selected": "Pathogenic",
      "splice_source_selected": "dbscSNV1_RF",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.25,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 9.564,
      "phylop100way_prediction": "Pathogenic",
      "spliceai_max_score": 0.99,
      "spliceai_max_prediction": "Pathogenic",
      "dbscsnv_ada_score": 0.999988247793601,
      "dbscsnv_ada_prediction": "Pathogenic",
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": 12,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1_Moderate,PM2,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 12,
          "benign_score": 0,
          "pathogenic_score": 12,
          "criteria": [
            "PVS1_Moderate",
            "PM2",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "NM_001042492.3",
          "gene_symbol": "NF1",
          "hgnc_id": 7765,
          "effects": [
            "splice_donor_variant",
            "intron_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.2850+1G>T",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": " type 1,Cardiovascular phenotype,Hereditary cancer-predisposing syndrome,Neurofibromatosis,not provided",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:6",
      "phenotype_combined": "not provided|Neurofibromatosis, type 1|Cardiovascular phenotype;Hereditary cancer-predisposing syndrome",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}