← 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: 10-101010552-GCGGCTACGGCTGCGGCTA-G (hg38)

Bash / cURL Example

bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=10&pos=101010552&ref=GCGGCTACGGCTGCGGCTA&alt=G&genome=hg38&allGenes=true"

API Response

json
{
  "variants": [
    {
      "chr": "10",
      "pos": 101010552,
      "ref": "GCGGCTACGGCTGCGGCTA",
      "alt": "G",
      "effect": "disruptive_inframe_deletion",
      "transcript": "ENST00000619208.6",
      "consequences": [
        {
          "aa_ref": "RSRSRSR",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDZD7",
          "gene_hgnc_id": 26257,
          "hgvs_c": "c.2319_2336delTAGCCGCAGCCGTAGCCG",
          "hgvs_p": "p.Ser774_Arg779del",
          "transcript": "NM_001195263.2",
          "protein_id": "NP_001182192.1",
          "transcript_support_level": null,
          "aa_start": 773,
          "aa_end": null,
          "aa_length": 1033,
          "cds_start": 2319,
          "cds_end": null,
          "cds_length": 3102,
          "cdna_start": 2558,
          "cdna_end": null,
          "cdna_length": 4112,
          "mane_select": "ENST00000619208.6",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "RSRSRSR",
          "aa_alt": "R",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDZD7",
          "gene_hgnc_id": 26257,
          "hgvs_c": "c.2319_2336delTAGCCGCAGCCGTAGCCG",
          "hgvs_p": "p.Ser774_Arg779del",
          "transcript": "ENST00000619208.6",
          "protein_id": "ENSP00000480489.1",
          "transcript_support_level": 5,
          "aa_start": 773,
          "aa_end": null,
          "aa_length": 1033,
          "cds_start": 2319,
          "cds_end": null,
          "cds_length": 3102,
          "cdna_start": 2558,
          "cdna_end": null,
          "cdna_length": 4112,
          "mane_select": "NM_001195263.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "RSRSRSR",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDZD7",
          "gene_hgnc_id": 26257,
          "hgvs_c": "c.2316_2333delTAGCCGCAGCCGTAGCCG",
          "hgvs_p": "p.Ser773_Arg778del",
          "transcript": "NM_001437429.1",
          "protein_id": "NP_001424358.1",
          "transcript_support_level": null,
          "aa_start": 772,
          "aa_end": null,
          "aa_length": 1032,
          "cds_start": 2316,
          "cds_end": null,
          "cds_length": 3099,
          "cdna_start": 2555,
          "cdna_end": null,
          "cdna_length": 4109,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "RSRSRSR",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDZD7",
          "gene_hgnc_id": 26257,
          "hgvs_c": "c.2319_2336delTAGCCGCAGCCGTAGCCG",
          "hgvs_p": "p.Ser774_Arg779del",
          "transcript": "XM_011540177.4",
          "protein_id": "XP_011538479.1",
          "transcript_support_level": null,
          "aa_start": 773,
          "aa_end": null,
          "aa_length": 1033,
          "cds_start": 2319,
          "cds_end": null,
          "cds_length": 3102,
          "cdna_start": 2731,
          "cdna_end": null,
          "cdna_length": 4285,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "RSRSRSR",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDZD7",
          "gene_hgnc_id": 26257,
          "hgvs_c": "c.2319_2336delTAGCCGCAGCCGTAGCCG",
          "hgvs_p": "p.Ser774_Arg779del",
          "transcript": "XM_047425767.1",
          "protein_id": "XP_047281723.1",
          "transcript_support_level": null,
          "aa_start": 773,
          "aa_end": null,
          "aa_length": 1033,
          "cds_start": 2319,
          "cds_end": null,
          "cds_length": 3102,
          "cdna_start": 3119,
          "cdna_end": null,
          "cdna_length": 4673,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDZD7",
          "gene_hgnc_id": 26257,
          "hgvs_c": "n.*2266_*2283delTAGCCGCAGCCGTAGCCG",
          "hgvs_p": null,
          "transcript": "ENST00000474125.7",
          "protein_id": "ENSP00000474447.1",
          "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": 4306,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDZD7",
          "gene_hgnc_id": 26257,
          "hgvs_c": "n.*2266_*2283delTAGCCGCAGCCGTAGCCG",
          "hgvs_p": null,
          "transcript": "ENST00000474125.7",
          "protein_id": "ENSP00000474447.1",
          "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": 4306,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDZD7",
          "gene_hgnc_id": 26257,
          "hgvs_c": "c.*281_*298delTAGCCGCAGCCGTAGCCG",
          "hgvs_p": null,
          "transcript": "XM_011540179.4",
          "protein_id": "XP_011538481.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 677,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2034,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2835,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "PDZD7",
      "gene_hgnc_id": 26257,
      "dbsnp": "rs397516634",
      "frequency_reference_population": 0.009949306,
      "hom_count_reference_population": 120,
      "allele_count_reference_population": 15171,
      "gnomad_exomes_af": 0.0103048,
      "gnomad_genomes_af": 0.00673128,
      "gnomad_exomes_ac": 14150,
      "gnomad_genomes_ac": 1021,
      "gnomad_exomes_homalt": 115,
      "gnomad_genomes_homalt": 5,
      "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": 2.361,
      "phylop100way_prediction": "Benign",
      "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": -17,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP3,BP6_Very_Strong,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -17,
          "benign_score": 17,
          "pathogenic_score": 0,
          "criteria": [
            "BP3",
            "BP6_Very_Strong",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000619208.6",
          "gene_symbol": "PDZD7",
          "hgnc_id": 26257,
          "effects": [
            "disruptive_inframe_deletion"
          ],
          "inheritance_mode": "AR,Unknown",
          "hgvs_c": "c.2319_2336delTAGCCGCAGCCGTAGCCG",
          "hgvs_p": "p.Ser774_Arg779del"
        }
      ],
      "clinvar_disease": "PDZD7-related disorder,not provided,not specified",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:3 B:3",
      "phenotype_combined": "not specified|not provided|PDZD7-related disorder",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}