← 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: 20-33443507-G-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "20",
      "pos": 33443507,
      "ref": "G",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "ENST00000217381.3",
      "consequences": [
        {
          "aa_ref": "D",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SNTA1",
          "gene_hgnc_id": 11167,
          "hgvs_c": "c.114C>A",
          "hgvs_p": "p.Asp38Glu",
          "transcript": "NM_003098.3",
          "protein_id": "NP_003089.1",
          "transcript_support_level": null,
          "aa_start": 38,
          "aa_end": null,
          "aa_length": 505,
          "cds_start": 114,
          "cds_end": null,
          "cds_length": 1518,
          "cdna_start": 257,
          "cdna_end": null,
          "cdna_length": 2211,
          "mane_select": "ENST00000217381.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "E",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SNTA1",
          "gene_hgnc_id": 11167,
          "hgvs_c": "c.114C>A",
          "hgvs_p": "p.Asp38Glu",
          "transcript": "ENST00000217381.3",
          "protein_id": "ENSP00000217381.2",
          "transcript_support_level": 1,
          "aa_start": 38,
          "aa_end": null,
          "aa_length": 505,
          "cds_start": 114,
          "cds_end": null,
          "cds_length": 1518,
          "cdna_start": 257,
          "cdna_end": null,
          "cdna_length": 2211,
          "mane_select": "NM_003098.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SNTA1",
          "gene_hgnc_id": 11167,
          "hgvs_c": "c.114C>A",
          "hgvs_p": "p.Asp38Glu",
          "transcript": "NM_001424413.1",
          "protein_id": "NP_001411342.1",
          "transcript_support_level": null,
          "aa_start": 38,
          "aa_end": null,
          "aa_length": 504,
          "cds_start": 114,
          "cds_end": null,
          "cds_length": 1515,
          "cdna_start": 257,
          "cdna_end": null,
          "cdna_length": 2208,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SNTA1",
          "gene_hgnc_id": 11167,
          "hgvs_c": "c.114C>A",
          "hgvs_p": "p.Asp38Glu",
          "transcript": "NM_001424414.1",
          "protein_id": "NP_001411343.1",
          "transcript_support_level": null,
          "aa_start": 38,
          "aa_end": null,
          "aa_length": 496,
          "cds_start": 114,
          "cds_end": null,
          "cds_length": 1491,
          "cdna_start": 257,
          "cdna_end": null,
          "cdna_length": 2243,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SNTA1",
          "gene_hgnc_id": 11167,
          "hgvs_c": "c.114C>A",
          "hgvs_p": "p.Asp38Glu",
          "transcript": "XM_011529008.2",
          "protein_id": "XP_011527310.1",
          "transcript_support_level": null,
          "aa_start": 38,
          "aa_end": null,
          "aa_length": 495,
          "cds_start": 114,
          "cds_end": null,
          "cds_length": 1488,
          "cdna_start": 257,
          "cdna_end": null,
          "cdna_length": 2240,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "E",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SNTA1",
          "gene_hgnc_id": 11167,
          "hgvs_c": "c.114C>A",
          "hgvs_p": "p.Asp38Glu",
          "transcript": "XM_047440392.1",
          "protein_id": "XP_047296348.1",
          "transcript_support_level": null,
          "aa_start": 38,
          "aa_end": null,
          "aa_length": 476,
          "cds_start": 114,
          "cds_end": null,
          "cds_length": 1431,
          "cdna_start": 257,
          "cdna_end": null,
          "cdna_length": 2124,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SNTA1",
      "gene_hgnc_id": 11167,
      "dbsnp": "rs780018849",
      "frequency_reference_population": 0.000018883191,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 26,
      "gnomad_exomes_af": 0.0000203957,
      "gnomad_genomes_af": 0.00000661647,
      "gnomad_exomes_ac": 25,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.05310666561126709,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.071,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.2505,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.54,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.287,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0,
      "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": -8,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BS2",
      "acmg_by_gene": [
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000217381.3",
          "gene_symbol": "SNTA1",
          "hgnc_id": 11167,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.114C>A",
          "hgvs_p": "p.Asp38Glu"
        }
      ],
      "clinvar_disease": "Cardiovascular phenotype,Long QT syndrome,not provided",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "US:3",
      "phenotype_combined": "Cardiovascular phenotype|Long QT syndrome|not provided",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}