← 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: 4-121839688-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "4",
      "pos": 121839688,
      "ref": "G",
      "alt": "A",
      "effect": "synonymous_variant",
      "transcript": "ENST00000264499.9",
      "consequences": [
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "BBS7",
          "gene_hgnc_id": 18758,
          "hgvs_c": "c.1314C>T",
          "hgvs_p": "p.Asp438Asp",
          "transcript": "NM_176824.3",
          "protein_id": "NP_789794.1",
          "transcript_support_level": null,
          "aa_start": 438,
          "aa_end": null,
          "aa_length": 715,
          "cds_start": 1314,
          "cds_end": null,
          "cds_length": 2148,
          "cdna_start": 1475,
          "cdna_end": null,
          "cdna_length": 3840,
          "mane_select": "ENST00000264499.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "BBS7",
          "gene_hgnc_id": 18758,
          "hgvs_c": "c.1314C>T",
          "hgvs_p": "p.Asp438Asp",
          "transcript": "ENST00000264499.9",
          "protein_id": "ENSP00000264499.4",
          "transcript_support_level": 1,
          "aa_start": 438,
          "aa_end": null,
          "aa_length": 715,
          "cds_start": 1314,
          "cds_end": null,
          "cds_length": 2148,
          "cdna_start": 1475,
          "cdna_end": null,
          "cdna_length": 3840,
          "mane_select": "NM_176824.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "BBS7",
          "gene_hgnc_id": 18758,
          "hgvs_c": "c.1314C>T",
          "hgvs_p": "p.Asp438Asp",
          "transcript": "ENST00000506636.1",
          "protein_id": "ENSP00000423626.1",
          "transcript_support_level": 1,
          "aa_start": 438,
          "aa_end": null,
          "aa_length": 672,
          "cds_start": 1314,
          "cds_end": null,
          "cds_length": 2019,
          "cdna_start": 1451,
          "cdna_end": null,
          "cdna_length": 2570,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "BBS7",
          "gene_hgnc_id": 18758,
          "hgvs_c": "c.1314C>T",
          "hgvs_p": "p.Asp438Asp",
          "transcript": "NM_018190.4",
          "protein_id": "NP_060660.2",
          "transcript_support_level": null,
          "aa_start": 438,
          "aa_end": null,
          "aa_length": 672,
          "cds_start": 1314,
          "cds_end": null,
          "cds_length": 2019,
          "cdna_start": 1475,
          "cdna_end": null,
          "cdna_length": 2594,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "BBS7",
          "gene_hgnc_id": 18758,
          "hgvs_c": "c.1362C>T",
          "hgvs_p": "p.Asp454Asp",
          "transcript": "XM_011532079.4",
          "protein_id": "XP_011530381.1",
          "transcript_support_level": null,
          "aa_start": 454,
          "aa_end": null,
          "aa_length": 731,
          "cds_start": 1362,
          "cds_end": null,
          "cds_length": 2196,
          "cdna_start": 1523,
          "cdna_end": null,
          "cdna_length": 3888,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "BBS7",
          "gene_hgnc_id": 18758,
          "hgvs_c": "c.1359C>T",
          "hgvs_p": "p.Asp453Asp",
          "transcript": "XM_011532080.4",
          "protein_id": "XP_011530382.1",
          "transcript_support_level": null,
          "aa_start": 453,
          "aa_end": null,
          "aa_length": 730,
          "cds_start": 1359,
          "cds_end": null,
          "cds_length": 2193,
          "cdna_start": 1520,
          "cdna_end": null,
          "cdna_length": 3885,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "BBS7",
          "gene_hgnc_id": 18758,
          "hgvs_c": "c.1317C>T",
          "hgvs_p": "p.Asp439Asp",
          "transcript": "XM_005263106.5",
          "protein_id": "XP_005263163.1",
          "transcript_support_level": null,
          "aa_start": 439,
          "aa_end": null,
          "aa_length": 716,
          "cds_start": 1317,
          "cds_end": null,
          "cds_length": 2151,
          "cdna_start": 1478,
          "cdna_end": null,
          "cdna_length": 3843,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "BBS7",
          "gene_hgnc_id": 18758,
          "hgvs_c": "c.1362C>T",
          "hgvs_p": "p.Asp454Asp",
          "transcript": "XM_011532081.4",
          "protein_id": "XP_011530383.1",
          "transcript_support_level": null,
          "aa_start": 454,
          "aa_end": null,
          "aa_length": 676,
          "cds_start": 1362,
          "cds_end": null,
          "cds_length": 2031,
          "cdna_start": 1523,
          "cdna_end": null,
          "cdna_length": 3723,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "BBS7",
          "gene_hgnc_id": 18758,
          "hgvs_c": "c.1359C>T",
          "hgvs_p": "p.Asp453Asp",
          "transcript": "XM_047415889.1",
          "protein_id": "XP_047271845.1",
          "transcript_support_level": null,
          "aa_start": 453,
          "aa_end": null,
          "aa_length": 675,
          "cds_start": 1359,
          "cds_end": null,
          "cds_length": 2028,
          "cdna_start": 1520,
          "cdna_end": null,
          "cdna_length": 3720,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "BBS7",
          "gene_hgnc_id": 18758,
          "hgvs_c": "c.1317C>T",
          "hgvs_p": "p.Asp439Asp",
          "transcript": "XM_047415890.1",
          "protein_id": "XP_047271846.1",
          "transcript_support_level": null,
          "aa_start": 439,
          "aa_end": null,
          "aa_length": 661,
          "cds_start": 1317,
          "cds_end": null,
          "cds_length": 1986,
          "cdna_start": 1478,
          "cdna_end": null,
          "cdna_length": 3678,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "BBS7",
          "gene_hgnc_id": 18758,
          "hgvs_c": "c.1314C>T",
          "hgvs_p": "p.Asp438Asp",
          "transcript": "XM_017008357.3",
          "protein_id": "XP_016863846.1",
          "transcript_support_level": null,
          "aa_start": 438,
          "aa_end": null,
          "aa_length": 660,
          "cds_start": 1314,
          "cds_end": null,
          "cds_length": 1983,
          "cdna_start": 1475,
          "cdna_end": null,
          "cdna_length": 3675,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "BBS7",
      "gene_hgnc_id": 18758,
      "dbsnp": "rs774070535",
      "frequency_reference_population": 0.00000371873,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 6,
      "gnomad_exomes_af": 6.84328e-7,
      "gnomad_genomes_af": 0.0000328589,
      "gnomad_exomes_ac": 1,
      "gnomad_genomes_ac": 5,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.5,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.019999999552965164,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.5,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.726,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.02,
      "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": -11,
      "acmg_classification": "Benign",
      "acmg_criteria": "PM2,BP4_Strong,BP6_Very_Strong,BP7",
      "acmg_by_gene": [
        {
          "score": -11,
          "benign_score": 13,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong",
            "BP6_Very_Strong",
            "BP7"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000264499.9",
          "gene_symbol": "BBS7",
          "hgnc_id": 18758,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1314C>T",
          "hgvs_p": "p.Asp438Asp"
        }
      ],
      "clinvar_disease": "BBS7-related disorder,Bardet-Biedl syndrome,not specified",
      "clinvar_classification": "Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:2",
      "phenotype_combined": "not specified|BBS7-related disorder|Bardet-Biedl syndrome",
      "pathogenicity_classification_combined": "Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}