← 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: 17-11854239-C-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "17",
      "pos": 11854239,
      "ref": "C",
      "alt": "A",
      "effect": "synonymous_variant",
      "transcript": "ENST00000262442.9",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 50,
          "exon_rank_end": null,
          "exon_count": 69,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH9",
          "gene_hgnc_id": 2953,
          "hgvs_c": "c.9744C>A",
          "hgvs_p": "p.Pro3248Pro",
          "transcript": "NM_001372.4",
          "protein_id": "NP_001363.2",
          "transcript_support_level": null,
          "aa_start": 3248,
          "aa_end": null,
          "aa_length": 4486,
          "cds_start": 9744,
          "cds_end": null,
          "cds_length": 13461,
          "cdna_start": 9773,
          "cdna_end": null,
          "cdna_length": 13711,
          "mane_select": "ENST00000262442.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 50,
          "exon_rank_end": null,
          "exon_count": 69,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH9",
          "gene_hgnc_id": 2953,
          "hgvs_c": "c.9744C>A",
          "hgvs_p": "p.Pro3248Pro",
          "transcript": "ENST00000262442.9",
          "protein_id": "ENSP00000262442.3",
          "transcript_support_level": 1,
          "aa_start": 3248,
          "aa_end": null,
          "aa_length": 4486,
          "cds_start": 9744,
          "cds_end": null,
          "cds_length": 13461,
          "cdna_start": 9773,
          "cdna_end": null,
          "cdna_length": 13711,
          "mane_select": "NM_001372.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 50,
          "exon_rank_end": null,
          "exon_count": 68,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH9",
          "gene_hgnc_id": 2953,
          "hgvs_c": "c.9744C>A",
          "hgvs_p": "p.Pro3248Pro",
          "transcript": "ENST00000454412.6",
          "protein_id": "ENSP00000414874.2",
          "transcript_support_level": 5,
          "aa_start": 3248,
          "aa_end": null,
          "aa_length": 4410,
          "cds_start": 9744,
          "cds_end": null,
          "cds_length": 13233,
          "cdna_start": 9744,
          "cdna_end": null,
          "cdna_length": 13452,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH9",
          "gene_hgnc_id": 2953,
          "hgvs_c": "c.186C>A",
          "hgvs_p": "p.Pro62Pro",
          "transcript": "ENST00000579703.1",
          "protein_id": "ENSP00000463622.2",
          "transcript_support_level": 3,
          "aa_start": 62,
          "aa_end": null,
          "aa_length": 283,
          "cds_start": 186,
          "cds_end": null,
          "cds_length": 854,
          "cdna_start": 186,
          "cdna_end": null,
          "cdna_length": 854,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 50,
          "exon_rank_end": null,
          "exon_count": 70,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH9",
          "gene_hgnc_id": 2953,
          "hgvs_c": "c.9744C>A",
          "hgvs_p": "p.Pro3248Pro",
          "transcript": "XM_011523703.3",
          "protein_id": "XP_011522005.1",
          "transcript_support_level": null,
          "aa_start": 3248,
          "aa_end": null,
          "aa_length": 4501,
          "cds_start": 9744,
          "cds_end": null,
          "cds_length": 13506,
          "cdna_start": 9773,
          "cdna_end": null,
          "cdna_length": 13756,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 49,
          "exon_rank_end": null,
          "exon_count": 69,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH9",
          "gene_hgnc_id": 2953,
          "hgvs_c": "c.9627C>A",
          "hgvs_p": "p.Pro3209Pro",
          "transcript": "XM_017024292.3",
          "protein_id": "XP_016879781.1",
          "transcript_support_level": null,
          "aa_start": 3209,
          "aa_end": null,
          "aa_length": 4462,
          "cds_start": 9627,
          "cds_end": null,
          "cds_length": 13389,
          "cdna_start": 9656,
          "cdna_end": null,
          "cdna_length": 13639,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 39,
          "exon_rank_end": null,
          "exon_count": 59,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH9",
          "gene_hgnc_id": 2953,
          "hgvs_c": "c.7626C>A",
          "hgvs_p": "p.Pro2542Pro",
          "transcript": "XM_017024293.2",
          "protein_id": "XP_016879782.1",
          "transcript_support_level": null,
          "aa_start": 2542,
          "aa_end": null,
          "aa_length": 3795,
          "cds_start": 7626,
          "cds_end": null,
          "cds_length": 11388,
          "cdna_start": 7720,
          "cdna_end": null,
          "cdna_length": 11703,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 50,
          "exon_rank_end": null,
          "exon_count": 53,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH9",
          "gene_hgnc_id": 2953,
          "hgvs_c": "c.9744C>A",
          "hgvs_p": "p.Pro3248Pro",
          "transcript": "XM_017024294.2",
          "protein_id": "XP_016879783.1",
          "transcript_support_level": null,
          "aa_start": 3248,
          "aa_end": null,
          "aa_length": 3362,
          "cds_start": 9744,
          "cds_end": null,
          "cds_length": 10089,
          "cdna_start": 9773,
          "cdna_end": null,
          "cdna_length": 10217,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH9",
          "gene_hgnc_id": 2953,
          "hgvs_c": "n.291C>A",
          "hgvs_p": null,
          "transcript": "ENST00000578834.1",
          "protein_id": null,
          "transcript_support_level": 4,
          "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": 542,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "DNAH9",
      "gene_hgnc_id": 2953,
      "dbsnp": "rs12449553",
      "frequency_reference_population": 0.0000074350273,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 12,
      "gnomad_exomes_af": 0.00000615641,
      "gnomad_genomes_af": 0.0000197252,
      "gnomad_exomes_ac": 9,
      "gnomad_genomes_ac": 3,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8299999833106995,
      "computational_prediction_selected": "Benign",
      "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.83,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -4.909,
      "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": -5,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BP4_Strong,BP7",
      "acmg_by_gene": [
        {
          "score": -5,
          "benign_score": 5,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP7"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000262442.9",
          "gene_symbol": "DNAH9",
          "hgnc_id": 2953,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.9744C>A",
          "hgvs_p": "p.Pro3248Pro"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}