← 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: 3-52397756-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "3",
      "pos": 52397756,
      "ref": "T",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "ENST00000420323.7",
      "consequences": [
        {
          "aa_ref": "I",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 74,
          "exon_rank_end": null,
          "exon_count": 78,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH1",
          "gene_hgnc_id": 2940,
          "hgvs_c": "c.11837T>C",
          "hgvs_p": "p.Ile3946Thr",
          "transcript": "NM_015512.5",
          "protein_id": "NP_056327.4",
          "transcript_support_level": null,
          "aa_start": 3946,
          "aa_end": null,
          "aa_length": 4265,
          "cds_start": 11837,
          "cds_end": null,
          "cds_length": 12798,
          "cdna_start": 12098,
          "cdna_end": null,
          "cdna_length": 13105,
          "mane_select": "ENST00000420323.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "T",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 74,
          "exon_rank_end": null,
          "exon_count": 78,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH1",
          "gene_hgnc_id": 2940,
          "hgvs_c": "c.11837T>C",
          "hgvs_p": "p.Ile3946Thr",
          "transcript": "ENST00000420323.7",
          "protein_id": "ENSP00000401514.2",
          "transcript_support_level": 1,
          "aa_start": 3946,
          "aa_end": null,
          "aa_length": 4265,
          "cds_start": 11837,
          "cds_end": null,
          "cds_length": 12798,
          "cdna_start": 12098,
          "cdna_end": null,
          "cdna_length": 13105,
          "mane_select": "NM_015512.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 76,
          "exon_rank_end": null,
          "exon_count": 80,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH1",
          "gene_hgnc_id": 2940,
          "hgvs_c": "c.11906T>C",
          "hgvs_p": "p.Ile3969Thr",
          "transcript": "XM_017006129.2",
          "protein_id": "XP_016861618.1",
          "transcript_support_level": null,
          "aa_start": 3969,
          "aa_end": null,
          "aa_length": 4288,
          "cds_start": 11906,
          "cds_end": null,
          "cds_length": 12867,
          "cdna_start": 17146,
          "cdna_end": null,
          "cdna_length": 18153,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 75,
          "exon_rank_end": null,
          "exon_count": 79,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH1",
          "gene_hgnc_id": 2940,
          "hgvs_c": "c.11837T>C",
          "hgvs_p": "p.Ile3946Thr",
          "transcript": "XM_017006130.2",
          "protein_id": "XP_016861619.1",
          "transcript_support_level": null,
          "aa_start": 3946,
          "aa_end": null,
          "aa_length": 4265,
          "cds_start": 11837,
          "cds_end": null,
          "cds_length": 12798,
          "cdna_start": 17077,
          "cdna_end": null,
          "cdna_length": 18084,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 75,
          "exon_rank_end": null,
          "exon_count": 79,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH1",
          "gene_hgnc_id": 2940,
          "hgvs_c": "c.11780T>C",
          "hgvs_p": "p.Ile3927Thr",
          "transcript": "XM_017006131.2",
          "protein_id": "XP_016861620.1",
          "transcript_support_level": null,
          "aa_start": 3927,
          "aa_end": null,
          "aa_length": 4246,
          "cds_start": 11780,
          "cds_end": null,
          "cds_length": 12741,
          "cdna_start": 17020,
          "cdna_end": null,
          "cdna_length": 18027,
          "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": 73,
          "exon_rank_end": null,
          "exon_count": 77,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH1",
          "gene_hgnc_id": 2940,
          "hgvs_c": "n.12294T>C",
          "hgvs_p": null,
          "transcript": "ENST00000486752.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": 13300,
          "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": 21,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH1",
          "gene_hgnc_id": 2940,
          "hgvs_c": "n.3623T>C",
          "hgvs_p": null,
          "transcript": "ENST00000488988.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": 4549,
          "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": 17,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAH1",
          "gene_hgnc_id": 2940,
          "hgvs_c": "n.2537T>C",
          "hgvs_p": null,
          "transcript": "ENST00000490713.5",
          "protein_id": "ENSP00000419071.1",
          "transcript_support_level": 5,
          "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": 3408,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "DNAH1",
      "gene_hgnc_id": 2940,
      "dbsnp": "rs374798612",
      "frequency_reference_population": 0.00009295604,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 150,
      "gnomad_exomes_af": 0.0000903203,
      "gnomad_genomes_af": 0.000118265,
      "gnomad_exomes_ac": 132,
      "gnomad_genomes_ac": 18,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.664474368095398,
      "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.36,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.6694,
      "alphamissense_prediction": "Pathogenic",
      "bayesdelnoaf_score": -0.17,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 7.824,
      "phylop100way_prediction": "Pathogenic",
      "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": 0,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "",
      "acmg_by_gene": [
        {
          "score": 0,
          "benign_score": 0,
          "pathogenic_score": 0,
          "criteria": [],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000420323.7",
          "gene_symbol": "DNAH1",
          "hgnc_id": 2940,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.11837T>C",
          "hgvs_p": "p.Ile3946Thr"
        }
      ],
      "clinvar_disease": " 37, primary,Ciliary dyskinesia,Intellectual disability,Spermatogenic failure 18,not specified",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "US:3",
      "phenotype_combined": "Spermatogenic failure 18;Ciliary dyskinesia, primary, 37|not specified|Intellectual disability",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}