← 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: 1-9245095-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 9245095,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "NM_004285.4",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.161C>T",
          "hgvs_p": "p.Ala54Val",
          "transcript": "NM_004285.4",
          "protein_id": "NP_004276.2",
          "transcript_support_level": null,
          "aa_start": 54,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 161,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 464,
          "cdna_end": null,
          "cdna_length": 9147,
          "mane_select": "ENST00000377403.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "V",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.161C>T",
          "hgvs_p": "p.Ala54Val",
          "transcript": "ENST00000377403.7",
          "protein_id": "ENSP00000366620.2",
          "transcript_support_level": 1,
          "aa_start": 54,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 161,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 464,
          "cdna_end": null,
          "cdna_length": 9147,
          "mane_select": "NM_004285.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.194C>T",
          "hgvs_p": "p.Ala65Val",
          "transcript": "ENST00000602477.1",
          "protein_id": "ENSP00000473348.1",
          "transcript_support_level": 1,
          "aa_start": 65,
          "aa_end": null,
          "aa_length": 802,
          "cds_start": 194,
          "cds_end": null,
          "cds_length": 2409,
          "cdna_start": 346,
          "cdna_end": null,
          "cdna_length": 5590,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.194C>T",
          "hgvs_p": "p.Ala65Val",
          "transcript": "NM_001282587.2",
          "protein_id": "NP_001269516.1",
          "transcript_support_level": null,
          "aa_start": 65,
          "aa_end": null,
          "aa_length": 802,
          "cds_start": 194,
          "cds_end": null,
          "cds_length": 2409,
          "cdna_start": 343,
          "cdna_end": null,
          "cdna_length": 9026,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.194C>T",
          "hgvs_p": "p.Ala65Val",
          "transcript": "XM_047435002.1",
          "protein_id": "XP_047290958.1",
          "transcript_support_level": null,
          "aa_start": 65,
          "aa_end": null,
          "aa_length": 802,
          "cds_start": 194,
          "cds_end": null,
          "cds_length": 2409,
          "cdna_start": 668,
          "cdna_end": null,
          "cdna_length": 9351,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.188C>T",
          "hgvs_p": "p.Ala63Val",
          "transcript": "XM_005263540.6",
          "protein_id": "XP_005263597.1",
          "transcript_support_level": null,
          "aa_start": 63,
          "aa_end": null,
          "aa_length": 800,
          "cds_start": 188,
          "cds_end": null,
          "cds_length": 2403,
          "cdna_start": 319,
          "cdna_end": null,
          "cdna_length": 9002,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.182C>T",
          "hgvs_p": "p.Ala61Val",
          "transcript": "XM_047435003.1",
          "protein_id": "XP_047290959.1",
          "transcript_support_level": null,
          "aa_start": 61,
          "aa_end": null,
          "aa_length": 798,
          "cds_start": 182,
          "cds_end": null,
          "cds_length": 2397,
          "cdna_start": 313,
          "cdna_end": null,
          "cdna_length": 8996,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.161C>T",
          "hgvs_p": "p.Ala54Val",
          "transcript": "XM_006711052.5",
          "protein_id": "XP_006711115.1",
          "transcript_support_level": null,
          "aa_start": 54,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 161,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 456,
          "cdna_end": null,
          "cdna_length": 9139,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.161C>T",
          "hgvs_p": "p.Ala54Val",
          "transcript": "XM_017002865.3",
          "protein_id": "XP_016858354.1",
          "transcript_support_level": null,
          "aa_start": 54,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 161,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 335,
          "cdna_end": null,
          "cdna_length": 9018,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "H6PD",
          "gene_hgnc_id": 4795,
          "hgvs_c": "c.161C>T",
          "hgvs_p": "p.Ala54Val",
          "transcript": "XM_047435005.1",
          "protein_id": "XP_047290961.1",
          "transcript_support_level": null,
          "aa_start": 54,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 161,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 333,
          "cdna_end": null,
          "cdna_length": 9016,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "H6PD",
      "gene_hgnc_id": 4795,
      "dbsnp": "rs140077792",
      "frequency_reference_population": 0.000065669235,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 106,
      "gnomad_exomes_af": 0.0000636177,
      "gnomad_genomes_af": 0.0000853623,
      "gnomad_exomes_ac": 93,
      "gnomad_genomes_ac": 13,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.044099628925323486,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.044,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0833,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.57,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.194,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0,
      "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": -4,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BP4_Strong",
      "acmg_by_gene": [
        {
          "score": -4,
          "benign_score": 4,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_004285.4",
          "gene_symbol": "H6PD",
          "hgnc_id": 4795,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.161C>T",
          "hgvs_p": "p.Ala54Val"
        }
      ],
      "clinvar_disease": "not provided",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "not provided",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}