← 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: 10-16984171-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "10",
      "pos": 16984171,
      "ref": "G",
      "alt": "A",
      "effect": "stop_gained",
      "transcript": "ENST00000377833.10",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 67,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CUBN",
          "gene_hgnc_id": 2548,
          "hgvs_c": "c.4459C>T",
          "hgvs_p": "p.Arg1487*",
          "transcript": "NM_001081.4",
          "protein_id": "NP_001072.2",
          "transcript_support_level": null,
          "aa_start": 1487,
          "aa_end": null,
          "aa_length": 3623,
          "cds_start": 4459,
          "cds_end": null,
          "cds_length": 10872,
          "cdna_start": 4505,
          "cdna_end": null,
          "cdna_length": 11927,
          "mane_select": "ENST00000377833.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 67,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CUBN",
          "gene_hgnc_id": 2548,
          "hgvs_c": "c.4459C>T",
          "hgvs_p": "p.Arg1487*",
          "transcript": "ENST00000377833.10",
          "protein_id": "ENSP00000367064.4",
          "transcript_support_level": 1,
          "aa_start": 1487,
          "aa_end": null,
          "aa_length": 3623,
          "cds_start": 4459,
          "cds_end": null,
          "cds_length": 10872,
          "cdna_start": 4505,
          "cdna_end": null,
          "cdna_length": 11927,
          "mane_select": "NM_001081.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 55,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CUBN",
          "gene_hgnc_id": 2548,
          "hgvs_c": "c.4459C>T",
          "hgvs_p": "p.Arg1487*",
          "transcript": "XM_011519708.3",
          "protein_id": "XP_011518010.1",
          "transcript_support_level": null,
          "aa_start": 1487,
          "aa_end": null,
          "aa_length": 2867,
          "cds_start": 4459,
          "cds_end": null,
          "cds_length": 8604,
          "cdna_start": 4505,
          "cdna_end": null,
          "cdna_length": 8890,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 41,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CUBN",
          "gene_hgnc_id": 2548,
          "hgvs_c": "c.445C>T",
          "hgvs_p": "p.Arg149*",
          "transcript": "XM_011519709.3",
          "protein_id": "XP_011518011.1",
          "transcript_support_level": null,
          "aa_start": 149,
          "aa_end": null,
          "aa_length": 2285,
          "cds_start": 445,
          "cds_end": null,
          "cds_length": 6858,
          "cdna_start": 531,
          "cdna_end": null,
          "cdna_length": 7953,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 41,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CUBN",
          "gene_hgnc_id": 2548,
          "hgvs_c": "c.421C>T",
          "hgvs_p": "p.Arg141*",
          "transcript": "XM_011519710.3",
          "protein_id": "XP_011518012.1",
          "transcript_support_level": null,
          "aa_start": 141,
          "aa_end": null,
          "aa_length": 2277,
          "cds_start": 421,
          "cds_end": null,
          "cds_length": 6834,
          "cdna_start": 510,
          "cdna_end": null,
          "cdna_length": 7932,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 40,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CUBN",
          "gene_hgnc_id": 2548,
          "hgvs_c": "c.301C>T",
          "hgvs_p": "p.Arg101*",
          "transcript": "XM_011519711.4",
          "protein_id": "XP_011518013.1",
          "transcript_support_level": null,
          "aa_start": 101,
          "aa_end": null,
          "aa_length": 2237,
          "cds_start": 301,
          "cds_end": null,
          "cds_length": 6714,
          "cdna_start": 489,
          "cdna_end": null,
          "cdna_length": 7911,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CUBN",
          "gene_hgnc_id": 2548,
          "hgvs_c": "n.25C>T",
          "hgvs_p": null,
          "transcript": "ENST00000438254.1",
          "protein_id": null,
          "transcript_support_level": 3,
          "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": 599,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "CUBN",
      "gene_hgnc_id": 2548,
      "dbsnp": "rs145661597",
      "frequency_reference_population": 0.000099751676,
      "hom_count_reference_population": 1,
      "allele_count_reference_population": 161,
      "gnomad_exomes_af": 0.0000998709,
      "gnomad_genomes_af": 0.0000986064,
      "gnomad_exomes_ac": 146,
      "gnomad_genomes_ac": 15,
      "gnomad_exomes_homalt": 1,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.6200000047683716,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.62,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 6.109,
      "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": 16,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 16,
          "benign_score": 0,
          "pathogenic_score": 16,
          "criteria": [
            "PVS1",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000377833.10",
          "gene_symbol": "CUBN",
          "hgnc_id": 2548,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.4459C>T",
          "hgvs_p": "p.Arg1487*"
        }
      ],
      "clinvar_disease": " chronic benign,Imerslund-Grasbeck syndrome,Imerslund-Grasbeck syndrome type 1,Proteinuria,not provided",
      "clinvar_classification": "Pathogenic/Likely pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:2 LP:2",
      "phenotype_combined": "Imerslund-Grasbeck syndrome|not provided|Proteinuria, chronic benign;Imerslund-Grasbeck syndrome type 1|Imerslund-Grasbeck syndrome type 1",
      "pathogenicity_classification_combined": "Pathogenic/Likely pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}