← 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: 5-141573996-TGGAGGAGGAGGAGGA-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "5",
      "pos": 141573996,
      "ref": "TGGAGGAGGAGGAGGA",
      "alt": "T",
      "effect": "disruptive_inframe_deletion",
      "transcript": "ENST00000647433.1",
      "consequences": [
        {
          "aa_ref": "PPPPPP",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DIAPH1",
          "gene_hgnc_id": 2876,
          "hgvs_c": "c.1839_1853delTCCTCCTCCTCCTCC",
          "hgvs_p": "p.Pro614_Pro618del",
          "transcript": "NM_005219.5",
          "protein_id": "NP_005210.3",
          "transcript_support_level": null,
          "aa_start": 613,
          "aa_end": null,
          "aa_length": 1272,
          "cds_start": 1839,
          "cds_end": null,
          "cds_length": 3819,
          "cdna_start": 1939,
          "cdna_end": null,
          "cdna_length": 5735,
          "mane_select": "ENST00000389054.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "PPPPPP",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DIAPH1",
          "gene_hgnc_id": 2876,
          "hgvs_c": "c.1839_1853delTCCTCCTCCTCCTCC",
          "hgvs_p": "p.Pro614_Pro618del",
          "transcript": "ENST00000389054.8",
          "protein_id": "ENSP00000373706.4",
          "transcript_support_level": 5,
          "aa_start": 613,
          "aa_end": null,
          "aa_length": 1272,
          "cds_start": 1839,
          "cds_end": null,
          "cds_length": 3819,
          "cdna_start": 1939,
          "cdna_end": null,
          "cdna_length": 5735,
          "mane_select": "NM_005219.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "PPPPPP",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DIAPH1",
          "gene_hgnc_id": 2876,
          "hgvs_c": "c.1812_1826delTCCTCCTCCTCCTCC",
          "hgvs_p": "p.Pro605_Pro609del",
          "transcript": "ENST00000518047.5",
          "protein_id": "ENSP00000428268.2",
          "transcript_support_level": 5,
          "aa_start": 604,
          "aa_end": null,
          "aa_length": 1263,
          "cds_start": 1812,
          "cds_end": null,
          "cds_length": 3792,
          "cdna_start": 1826,
          "cdna_end": null,
          "cdna_length": 4668,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "PPPPPP",
          "aa_alt": "P",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 29,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DIAPH1",
          "gene_hgnc_id": 2876,
          "hgvs_c": "c.1839_1853delTCCTCCTCCTCCTCC",
          "hgvs_p": "p.Pro614_Pro618del",
          "transcript": "ENST00000647433.1",
          "protein_id": "ENSP00000494675.1",
          "transcript_support_level": null,
          "aa_start": 613,
          "aa_end": null,
          "aa_length": 1250,
          "cds_start": 1839,
          "cds_end": null,
          "cds_length": 3753,
          "cdna_start": 1994,
          "cdna_end": null,
          "cdna_length": 5843,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "PPPPPP",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DIAPH1",
          "gene_hgnc_id": 2876,
          "hgvs_c": "c.1812_1826delTCCTCCTCCTCCTCC",
          "hgvs_p": "p.Pro605_Pro609del",
          "transcript": "NM_001079812.3",
          "protein_id": "NP_001073280.1",
          "transcript_support_level": null,
          "aa_start": 604,
          "aa_end": null,
          "aa_length": 1263,
          "cds_start": 1812,
          "cds_end": null,
          "cds_length": 3792,
          "cdna_start": 1912,
          "cdna_end": null,
          "cdna_length": 5708,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "PPPPPP",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 29,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DIAPH1",
          "gene_hgnc_id": 2876,
          "hgvs_c": "c.1839_1853delTCCTCCTCCTCCTCC",
          "hgvs_p": "p.Pro614_Pro618del",
          "transcript": "NM_001314007.2",
          "protein_id": "NP_001300936.1",
          "transcript_support_level": null,
          "aa_start": 613,
          "aa_end": null,
          "aa_length": 1250,
          "cds_start": 1839,
          "cds_end": null,
          "cds_length": 3753,
          "cdna_start": 1939,
          "cdna_end": null,
          "cdna_length": 5788,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "PPPPPP",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DIAPH1",
          "gene_hgnc_id": 2876,
          "hgvs_c": "c.1803_1817delTCCTCCTCCTCCTCC",
          "hgvs_p": "p.Pro602_Pro606del",
          "transcript": "XM_047416884.1",
          "protein_id": "XP_047272840.1",
          "transcript_support_level": null,
          "aa_start": 601,
          "aa_end": null,
          "aa_length": 1260,
          "cds_start": 1803,
          "cds_end": null,
          "cds_length": 3783,
          "cdna_start": 2585,
          "cdna_end": null,
          "cdna_length": 6381,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "PPPPPP",
          "aa_alt": "P",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DIAPH1",
          "gene_hgnc_id": 2876,
          "hgvs_c": "c.1773_1787delTCCTCCTCCTCCTCC",
          "hgvs_p": "p.Pro592_Pro596del",
          "transcript": "XM_047416885.1",
          "protein_id": "XP_047272841.1",
          "transcript_support_level": null,
          "aa_start": 591,
          "aa_end": null,
          "aa_length": 1250,
          "cds_start": 1773,
          "cds_end": null,
          "cds_length": 3753,
          "cdna_start": 2039,
          "cdna_end": null,
          "cdna_length": 5835,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "DIAPH1",
          "gene_hgnc_id": 2876,
          "hgvs_c": "n.*1066_*1080delTCCTCCTCCTCCTCC",
          "hgvs_p": null,
          "transcript": "ENST00000647330.1",
          "protein_id": "ENSP00000494308.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": 1795,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "DIAPH1",
      "gene_hgnc_id": 2876,
      "dbsnp": "rs3075570",
      "frequency_reference_population": 0.00002844145,
      "hom_count_reference_population": 1,
      "allele_count_reference_population": 43,
      "gnomad_exomes_af": 0.0000288531,
      "gnomad_genomes_af": 0.0000238956,
      "gnomad_exomes_ac": 40,
      "gnomad_genomes_ac": 3,
      "gnomad_exomes_homalt": 1,
      "gnomad_genomes_homalt": 0,
      "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": 4.525,
      "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": -1,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BP3",
      "acmg_by_gene": [
        {
          "score": -1,
          "benign_score": 1,
          "pathogenic_score": 0,
          "criteria": [
            "BP3"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000647433.1",
          "gene_symbol": "DIAPH1",
          "hgnc_id": 2876,
          "effects": [
            "disruptive_inframe_deletion"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.1839_1853delTCCTCCTCCTCCTCC",
          "hgvs_p": "p.Pro614_Pro618del"
        }
      ],
      "clinvar_disease": "Autosomal dominant nonsyndromic hearing loss 1,Progressive microcephaly-seizures-cortical blindness-developmental delay syndrome,not provided",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "US:2",
      "phenotype_combined": "Autosomal dominant nonsyndromic hearing loss 1;Progressive microcephaly-seizures-cortical blindness-developmental delay syndrome|not provided",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}