← 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: 2-210591913-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 210591913,
      "ref": "A",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "ENST00000233072.10",
      "consequences": [
        {
          "aa_ref": "T",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 38,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1030A>G",
          "hgvs_p": "p.Thr344Ala",
          "transcript": "NM_001875.5",
          "protein_id": "NP_001866.2",
          "transcript_support_level": null,
          "aa_start": 344,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1030,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": 1165,
          "cdna_end": null,
          "cdna_length": 5760,
          "mane_select": "ENST00000233072.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "A",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 38,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1030A>G",
          "hgvs_p": "p.Thr344Ala",
          "transcript": "ENST00000233072.10",
          "protein_id": "ENSP00000233072.5",
          "transcript_support_level": 1,
          "aa_start": 344,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1030,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": 1165,
          "cdna_end": null,
          "cdna_length": 5760,
          "mane_select": "NM_001875.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1048A>G",
          "hgvs_p": "p.Thr350Ala",
          "transcript": "ENST00000430249.7",
          "protein_id": "ENSP00000402608.2",
          "transcript_support_level": 1,
          "aa_start": 350,
          "aa_end": null,
          "aa_length": 1506,
          "cds_start": 1048,
          "cds_end": null,
          "cds_length": 4521,
          "cdna_start": 1130,
          "cdna_end": null,
          "cdna_length": 5723,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1063A>G",
          "hgvs_p": "p.Thr355Ala",
          "transcript": "NM_001369256.1",
          "protein_id": "NP_001356185.1",
          "transcript_support_level": null,
          "aa_start": 355,
          "aa_end": null,
          "aa_length": 1511,
          "cds_start": 1063,
          "cds_end": null,
          "cds_length": 4536,
          "cdna_start": 1112,
          "cdna_end": null,
          "cdna_length": 5707,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1030A>G",
          "hgvs_p": "p.Thr344Ala",
          "transcript": "NM_001122633.3",
          "protein_id": "NP_001116105.2",
          "transcript_support_level": null,
          "aa_start": 344,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1030,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": 1127,
          "cdna_end": null,
          "cdna_length": 5722,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 40,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1030A>G",
          "hgvs_p": "p.Thr344Ala",
          "transcript": "NM_001369257.1",
          "protein_id": "NP_001356186.1",
          "transcript_support_level": null,
          "aa_start": 344,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1030,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": 1247,
          "cdna_end": null,
          "cdna_length": 5842,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 40,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1030A>G",
          "hgvs_p": "p.Thr344Ala",
          "transcript": "ENST00000673510.1",
          "protein_id": "ENSP00000500537.1",
          "transcript_support_level": null,
          "aa_start": 344,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1030,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": 1250,
          "cdna_end": null,
          "cdna_length": 4880,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 40,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1030A>G",
          "hgvs_p": "p.Thr344Ala",
          "transcript": "ENST00000673630.1",
          "protein_id": "ENSP00000501073.1",
          "transcript_support_level": null,
          "aa_start": 344,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1030,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": 1364,
          "cdna_end": null,
          "cdna_length": 5775,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "c.1030A>G",
          "hgvs_p": "p.Thr344Ala",
          "transcript": "ENST00000673711.1",
          "protein_id": "ENSP00000501022.1",
          "transcript_support_level": null,
          "aa_start": 344,
          "aa_end": null,
          "aa_length": 1500,
          "cds_start": 1030,
          "cds_end": null,
          "cds_length": 4503,
          "cdna_start": 1103,
          "cdna_end": null,
          "cdna_length": 5698,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "CPS1",
          "gene_hgnc_id": 2323,
          "hgvs_c": "n.1942A>G",
          "hgvs_p": null,
          "transcript": "NR_161225.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 6534,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "CPS1",
      "gene_hgnc_id": 2323,
      "dbsnp": "rs1047883",
      "frequency_reference_population": 0.5668824,
      "hom_count_reference_population": 260102,
      "allele_count_reference_population": 912709,
      "gnomad_exomes_af": 0.565401,
      "gnomad_genomes_af": 0.58117,
      "gnomad_exomes_ac": 824785,
      "gnomad_genomes_ac": 87924,
      "gnomad_exomes_homalt": 234408,
      "gnomad_genomes_homalt": 25694,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.0024514198303222656,
      "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.249,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.1119,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.41,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.266,
      "phylop100way_prediction": "Benign",
      "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": -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": "ENST00000233072.10",
          "gene_symbol": "CPS1",
          "hgnc_id": 2323,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1030A>G",
          "hgvs_p": "p.Thr344Ala"
        }
      ],
      "clinvar_disease": " neonatal, susceptibility to, type I,Congenital hyperammonemia,Pulmonary hypertension,not provided,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:10",
      "phenotype_combined": "not specified|Congenital hyperammonemia, type I|not provided|Congenital hyperammonemia, type I;Pulmonary hypertension, neonatal, susceptibility to",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}