← 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: 16-57897496-G-GCCAC (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "16",
      "pos": 57897496,
      "ref": "G",
      "alt": "GCCAC",
      "effect": "frameshift_variant",
      "transcript": "ENST00000251102.13",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "GG?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 31,
          "exon_rank_end": null,
          "exon_count": 33,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CNGB1",
          "gene_hgnc_id": 2151,
          "hgvs_c": "c.3139_3142dupGTGG",
          "hgvs_p": "p.Ala1048fs",
          "transcript": "NM_001297.5",
          "protein_id": "NP_001288.3",
          "transcript_support_level": null,
          "aa_start": 1048,
          "aa_end": null,
          "aa_length": 1251,
          "cds_start": 3142,
          "cds_end": null,
          "cds_length": 3756,
          "cdna_start": 3219,
          "cdna_end": null,
          "cdna_length": 5657,
          "mane_select": "ENST00000251102.13",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "GG?",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 31,
          "exon_rank_end": null,
          "exon_count": 33,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CNGB1",
          "gene_hgnc_id": 2151,
          "hgvs_c": "c.3139_3142dupGTGG",
          "hgvs_p": "p.Ala1048fs",
          "transcript": "ENST00000251102.13",
          "protein_id": "ENSP00000251102.8",
          "transcript_support_level": 1,
          "aa_start": 1048,
          "aa_end": null,
          "aa_length": 1251,
          "cds_start": 3142,
          "cds_end": null,
          "cds_length": 3756,
          "cdna_start": 3219,
          "cdna_end": null,
          "cdna_length": 5657,
          "mane_select": "NM_001297.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "GG?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 31,
          "exon_rank_end": null,
          "exon_count": 33,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CNGB1",
          "gene_hgnc_id": 2151,
          "hgvs_c": "c.3121_3124dupGTGG",
          "hgvs_p": "p.Ala1042fs",
          "transcript": "ENST00000564448.5",
          "protein_id": "ENSP00000454633.1",
          "transcript_support_level": 1,
          "aa_start": 1042,
          "aa_end": null,
          "aa_length": 1245,
          "cds_start": 3124,
          "cds_end": null,
          "cds_length": 3738,
          "cdna_start": 3185,
          "cdna_end": null,
          "cdna_length": 4364,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "GG?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 31,
          "exon_rank_end": null,
          "exon_count": 33,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CNGB1",
          "gene_hgnc_id": 2151,
          "hgvs_c": "c.3121_3124dupGTGG",
          "hgvs_p": "p.Ala1042fs",
          "transcript": "NM_001286130.2",
          "protein_id": "NP_001273059.1",
          "transcript_support_level": null,
          "aa_start": 1042,
          "aa_end": null,
          "aa_length": 1245,
          "cds_start": 3124,
          "cds_end": null,
          "cds_length": 3738,
          "cdna_start": 3201,
          "cdna_end": null,
          "cdna_length": 5639,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "GG?",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CNGB1",
          "gene_hgnc_id": 2151,
          "hgvs_c": "c.184_187dupGTGG",
          "hgvs_p": "p.Ala63fs",
          "transcript": "ENST00000565942.1",
          "protein_id": "ENSP00000455964.1",
          "transcript_support_level": 5,
          "aa_start": 63,
          "aa_end": null,
          "aa_length": 124,
          "cds_start": 187,
          "cds_end": null,
          "cds_length": 377,
          "cdna_start": 188,
          "cdna_end": null,
          "cdna_length": 378,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "CNGB1",
      "gene_hgnc_id": 2151,
      "dbsnp": "rs756806434",
      "frequency_reference_population": 0.00008922364,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 144,
      "gnomad_exomes_af": 0.0000950859,
      "gnomad_genomes_af": 0.0000328761,
      "gnomad_exomes_ac": 139,
      "gnomad_genomes_ac": 5,
      "gnomad_exomes_homalt": 0,
      "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": 7.905,
      "phylop100way_prediction": "Pathogenic",
      "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": 16,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 16,
          "benign_score": 0,
          "pathogenic_score": 16,
          "criteria": [
            "PVS1",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000251102.13",
          "gene_symbol": "CNGB1",
          "hgnc_id": 2151,
          "effects": [
            "frameshift_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.3139_3142dupGTGG",
          "hgvs_p": "p.Ala1048fs"
        }
      ],
      "clinvar_disease": "Retinal dystrophy,Retinitis pigmentosa,Retinitis pigmentosa 45,not provided",
      "clinvar_classification": "Pathogenic/Likely pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:4 LP:1",
      "phenotype_combined": "Retinitis pigmentosa|not provided|Retinal dystrophy|Retinitis pigmentosa 45",
      "pathogenicity_classification_combined": "Pathogenic/Likely pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}