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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 45507455,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "ENST00000401061.9",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "W",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MMACHC",
          "gene_hgnc_id": 24525,
          "hgvs_c": "c.181C>T",
          "hgvs_p": "p.Arg61Trp",
          "transcript": "NM_015506.3",
          "protein_id": "NP_056321.2",
          "transcript_support_level": null,
          "aa_start": 61,
          "aa_end": null,
          "aa_length": 282,
          "cds_start": 181,
          "cds_end": null,
          "cds_length": 849,
          "cdna_start": 214,
          "cdna_end": null,
          "cdna_length": 5049,
          "mane_select": "ENST00000401061.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "W",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MMACHC",
          "gene_hgnc_id": 24525,
          "hgvs_c": "c.181C>T",
          "hgvs_p": "p.Arg61Trp",
          "transcript": "ENST00000401061.9",
          "protein_id": "ENSP00000383840.4",
          "transcript_support_level": 2,
          "aa_start": 61,
          "aa_end": null,
          "aa_length": 282,
          "cds_start": 181,
          "cds_end": null,
          "cds_length": 849,
          "cdna_start": 214,
          "cdna_end": null,
          "cdna_length": 5049,
          "mane_select": "NM_015506.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "W",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MMACHC",
          "gene_hgnc_id": 24525,
          "hgvs_c": "c.10C>T",
          "hgvs_p": "p.Arg4Trp",
          "transcript": "NM_001330540.2",
          "protein_id": "NP_001317469.1",
          "transcript_support_level": null,
          "aa_start": 4,
          "aa_end": null,
          "aa_length": 225,
          "cds_start": 10,
          "cds_end": null,
          "cds_length": 678,
          "cdna_start": 265,
          "cdna_end": null,
          "cdna_length": 5100,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "W",
          "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": "MMACHC",
          "gene_hgnc_id": 24525,
          "hgvs_c": "c.10C>T",
          "hgvs_p": "p.Arg4Trp",
          "transcript": "ENST00000616135.1",
          "protein_id": "ENSP00000478859.1",
          "transcript_support_level": 2,
          "aa_start": 4,
          "aa_end": null,
          "aa_length": 225,
          "cds_start": 10,
          "cds_end": null,
          "cds_length": 678,
          "cdna_start": 173,
          "cdna_end": null,
          "cdna_length": 1510,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "MMACHC",
      "gene_hgnc_id": 24525,
      "dbsnp": "rs200483477",
      "frequency_reference_population": 0.0009633649,
      "hom_count_reference_population": 2,
      "allele_count_reference_population": 1555,
      "gnomad_exomes_af": 0.000987089,
      "gnomad_genomes_af": 0.000735584,
      "gnomad_exomes_ac": 1443,
      "gnomad_genomes_ac": 112,
      "gnomad_exomes_homalt": 1,
      "gnomad_genomes_homalt": 1,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.0777759850025177,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.332,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.1396,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.05,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 1.236,
      "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": 1,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM5,PP2,BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": 1,
          "benign_score": 2,
          "pathogenic_score": 3,
          "criteria": [
            "PM5",
            "PP2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000401061.9",
          "gene_symbol": "MMACHC",
          "hgnc_id": 24525,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.181C>T",
          "hgvs_p": "p.Arg61Trp"
        }
      ],
      "clinvar_disease": " type cblc,Cobalamin C disease,Disorders of Intracellular Cobalamin Metabolism,Inborn genetic diseases,MMACHC-related disorder,Methylmalonic acidemia with homocystinuria cblC,Methylmalonic aciduria,not provided",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:11 LB:1 O:1",
      "phenotype_combined": "not provided|Cobalamin C disease|Disorders of Intracellular Cobalamin Metabolism|Methylmalonic acidemia with homocystinuria cblC|Inborn genetic diseases|Methylmalonic aciduria, type cblc|MMACHC-related disorder",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}