← 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-56881616-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "5",
      "pos": 56881616,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "ENST00000399503.4",
      "consequences": [
        {
          "aa_ref": "D",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MAP3K1",
          "gene_hgnc_id": 6848,
          "hgvs_c": "c.2416G>A",
          "hgvs_p": "p.Asp806Asn",
          "transcript": "NM_005921.2",
          "protein_id": "NP_005912.1",
          "transcript_support_level": null,
          "aa_start": 806,
          "aa_end": null,
          "aa_length": 1512,
          "cds_start": 2416,
          "cds_end": null,
          "cds_length": 4539,
          "cdna_start": 2441,
          "cdna_end": null,
          "cdna_length": 7036,
          "mane_select": "ENST00000399503.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "N",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MAP3K1",
          "gene_hgnc_id": 6848,
          "hgvs_c": "c.2416G>A",
          "hgvs_p": "p.Asp806Asn",
          "transcript": "ENST00000399503.4",
          "protein_id": "ENSP00000382423.3",
          "transcript_support_level": 1,
          "aa_start": 806,
          "aa_end": null,
          "aa_length": 1512,
          "cds_start": 2416,
          "cds_end": null,
          "cds_length": 4539,
          "cdna_start": 2441,
          "cdna_end": null,
          "cdna_length": 7036,
          "mane_select": "NM_005921.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MAP3K1",
          "gene_hgnc_id": 6848,
          "hgvs_c": "c.2416G>A",
          "hgvs_p": "p.Asp806Asn",
          "transcript": "XM_047417218.1",
          "protein_id": "XP_047273174.1",
          "transcript_support_level": null,
          "aa_start": 806,
          "aa_end": null,
          "aa_length": 1382,
          "cds_start": 2416,
          "cds_end": null,
          "cds_length": 4149,
          "cdna_start": 2441,
          "cdna_end": null,
          "cdna_length": 4214,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MAP3K1",
          "gene_hgnc_id": 6848,
          "hgvs_c": "c.2005G>A",
          "hgvs_p": "p.Asp669Asn",
          "transcript": "XM_047417219.1",
          "protein_id": "XP_047273175.1",
          "transcript_support_level": null,
          "aa_start": 669,
          "aa_end": null,
          "aa_length": 1375,
          "cds_start": 2005,
          "cds_end": null,
          "cds_length": 4128,
          "cdna_start": 2707,
          "cdna_end": null,
          "cdna_length": 7302,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MAP3K1",
          "gene_hgnc_id": 6848,
          "hgvs_c": "c.2005G>A",
          "hgvs_p": "p.Asp669Asn",
          "transcript": "XM_047417220.1",
          "protein_id": "XP_047273176.1",
          "transcript_support_level": null,
          "aa_start": 669,
          "aa_end": null,
          "aa_length": 1375,
          "cds_start": 2005,
          "cds_end": null,
          "cds_length": 4128,
          "cdna_start": 2214,
          "cdna_end": null,
          "cdna_length": 6809,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "MAP3K1",
      "gene_hgnc_id": 6848,
      "dbsnp": "rs702689",
      "frequency_reference_population": 0.6714904,
      "hom_count_reference_population": 374698,
      "allele_count_reference_population": 1083020,
      "gnomad_exomes_af": 0.678229,
      "gnomad_genomes_af": 0.606707,
      "gnomad_exomes_ac": 990820,
      "gnomad_genomes_ac": 92200,
      "gnomad_exomes_homalt": 345418,
      "gnomad_genomes_homalt": 29280,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.000014606335753342137,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.152,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.2158,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.52,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 8.193,
      "phylop100way_prediction": "Pathogenic",
      "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": -20,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BA1",
      "acmg_by_gene": [
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000399503.4",
          "gene_symbol": "MAP3K1",
          "hgnc_id": 6848,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.2416G>A",
          "hgvs_p": "p.Asp806Asn"
        }
      ],
      "clinvar_disease": "46,XY sex reversal 6,not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:4",
      "phenotype_combined": "46,XY sex reversal 6|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}