← 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: 9-72788476-A-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "9",
      "pos": 72788476,
      "ref": "A",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_138691.3",
      "consequences": [
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMC1",
          "gene_hgnc_id": 16513,
          "hgvs_c": "c.1022A>C",
          "hgvs_p": "p.Asn341Thr",
          "transcript": "NM_138691.3",
          "protein_id": "NP_619636.2",
          "transcript_support_level": null,
          "aa_start": 341,
          "aa_end": null,
          "aa_length": 760,
          "cds_start": 1022,
          "cds_end": null,
          "cds_length": 2283,
          "cdna_start": 1755,
          "cdna_end": null,
          "cdna_length": 5340,
          "mane_select": "ENST00000297784.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 24,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMC1",
          "gene_hgnc_id": 16513,
          "hgvs_c": "c.1022A>C",
          "hgvs_p": "p.Asn341Thr",
          "transcript": "ENST00000297784.10",
          "protein_id": "ENSP00000297784.6",
          "transcript_support_level": 1,
          "aa_start": 341,
          "aa_end": null,
          "aa_length": 760,
          "cds_start": 1022,
          "cds_end": null,
          "cds_length": 2283,
          "cdna_start": 1755,
          "cdna_end": null,
          "cdna_length": 5340,
          "mane_select": "NM_138691.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMC1",
          "gene_hgnc_id": 16513,
          "hgvs_c": "c.1022A>C",
          "hgvs_p": "p.Asn341Thr",
          "transcript": "ENST00000340019.4",
          "protein_id": "ENSP00000341433.3",
          "transcript_support_level": 5,
          "aa_start": 341,
          "aa_end": null,
          "aa_length": 760,
          "cds_start": 1022,
          "cds_end": null,
          "cds_length": 2283,
          "cdna_start": 1429,
          "cdna_end": null,
          "cdna_length": 3068,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMC1",
          "gene_hgnc_id": 16513,
          "hgvs_c": "c.1022A>C",
          "hgvs_p": "p.Asn341Thr",
          "transcript": "ENST00000645208.2",
          "protein_id": "ENSP00000494684.1",
          "transcript_support_level": null,
          "aa_start": 341,
          "aa_end": null,
          "aa_length": 760,
          "cds_start": 1022,
          "cds_end": null,
          "cds_length": 2283,
          "cdna_start": 1563,
          "cdna_end": null,
          "cdna_length": 5142,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMC1",
          "gene_hgnc_id": 16513,
          "hgvs_c": "c.896A>C",
          "hgvs_p": "p.Asn299Thr",
          "transcript": "ENST00000645773.1",
          "protein_id": "ENSP00000493698.1",
          "transcript_support_level": null,
          "aa_start": 299,
          "aa_end": null,
          "aa_length": 687,
          "cds_start": 896,
          "cds_end": null,
          "cds_length": 2064,
          "cdna_start": 1286,
          "cdna_end": null,
          "cdna_length": 2454,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMC1",
          "gene_hgnc_id": 16513,
          "hgvs_c": "c.584A>C",
          "hgvs_p": "p.Asn195Thr",
          "transcript": "ENST00000651183.1",
          "protein_id": "ENSP00000498723.1",
          "transcript_support_level": null,
          "aa_start": 195,
          "aa_end": null,
          "aa_length": 636,
          "cds_start": 584,
          "cds_end": null,
          "cds_length": 1911,
          "cdna_start": 1199,
          "cdna_end": null,
          "cdna_length": 4707,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMC1",
          "gene_hgnc_id": 16513,
          "hgvs_c": "c.584A>C",
          "hgvs_p": "p.Asn195Thr",
          "transcript": "ENST00000646619.1",
          "protein_id": "ENSP00000493726.1",
          "transcript_support_level": null,
          "aa_start": 195,
          "aa_end": null,
          "aa_length": 626,
          "cds_start": 584,
          "cds_end": null,
          "cds_length": 1881,
          "cdna_start": 924,
          "cdna_end": null,
          "cdna_length": 2221,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "N",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMC1",
          "gene_hgnc_id": 16513,
          "hgvs_c": "c.1025A>C",
          "hgvs_p": "p.Asn342Thr",
          "transcript": "XM_017014256.2",
          "protein_id": "XP_016869745.1",
          "transcript_support_level": null,
          "aa_start": 342,
          "aa_end": null,
          "aa_length": 761,
          "cds_start": 1025,
          "cds_end": null,
          "cds_length": 2286,
          "cdna_start": 1285,
          "cdna_end": null,
          "cdna_length": 4870,
          "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": 9,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMC1",
          "gene_hgnc_id": 16513,
          "hgvs_c": "n.584A>C",
          "hgvs_p": null,
          "transcript": "ENST00000644967.1",
          "protein_id": "ENSP00000496159.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": 2477,
          "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": 11,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMC1",
          "gene_hgnc_id": 16513,
          "hgvs_c": "n.584A>C",
          "hgvs_p": null,
          "transcript": "ENST00000645053.1",
          "protein_id": "ENSP00000493838.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": 4445,
          "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": 10,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMC1",
          "gene_hgnc_id": 16513,
          "hgvs_c": "n.1062A>C",
          "hgvs_p": null,
          "transcript": "ENST00000645787.1",
          "protein_id": null,
          "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": 2514,
          "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": 12,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMC1",
          "gene_hgnc_id": 16513,
          "hgvs_c": "n.1320A>C",
          "hgvs_p": null,
          "transcript": "ENST00000650689.1",
          "protein_id": null,
          "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": 2122,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "TMC1",
      "gene_hgnc_id": 16513,
      "dbsnp": "rs727504568",
      "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.21547004580497742,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.019999999552965164,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.113,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.1725,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.36,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 6.196,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0.02,
      "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": 1,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,PP2,BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": 1,
          "benign_score": 2,
          "pathogenic_score": 3,
          "criteria": [
            "PM2",
            "PP2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_138691.3",
          "gene_symbol": "TMC1",
          "hgnc_id": 16513,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "SD,AR,AD",
          "hgvs_c": "c.1022A>C",
          "hgvs_p": "p.Asn341Thr"
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}