← 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-9245061-T-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 9245061,
      "ref": "T",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "NM_004285.4",
      "consequences": [
        {
          "aa_ref": "W",
          "aa_alt": "G",
          "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.127T>G",
          "hgvs_p": "p.Trp43Gly",
          "transcript": "NM_004285.4",
          "protein_id": "NP_004276.2",
          "transcript_support_level": null,
          "aa_start": 43,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 127,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 430,
          "cdna_end": null,
          "cdna_length": 9147,
          "mane_select": "ENST00000377403.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "G",
          "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.127T>G",
          "hgvs_p": "p.Trp43Gly",
          "transcript": "ENST00000377403.7",
          "protein_id": "ENSP00000366620.2",
          "transcript_support_level": 1,
          "aa_start": 43,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 127,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 430,
          "cdna_end": null,
          "cdna_length": 9147,
          "mane_select": "NM_004285.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "G",
          "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.160T>G",
          "hgvs_p": "p.Trp54Gly",
          "transcript": "ENST00000602477.1",
          "protein_id": "ENSP00000473348.1",
          "transcript_support_level": 1,
          "aa_start": 54,
          "aa_end": null,
          "aa_length": 802,
          "cds_start": 160,
          "cds_end": null,
          "cds_length": 2409,
          "cdna_start": 312,
          "cdna_end": null,
          "cdna_length": 5590,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "G",
          "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.160T>G",
          "hgvs_p": "p.Trp54Gly",
          "transcript": "NM_001282587.2",
          "protein_id": "NP_001269516.1",
          "transcript_support_level": null,
          "aa_start": 54,
          "aa_end": null,
          "aa_length": 802,
          "cds_start": 160,
          "cds_end": null,
          "cds_length": 2409,
          "cdna_start": 309,
          "cdna_end": null,
          "cdna_length": 9026,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "G",
          "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.160T>G",
          "hgvs_p": "p.Trp54Gly",
          "transcript": "XM_047435002.1",
          "protein_id": "XP_047290958.1",
          "transcript_support_level": null,
          "aa_start": 54,
          "aa_end": null,
          "aa_length": 802,
          "cds_start": 160,
          "cds_end": null,
          "cds_length": 2409,
          "cdna_start": 634,
          "cdna_end": null,
          "cdna_length": 9351,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "G",
          "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.154T>G",
          "hgvs_p": "p.Trp52Gly",
          "transcript": "XM_005263540.6",
          "protein_id": "XP_005263597.1",
          "transcript_support_level": null,
          "aa_start": 52,
          "aa_end": null,
          "aa_length": 800,
          "cds_start": 154,
          "cds_end": null,
          "cds_length": 2403,
          "cdna_start": 285,
          "cdna_end": null,
          "cdna_length": 9002,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "G",
          "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.148T>G",
          "hgvs_p": "p.Trp50Gly",
          "transcript": "XM_047435003.1",
          "protein_id": "XP_047290959.1",
          "transcript_support_level": null,
          "aa_start": 50,
          "aa_end": null,
          "aa_length": 798,
          "cds_start": 148,
          "cds_end": null,
          "cds_length": 2397,
          "cdna_start": 279,
          "cdna_end": null,
          "cdna_length": 8996,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "G",
          "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.127T>G",
          "hgvs_p": "p.Trp43Gly",
          "transcript": "XM_006711052.5",
          "protein_id": "XP_006711115.1",
          "transcript_support_level": null,
          "aa_start": 43,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 127,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 422,
          "cdna_end": null,
          "cdna_length": 9139,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "G",
          "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.127T>G",
          "hgvs_p": "p.Trp43Gly",
          "transcript": "XM_017002865.3",
          "protein_id": "XP_016858354.1",
          "transcript_support_level": null,
          "aa_start": 43,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 127,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 301,
          "cdna_end": null,
          "cdna_length": 9018,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "G",
          "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.127T>G",
          "hgvs_p": "p.Trp43Gly",
          "transcript": "XM_047435005.1",
          "protein_id": "XP_047290961.1",
          "transcript_support_level": null,
          "aa_start": 43,
          "aa_end": null,
          "aa_length": 791,
          "cds_start": 127,
          "cds_end": null,
          "cds_length": 2376,
          "cdna_start": 299,
          "cdna_end": null,
          "cdna_length": 9016,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "H6PD",
      "gene_hgnc_id": 4795,
      "dbsnp": "rs771086344",
      "frequency_reference_population": 0.000002478146,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 4,
      "gnomad_exomes_af": 0.00000136809,
      "gnomad_genomes_af": 0.0000131389,
      "gnomad_exomes_ac": 2,
      "gnomad_genomes_ac": 2,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.951494038105011,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.928,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.5479,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.5,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 7.308,
      "phylop100way_prediction": "Uncertain_significance",
      "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": 6,
      "acmg_classification": "Likely_pathogenic",
      "acmg_criteria": "PM2,PP3_Strong",
      "acmg_by_gene": [
        {
          "score": 6,
          "benign_score": 0,
          "pathogenic_score": 6,
          "criteria": [
            "PM2",
            "PP3_Strong"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "NM_004285.4",
          "gene_symbol": "H6PD",
          "hgnc_id": 4795,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.127T>G",
          "hgvs_p": "p.Trp43Gly"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}