← 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: 4-3074876-CCAGCAG-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "4",
      "pos": 3074876,
      "ref": "CCAGCAG",
      "alt": "C",
      "effect": "disruptive_inframe_deletion",
      "transcript": "ENST00000355072.11",
      "consequences": [
        {
          "aa_ref": "QQQ",
          "aa_alt": "Q",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 67,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HTT",
          "gene_hgnc_id": 4851,
          "hgvs_c": "c.105_110delGCAGCA",
          "hgvs_p": "p.Gln36_Gln37del",
          "transcript": "NM_001388492.1",
          "protein_id": "NP_001375421.1",
          "transcript_support_level": null,
          "aa_start": 35,
          "aa_end": null,
          "aa_length": 3142,
          "cds_start": 105,
          "cds_end": null,
          "cds_length": 9429,
          "cdna_start": 250,
          "cdna_end": null,
          "cdna_length": 13472,
          "mane_select": "ENST00000355072.11",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "QQQ",
          "aa_alt": "Q",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 67,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HTT",
          "gene_hgnc_id": 4851,
          "hgvs_c": "c.105_110delGCAGCA",
          "hgvs_p": "p.Gln36_Gln37del",
          "transcript": "ENST00000355072.11",
          "protein_id": "ENSP00000347184.5",
          "transcript_support_level": 1,
          "aa_start": 35,
          "aa_end": null,
          "aa_length": 3142,
          "cds_start": 105,
          "cds_end": null,
          "cds_length": 9429,
          "cdna_start": 250,
          "cdna_end": null,
          "cdna_length": 13472,
          "mane_select": "NM_001388492.1",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "QQQ",
          "aa_alt": "Q",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 67,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HTT",
          "gene_hgnc_id": 4851,
          "hgvs_c": "c.105_110delGCAGCA",
          "hgvs_p": "p.Gln36_Gln37del",
          "transcript": "NM_002111.8",
          "protein_id": "NP_002102.4",
          "transcript_support_level": null,
          "aa_start": 35,
          "aa_end": null,
          "aa_length": 3142,
          "cds_start": 105,
          "cds_end": null,
          "cds_length": 9429,
          "cdna_start": 250,
          "cdna_end": null,
          "cdna_length": 13475,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 41,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "HTT",
          "gene_hgnc_id": 4851,
          "hgvs_c": "n.250_255delGCAGCA",
          "hgvs_p": null,
          "transcript": "ENST00000680291.1",
          "protein_id": null,
          "transcript_support_level": null,
          "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": 7184,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 68,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "HTT",
          "gene_hgnc_id": 4851,
          "hgvs_c": "c.6-12009_6-12004delGCAGCA",
          "hgvs_p": null,
          "transcript": "ENST00000681528.1",
          "protein_id": "ENSP00000506116.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 3086,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 9261,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 14033,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 67,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "HTT",
          "gene_hgnc_id": 4851,
          "hgvs_c": "c.6-12009_6-12004delGCAGCA",
          "hgvs_p": null,
          "transcript": "ENST00000680956.1",
          "protein_id": "ENSP00000506029.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 3056,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 9171,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 13943,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "HTT",
          "gene_hgnc_id": 4851,
          "hgvs_c": "n.504-12009_504-12004delGCAGCA",
          "hgvs_p": null,
          "transcript": "ENST00000649900.1",
          "protein_id": null,
          "transcript_support_level": null,
          "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": 587,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 67,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "HTT",
          "gene_hgnc_id": 4851,
          "hgvs_c": "n.6-12009_6-12004delGCAGCA",
          "hgvs_p": null,
          "transcript": "ENST00000680239.1",
          "protein_id": "ENSP00000506169.1",
          "transcript_support_level": null,
          "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": 13834,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 67,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "HTT",
          "gene_hgnc_id": 4851,
          "hgvs_c": "n.6-12009_6-12004delGCAGCA",
          "hgvs_p": null,
          "transcript": "ENST00000680360.1",
          "protein_id": "ENSP00000505014.1",
          "transcript_support_level": null,
          "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": 13984,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "HTT",
      "gene_hgnc_id": 4851,
      "dbsnp": "rs71180116",
      "frequency_reference_population": 0.24482615,
      "hom_count_reference_population": 35626,
      "allele_count_reference_population": 330270,
      "gnomad_exomes_af": 0.249314,
      "gnomad_genomes_af": 0.20318,
      "gnomad_exomes_ac": 303610,
      "gnomad_genomes_ac": 26660,
      "gnomad_exomes_homalt": 32357,
      "gnomad_genomes_homalt": 3269,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": null,
      "splice_prediction_selected": null,
      "splice_source_selected": null,
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": 5.65,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": null,
      "spliceai_max_prediction": null,
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -9,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP6,BA1",
      "acmg_by_gene": [
        {
          "score": -9,
          "benign_score": 9,
          "pathogenic_score": 0,
          "criteria": [
            "BP6",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000355072.11",
          "gene_symbol": "HTT",
          "hgnc_id": 4851,
          "effects": [
            "disruptive_inframe_deletion"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.105_110delGCAGCA",
          "hgvs_p": "p.Gln36_Gln37del"
        }
      ],
      "clinvar_disease": "not provided,not specified",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "not specified|not provided",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}