← 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: 9-34520701-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "9",
      "pos": 34520701,
      "ref": "T",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "ENST00000242317.9",
      "consequences": [
        {
          "aa_ref": "I",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAI1",
          "gene_hgnc_id": 2954,
          "hgvs_c": "c.2045T>C",
          "hgvs_p": "p.Ile682Thr",
          "transcript": "NM_012144.4",
          "protein_id": "NP_036276.1",
          "transcript_support_level": null,
          "aa_start": 682,
          "aa_end": null,
          "aa_length": 699,
          "cds_start": 2045,
          "cds_end": null,
          "cds_length": 2100,
          "cdna_start": 2246,
          "cdna_end": null,
          "cdna_length": 2529,
          "mane_select": "ENST00000242317.9",
          "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": 20,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAI1",
          "gene_hgnc_id": 2954,
          "hgvs_c": "c.2045T>C",
          "hgvs_p": "p.Ile682Thr",
          "transcript": "ENST00000242317.9",
          "protein_id": "ENSP00000242317.4",
          "transcript_support_level": 1,
          "aa_start": 682,
          "aa_end": null,
          "aa_length": 699,
          "cds_start": 2045,
          "cds_end": null,
          "cds_length": 2100,
          "cdna_start": 2246,
          "cdna_end": null,
          "cdna_length": 2529,
          "mane_select": "NM_012144.4",
          "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": 20,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAI1",
          "gene_hgnc_id": 2954,
          "hgvs_c": "c.2057T>C",
          "hgvs_p": "p.Ile686Thr",
          "transcript": "NM_001281428.2",
          "protein_id": "NP_001268357.1",
          "transcript_support_level": null,
          "aa_start": 686,
          "aa_end": null,
          "aa_length": 703,
          "cds_start": 2057,
          "cds_end": null,
          "cds_length": 2112,
          "cdna_start": 2258,
          "cdna_end": null,
          "cdna_length": 2541,
          "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": 20,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAI1",
          "gene_hgnc_id": 2954,
          "hgvs_c": "c.2057T>C",
          "hgvs_p": "p.Ile686Thr",
          "transcript": "ENST00000614641.4",
          "protein_id": "ENSP00000480538.1",
          "transcript_support_level": 5,
          "aa_start": 686,
          "aa_end": null,
          "aa_length": 703,
          "cds_start": 2057,
          "cds_end": null,
          "cds_length": 2112,
          "cdna_start": 2311,
          "cdna_end": null,
          "cdna_length": 2598,
          "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": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DNAI1",
          "gene_hgnc_id": 2954,
          "hgvs_c": "c.371T>C",
          "hgvs_p": "p.Ile124Thr",
          "transcript": "ENST00000442556.1",
          "protein_id": "ENSP00000408129.1",
          "transcript_support_level": 5,
          "aa_start": 124,
          "aa_end": null,
          "aa_length": 141,
          "cds_start": 371,
          "cds_end": null,
          "cds_length": 426,
          "cdna_start": 373,
          "cdna_end": null,
          "cdna_length": 656,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "DNAI1",
      "gene_hgnc_id": 2954,
      "dbsnp": "rs138460682",
      "frequency_reference_population": 0.000055426655,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 86,
      "gnomad_exomes_af": 0.0000457327,
      "gnomad_genomes_af": 0.000144581,
      "gnomad_exomes_ac": 64,
      "gnomad_genomes_ac": 22,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.1593487560749054,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.388,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.107,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.25,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 5.183,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0.01,
      "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": "Likely_benign",
      "acmg_criteria": "BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": -2,
          "benign_score": 2,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000242317.9",
          "gene_symbol": "DNAI1",
          "hgnc_id": 2954,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.2045T>C",
          "hgvs_p": "p.Ile682Thr"
        }
      ],
      "clinvar_disease": "DNAI1-related disorder,Primary ciliary dyskinesia",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "US:3",
      "phenotype_combined": "Primary ciliary dyskinesia|DNAI1-related disorder",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}