← 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: 19-29207763-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "19",
      "pos": 29207763,
      "ref": "G",
      "alt": "A",
      "effect": "stop_gained",
      "transcript": "NM_006003.3",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UQCRFS1",
          "gene_hgnc_id": 12587,
          "hgvs_c": "c.610C>T",
          "hgvs_p": "p.Arg204*",
          "transcript": "NM_006003.3",
          "protein_id": "NP_005994.2",
          "transcript_support_level": null,
          "aa_start": 204,
          "aa_end": null,
          "aa_length": 274,
          "cds_start": 610,
          "cds_end": null,
          "cds_length": 825,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000304863.6",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_006003.3"
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UQCRFS1",
          "gene_hgnc_id": 12587,
          "hgvs_c": "c.610C>T",
          "hgvs_p": "p.Arg204*",
          "transcript": "ENST00000304863.6",
          "protein_id": "ENSP00000306397.3",
          "transcript_support_level": 1,
          "aa_start": 204,
          "aa_end": null,
          "aa_length": 274,
          "cds_start": 610,
          "cds_end": null,
          "cds_length": 825,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_006003.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000304863.6"
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "UQCRFS1",
          "gene_hgnc_id": 12587,
          "hgvs_c": "c.580C>T",
          "hgvs_p": "p.Arg194*",
          "transcript": "ENST00000933914.1",
          "protein_id": "ENSP00000603973.1",
          "transcript_support_level": null,
          "aa_start": 194,
          "aa_end": null,
          "aa_length": 264,
          "cds_start": 580,
          "cds_end": null,
          "cds_length": 795,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000933914.1"
        }
      ],
      "gene_symbol": "UQCRFS1",
      "gene_hgnc_id": 12587,
      "dbsnp": "rs1242465339",
      "frequency_reference_population": 0.0000041048993,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 6,
      "gnomad_exomes_af": 0.0000041049,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 6,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.30000001192092896,
      "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.3,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 2.814,
      "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": "Uncertain_significance",
      "acmg_criteria": "PM2,PP5_Moderate",
      "acmg_by_gene": [
        {
          "score": 4,
          "benign_score": 0,
          "pathogenic_score": 4,
          "criteria": [
            "PM2",
            "PP5_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_006003.3",
          "gene_symbol": "UQCRFS1",
          "hgnc_id": 12587,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.610C>T",
          "hgvs_p": "p.Arg204*"
        }
      ],
      "clinvar_disease": " nuclear type 10,Cardiomyopathy,Lactic acidosis,Mitochondrial complex III deficiency,Propionic acidemia",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "P:1",
      "phenotype_combined": "Propionic acidemia;Cardiomyopathy;Lactic acidosis|Mitochondrial complex III deficiency, nuclear type 10",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}