← 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-172339475-GCCGCTC-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "5",
      "pos": 172339475,
      "ref": "GCCGCTC",
      "alt": "G",
      "effect": "conservative_inframe_deletion",
      "transcript": "ENST00000311601.6",
      "consequences": [
        {
          "aa_ref": "ER",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "conservative_inframe_deletion"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH3PXD2B",
          "gene_hgnc_id": 29242,
          "hgvs_c": "c.1624_1629delGAGCGG",
          "hgvs_p": "p.Glu542_Arg543del",
          "transcript": "NM_001017995.3",
          "protein_id": "NP_001017995.1",
          "transcript_support_level": null,
          "aa_start": 542,
          "aa_end": null,
          "aa_length": 911,
          "cds_start": 1624,
          "cds_end": null,
          "cds_length": 2736,
          "cdna_start": 1802,
          "cdna_end": null,
          "cdna_length": 7779,
          "mane_select": "ENST00000311601.6",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "ER",
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "conservative_inframe_deletion"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH3PXD2B",
          "gene_hgnc_id": 29242,
          "hgvs_c": "c.1624_1629delGAGCGG",
          "hgvs_p": "p.Glu542_Arg543del",
          "transcript": "ENST00000311601.6",
          "protein_id": "ENSP00000309714.5",
          "transcript_support_level": 1,
          "aa_start": 542,
          "aa_end": null,
          "aa_length": 911,
          "cds_start": 1624,
          "cds_end": null,
          "cds_length": 2736,
          "cdna_start": 1802,
          "cdna_end": null,
          "cdna_length": 7779,
          "mane_select": "NM_001017995.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": 12,
          "intron_rank_end": null,
          "gene_symbol": "SH3PXD2B",
          "gene_hgnc_id": 29242,
          "hgvs_c": "c.1188+6655_1188+6660delGAGCGG",
          "hgvs_p": null,
          "transcript": "ENST00000519643.5",
          "protein_id": "ENSP00000430890.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 430,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1293,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1394,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "ER",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "conservative_inframe_deletion"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SH3PXD2B",
          "gene_hgnc_id": 29242,
          "hgvs_c": "c.1708_1713delGAGCGG",
          "hgvs_p": "p.Glu570_Arg571del",
          "transcript": "XM_017009351.2",
          "protein_id": "XP_016864840.1",
          "transcript_support_level": null,
          "aa_start": 570,
          "aa_end": null,
          "aa_length": 939,
          "cds_start": 1708,
          "cds_end": null,
          "cds_length": 2820,
          "cdna_start": 1886,
          "cdna_end": null,
          "cdna_length": 7863,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": 13,
          "intron_rank_end": null,
          "gene_symbol": "SH3PXD2B",
          "gene_hgnc_id": 29242,
          "hgvs_c": "c.1227+6655_1227+6660delGAGCGG",
          "hgvs_p": null,
          "transcript": "ENST00000636523.1",
          "protein_id": "ENSP00000490082.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 443,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1332,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1609,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": 12,
          "intron_rank_end": null,
          "gene_symbol": "SH3PXD2B",
          "gene_hgnc_id": 29242,
          "hgvs_c": "c.1188+6655_1188+6660delGAGCGG",
          "hgvs_p": null,
          "transcript": "NM_001308175.2",
          "protein_id": "NP_001295104.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 430,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1293,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1561,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "SH3PXD2B",
          "gene_hgnc_id": 29242,
          "hgvs_c": "c.199-5712_199-5707delGAGCGG",
          "hgvs_p": null,
          "transcript": "ENST00000518522.5",
          "protein_id": "ENSP00000428076.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 80,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 243,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 471,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SH3PXD2B",
      "gene_hgnc_id": 29242,
      "dbsnp": "rs534091900",
      "frequency_reference_population": 0.00094620924,
      "hom_count_reference_population": 8,
      "allele_count_reference_population": 1527,
      "gnomad_exomes_af": 0.000513856,
      "gnomad_genomes_af": 0.00509494,
      "gnomad_exomes_ac": 751,
      "gnomad_genomes_ac": 776,
      "gnomad_exomes_homalt": 3,
      "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.74,
      "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": "ENST00000311601.6",
          "gene_symbol": "SH3PXD2B",
          "hgnc_id": 29242,
          "effects": [
            "conservative_inframe_deletion"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1624_1629delGAGCGG",
          "hgvs_p": "p.Glu542_Arg543del"
        }
      ],
      "clinvar_disease": "not provided,not specified",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:1 B:2",
      "phenotype_combined": "not specified|not provided",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}