← 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-16876998-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "10",
      "pos": 16876998,
      "ref": "T",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "ENST00000377833.10",
      "consequences": [
        {
          "aa_ref": "E",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 57,
          "exon_rank_end": null,
          "exon_count": 67,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CUBN",
          "gene_hgnc_id": 2548,
          "hgvs_c": "c.9005A>G",
          "hgvs_p": "p.Glu3002Gly",
          "transcript": "NM_001081.4",
          "protein_id": "NP_001072.2",
          "transcript_support_level": null,
          "aa_start": 3002,
          "aa_end": null,
          "aa_length": 3623,
          "cds_start": 9005,
          "cds_end": null,
          "cds_length": 10872,
          "cdna_start": 9051,
          "cdna_end": null,
          "cdna_length": 11927,
          "mane_select": "ENST00000377833.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "G",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 57,
          "exon_rank_end": null,
          "exon_count": 67,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CUBN",
          "gene_hgnc_id": 2548,
          "hgvs_c": "c.9005A>G",
          "hgvs_p": "p.Glu3002Gly",
          "transcript": "ENST00000377833.10",
          "protein_id": "ENSP00000367064.4",
          "transcript_support_level": 1,
          "aa_start": 3002,
          "aa_end": null,
          "aa_length": 3623,
          "cds_start": 9005,
          "cds_end": null,
          "cds_length": 10872,
          "cdna_start": 9051,
          "cdna_end": null,
          "cdna_length": 11927,
          "mane_select": "NM_001081.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 31,
          "exon_rank_end": null,
          "exon_count": 41,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CUBN",
          "gene_hgnc_id": 2548,
          "hgvs_c": "c.4991A>G",
          "hgvs_p": "p.Glu1664Gly",
          "transcript": "XM_011519709.3",
          "protein_id": "XP_011518011.1",
          "transcript_support_level": null,
          "aa_start": 1664,
          "aa_end": null,
          "aa_length": 2285,
          "cds_start": 4991,
          "cds_end": null,
          "cds_length": 6858,
          "cdna_start": 5077,
          "cdna_end": null,
          "cdna_length": 7953,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 31,
          "exon_rank_end": null,
          "exon_count": 41,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CUBN",
          "gene_hgnc_id": 2548,
          "hgvs_c": "c.4967A>G",
          "hgvs_p": "p.Glu1656Gly",
          "transcript": "XM_011519710.3",
          "protein_id": "XP_011518012.1",
          "transcript_support_level": null,
          "aa_start": 1656,
          "aa_end": null,
          "aa_length": 2277,
          "cds_start": 4967,
          "cds_end": null,
          "cds_length": 6834,
          "cdna_start": 5056,
          "cdna_end": null,
          "cdna_length": 7932,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 40,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CUBN",
          "gene_hgnc_id": 2548,
          "hgvs_c": "c.4847A>G",
          "hgvs_p": "p.Glu1616Gly",
          "transcript": "XM_011519711.4",
          "protein_id": "XP_011518013.1",
          "transcript_support_level": null,
          "aa_start": 1616,
          "aa_end": null,
          "aa_length": 2237,
          "cds_start": 4847,
          "cds_end": null,
          "cds_length": 6714,
          "cdna_start": 5035,
          "cdna_end": null,
          "cdna_length": 7911,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "CUBN",
      "gene_hgnc_id": 2548,
      "dbsnp": "rs1801240",
      "frequency_reference_population": 0.10741597,
      "hom_count_reference_population": 10219,
      "allele_count_reference_population": 173364,
      "gnomad_exomes_af": 0.105177,
      "gnomad_genomes_af": 0.128926,
      "gnomad_exomes_ac": 153749,
      "gnomad_genomes_ac": 19615,
      "gnomad_exomes_homalt": 8774,
      "gnomad_genomes_homalt": 1445,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.0023685991764068604,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.084,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.1217,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.68,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 2.834,
      "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": -20,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BA1",
      "acmg_by_gene": [
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000377833.10",
          "gene_symbol": "CUBN",
          "hgnc_id": 2548,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.9005A>G",
          "hgvs_p": "p.Glu3002Gly"
        }
      ],
      "clinvar_disease": "Imerslund-Grasbeck syndrome,Imerslund-Grasbeck syndrome type 1,not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:4",
      "phenotype_combined": "Imerslund-Grasbeck syndrome type 1|Imerslund-Grasbeck syndrome|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}