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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "17",
      "pos": 7832924,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "ENST00000572933.6",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 84,
          "exon_rank_end": null,
          "exon_count": 86,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH2",
          "gene_hgnc_id": 2948,
          "hgvs_c": "c.12974C>T",
          "hgvs_p": "p.Pro4325Leu",
          "transcript": "NM_020877.5",
          "protein_id": "NP_065928.2",
          "transcript_support_level": null,
          "aa_start": 4325,
          "aa_end": null,
          "aa_length": 4427,
          "cds_start": 12974,
          "cds_end": null,
          "cds_length": 13284,
          "cdna_start": 14044,
          "cdna_end": null,
          "cdna_length": 14563,
          "mane_select": "ENST00000572933.6",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 84,
          "exon_rank_end": null,
          "exon_count": 86,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH2",
          "gene_hgnc_id": 2948,
          "hgvs_c": "c.12974C>T",
          "hgvs_p": "p.Pro4325Leu",
          "transcript": "ENST00000572933.6",
          "protein_id": "ENSP00000458355.1",
          "transcript_support_level": 2,
          "aa_start": 4325,
          "aa_end": null,
          "aa_length": 4427,
          "cds_start": 12974,
          "cds_end": null,
          "cds_length": 13284,
          "cdna_start": 14044,
          "cdna_end": null,
          "cdna_length": 14563,
          "mane_select": "NM_020877.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 83,
          "exon_rank_end": null,
          "exon_count": 85,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH2",
          "gene_hgnc_id": 2948,
          "hgvs_c": "c.12974C>T",
          "hgvs_p": "p.Pro4325Leu",
          "transcript": "ENST00000389173.6",
          "protein_id": "ENSP00000373825.2",
          "transcript_support_level": 2,
          "aa_start": 4325,
          "aa_end": null,
          "aa_length": 4427,
          "cds_start": 12974,
          "cds_end": null,
          "cds_length": 13284,
          "cdna_start": 12988,
          "cdna_end": null,
          "cdna_length": 13505,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 86,
          "exon_rank_end": null,
          "exon_count": 88,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH2",
          "gene_hgnc_id": 2948,
          "hgvs_c": "c.13220C>T",
          "hgvs_p": "p.Pro4407Leu",
          "transcript": "XM_011523663.2",
          "protein_id": "XP_011521965.1",
          "transcript_support_level": null,
          "aa_start": 4407,
          "aa_end": null,
          "aa_length": 4509,
          "cds_start": 13220,
          "cds_end": null,
          "cds_length": 13530,
          "cdna_start": 13322,
          "cdna_end": null,
          "cdna_length": 13841,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 87,
          "exon_rank_end": null,
          "exon_count": 89,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH2",
          "gene_hgnc_id": 2948,
          "hgvs_c": "c.13220C>T",
          "hgvs_p": "p.Pro4407Leu",
          "transcript": "XM_047435424.1",
          "protein_id": "XP_047291380.1",
          "transcript_support_level": null,
          "aa_start": 4407,
          "aa_end": null,
          "aa_length": 4509,
          "cds_start": 13220,
          "cds_end": null,
          "cds_length": 13530,
          "cdna_start": 13458,
          "cdna_end": null,
          "cdna_length": 13977,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 85,
          "exon_rank_end": null,
          "exon_count": 87,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH2",
          "gene_hgnc_id": 2948,
          "hgvs_c": "c.13031C>T",
          "hgvs_p": "p.Pro4344Leu",
          "transcript": "XM_047435425.1",
          "protein_id": "XP_047291381.1",
          "transcript_support_level": null,
          "aa_start": 4344,
          "aa_end": null,
          "aa_length": 4446,
          "cds_start": 13031,
          "cds_end": null,
          "cds_length": 13341,
          "cdna_start": 13133,
          "cdna_end": null,
          "cdna_length": 13652,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 85,
          "exon_rank_end": null,
          "exon_count": 87,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH2",
          "gene_hgnc_id": 2948,
          "hgvs_c": "c.12974C>T",
          "hgvs_p": "p.Pro4325Leu",
          "transcript": "XM_011523667.3",
          "protein_id": "XP_011521969.1",
          "transcript_support_level": null,
          "aa_start": 4325,
          "aa_end": null,
          "aa_length": 4427,
          "cds_start": 12974,
          "cds_end": null,
          "cds_length": 13284,
          "cdna_start": 13212,
          "cdna_end": null,
          "cdna_length": 13731,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 76,
          "exon_rank_end": null,
          "exon_count": 78,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH2",
          "gene_hgnc_id": 2948,
          "hgvs_c": "c.11612C>T",
          "hgvs_p": "p.Pro3871Leu",
          "transcript": "XM_047435426.1",
          "protein_id": "XP_047291382.1",
          "transcript_support_level": null,
          "aa_start": 3871,
          "aa_end": null,
          "aa_length": 3973,
          "cds_start": 11612,
          "cds_end": null,
          "cds_length": 11922,
          "cdna_start": 11684,
          "cdna_end": null,
          "cdna_length": 12203,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 73,
          "exon_rank_end": null,
          "exon_count": 75,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH2",
          "gene_hgnc_id": 2948,
          "hgvs_c": "c.11225C>T",
          "hgvs_p": "p.Pro3742Leu",
          "transcript": "XM_047435427.1",
          "protein_id": "XP_047291383.1",
          "transcript_support_level": null,
          "aa_start": 3742,
          "aa_end": null,
          "aa_length": 3844,
          "cds_start": 11225,
          "cds_end": null,
          "cds_length": 11535,
          "cdna_start": 11387,
          "cdna_end": null,
          "cdna_length": 11906,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 74,
          "exon_rank_end": null,
          "exon_count": 76,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH2",
          "gene_hgnc_id": 2948,
          "hgvs_c": "c.11216C>T",
          "hgvs_p": "p.Pro3739Leu",
          "transcript": "XM_047435428.1",
          "protein_id": "XP_047291384.1",
          "transcript_support_level": null,
          "aa_start": 3739,
          "aa_end": null,
          "aa_length": 3841,
          "cds_start": 11216,
          "cds_end": null,
          "cds_length": 11526,
          "cdna_start": 11370,
          "cdna_end": null,
          "cdna_length": 11889,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "DNAH2",
      "gene_hgnc_id": 2948,
      "dbsnp": "rs116930996",
      "frequency_reference_population": 0.000005472413,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 8,
      "gnomad_exomes_af": 0.00000547241,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 8,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.6645572781562805,
      "computational_prediction_selected": "Uncertain_significance",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.279,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.686,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.37,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 6.603,
      "phylop100way_prediction": "Uncertain_significance",
      "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": 2,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2",
      "acmg_by_gene": [
        {
          "score": 2,
          "benign_score": 0,
          "pathogenic_score": 2,
          "criteria": [
            "PM2"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000572933.6",
          "gene_symbol": "DNAH2",
          "hgnc_id": 2948,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.12974C>T",
          "hgvs_p": "p.Pro4325Leu"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}