← 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: 3-165046998-A-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "3",
      "pos": 165046998,
      "ref": "A",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "ENST00000264382.8",
      "consequences": [
        {
          "aa_ref": "V",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SI",
          "gene_hgnc_id": 10856,
          "hgvs_c": "c.1730T>G",
          "hgvs_p": "p.Val577Gly",
          "transcript": "NM_001041.4",
          "protein_id": "NP_001032.2",
          "transcript_support_level": null,
          "aa_start": 577,
          "aa_end": null,
          "aa_length": 1827,
          "cds_start": 1730,
          "cds_end": null,
          "cds_length": 5484,
          "cdna_start": 1794,
          "cdna_end": null,
          "cdna_length": 6012,
          "mane_select": "ENST00000264382.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "G",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 48,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SI",
          "gene_hgnc_id": 10856,
          "hgvs_c": "c.1730T>G",
          "hgvs_p": "p.Val577Gly",
          "transcript": "ENST00000264382.8",
          "protein_id": "ENSP00000264382.3",
          "transcript_support_level": 1,
          "aa_start": 577,
          "aa_end": null,
          "aa_length": 1827,
          "cds_start": 1730,
          "cds_end": null,
          "cds_length": 5484,
          "cdna_start": 1794,
          "cdna_end": null,
          "cdna_length": 6012,
          "mane_select": "NM_001041.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 49,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SI",
          "gene_hgnc_id": 10856,
          "hgvs_c": "c.1730T>G",
          "hgvs_p": "p.Val577Gly",
          "transcript": "XM_047448735.1",
          "protein_id": "XP_047304691.1",
          "transcript_support_level": null,
          "aa_start": 577,
          "aa_end": null,
          "aa_length": 1827,
          "cds_start": 1730,
          "cds_end": null,
          "cds_length": 5484,
          "cdna_start": 1799,
          "cdna_end": null,
          "cdna_length": 6017,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 49,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SI",
          "gene_hgnc_id": 10856,
          "hgvs_c": "c.1730T>G",
          "hgvs_p": "p.Val577Gly",
          "transcript": "XM_047448736.1",
          "protein_id": "XP_047304692.1",
          "transcript_support_level": null,
          "aa_start": 577,
          "aa_end": null,
          "aa_length": 1827,
          "cds_start": 1730,
          "cds_end": null,
          "cds_length": 5484,
          "cdna_start": 1799,
          "cdna_end": null,
          "cdna_length": 6017,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "V",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 47,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SI",
          "gene_hgnc_id": 10856,
          "hgvs_c": "c.1631T>G",
          "hgvs_p": "p.Val544Gly",
          "transcript": "XM_011513078.3",
          "protein_id": "XP_011511380.1",
          "transcript_support_level": null,
          "aa_start": 544,
          "aa_end": null,
          "aa_length": 1794,
          "cds_start": 1631,
          "cds_end": null,
          "cds_length": 5385,
          "cdna_start": 1718,
          "cdna_end": null,
          "cdna_length": 5936,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SI",
      "gene_hgnc_id": 10856,
      "dbsnp": "rs121912615",
      "frequency_reference_population": 0.002362448,
      "hom_count_reference_population": 7,
      "allele_count_reference_population": 3793,
      "gnomad_exomes_af": 0.00247785,
      "gnomad_genomes_af": 0.001261,
      "gnomad_exomes_ac": 3601,
      "gnomad_genomes_ac": 192,
      "gnomad_exomes_homalt": 7,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.08898362517356873,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.84,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.4612,
      "alphamissense_prediction": "Uncertain_significance",
      "bayesdelnoaf_score": 0.24,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 8.538,
      "phylop100way_prediction": "Pathogenic",
      "spliceai_max_score": 0.01,
      "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": -4,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PP3,PP5,BP4,BS1_Supporting,BS2",
      "acmg_by_gene": [
        {
          "score": -4,
          "benign_score": 6,
          "pathogenic_score": 2,
          "criteria": [
            "PP3",
            "PP5",
            "BP4",
            "BS1_Supporting",
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000264382.8",
          "gene_symbol": "SI",
          "hgnc_id": 10856,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1730T>G",
          "hgvs_p": "p.Val577Gly"
        }
      ],
      "clinvar_disease": "SI-related disorder,Sucrase-isomaltase deficiency,not provided",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "P:2 LP:9 US:1",
      "phenotype_combined": "Sucrase-isomaltase deficiency|not provided|SI-related disorder",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}