← 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: 22-19878372-A-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "22",
      "pos": 19878372,
      "ref": "A",
      "alt": "C",
      "effect": "stop_gained",
      "transcript": "NM_006440.5",
      "consequences": [
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "c.1341T>G",
          "hgvs_p": "p.Tyr447*",
          "transcript": "NM_006440.5",
          "protein_id": "NP_006431.2",
          "transcript_support_level": null,
          "aa_start": 447,
          "aa_end": null,
          "aa_length": 524,
          "cds_start": 1341,
          "cds_end": null,
          "cds_length": 1575,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000400521.7",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_006440.5"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "c.1341T>G",
          "hgvs_p": "p.Tyr447*",
          "transcript": "ENST00000400521.7",
          "protein_id": "ENSP00000383365.1",
          "transcript_support_level": 1,
          "aa_start": 447,
          "aa_end": null,
          "aa_length": 524,
          "cds_start": 1341,
          "cds_end": null,
          "cds_length": 1575,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_006440.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000400521.7"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "c.1338T>G",
          "hgvs_p": "p.Tyr446*",
          "transcript": "ENST00000400519.6",
          "protein_id": "ENSP00000383363.1",
          "transcript_support_level": 1,
          "aa_start": 446,
          "aa_end": null,
          "aa_length": 523,
          "cds_start": 1338,
          "cds_end": null,
          "cds_length": 1572,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000400519.6"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "c.1251T>G",
          "hgvs_p": "p.Tyr417*",
          "transcript": "ENST00000400518.5",
          "protein_id": "ENSP00000383362.1",
          "transcript_support_level": 1,
          "aa_start": 417,
          "aa_end": null,
          "aa_length": 494,
          "cds_start": 1251,
          "cds_end": null,
          "cds_length": 1485,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000400518.5"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "c.1053T>G",
          "hgvs_p": "p.Tyr351*",
          "transcript": "ENST00000542719.6",
          "protein_id": "ENSP00000485128.2",
          "transcript_support_level": 1,
          "aa_start": 351,
          "aa_end": null,
          "aa_length": 428,
          "cds_start": 1053,
          "cds_end": null,
          "cds_length": 1287,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000542719.6"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "n.1435T>G",
          "hgvs_p": null,
          "transcript": "ENST00000487165.5",
          "protein_id": null,
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000487165.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "n.1415T>G",
          "hgvs_p": null,
          "transcript": "ENST00000494454.5",
          "protein_id": null,
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000494454.5"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "c.1338T>G",
          "hgvs_p": "p.Tyr446*",
          "transcript": "NM_001352300.2",
          "protein_id": "NP_001339229.1",
          "transcript_support_level": null,
          "aa_start": 446,
          "aa_end": null,
          "aa_length": 523,
          "cds_start": 1338,
          "cds_end": null,
          "cds_length": 1572,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001352300.2"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "c.1272T>G",
          "hgvs_p": "p.Tyr424*",
          "transcript": "ENST00000400525.6",
          "protein_id": "ENSP00000383369.3",
          "transcript_support_level": 5,
          "aa_start": 424,
          "aa_end": null,
          "aa_length": 501,
          "cds_start": 1272,
          "cds_end": null,
          "cds_length": 1506,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000400525.6"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "c.1251T>G",
          "hgvs_p": "p.Tyr417*",
          "transcript": "NM_001352301.2",
          "protein_id": "NP_001339230.1",
          "transcript_support_level": null,
          "aa_start": 417,
          "aa_end": null,
          "aa_length": 494,
          "cds_start": 1251,
          "cds_end": null,
          "cds_length": 1485,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001352301.2"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 15,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "c.1053T>G",
          "hgvs_p": "p.Tyr351*",
          "transcript": "NM_001352302.2",
          "protein_id": "NP_001339231.1",
          "transcript_support_level": null,
          "aa_start": 351,
          "aa_end": null,
          "aa_length": 428,
          "cds_start": 1053,
          "cds_end": null,
          "cds_length": 1287,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001352302.2"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "c.309T>G",
          "hgvs_p": "p.Tyr103*",
          "transcript": "ENST00000485358.5",
          "protein_id": "ENSP00000485499.2",
          "transcript_support_level": 2,
          "aa_start": 103,
          "aa_end": null,
          "aa_length": 180,
          "cds_start": 309,
          "cds_end": null,
          "cds_length": 543,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000485358.5"
        },
        {
          "aa_ref": "Y",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "c.264T>G",
          "hgvs_p": "p.Tyr88*",
          "transcript": "ENST00000462330.5",
          "protein_id": "ENSP00000485603.2",
          "transcript_support_level": 3,
          "aa_start": 88,
          "aa_end": null,
          "aa_length": 165,
          "cds_start": 264,
          "cds_end": null,
          "cds_length": 498,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000462330.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "n.291T>G",
          "hgvs_p": null,
          "transcript": "ENST00000462843.2",
          "protein_id": "ENSP00000485466.2",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "non_stop_decay",
          "feature": "ENST00000462843.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "n.1284T>G",
          "hgvs_p": null,
          "transcript": "ENST00000474308.5",
          "protein_id": "ENSP00000485665.1",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000474308.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "n.885T>G",
          "hgvs_p": null,
          "transcript": "ENST00000495655.2",
          "protein_id": null,
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000495655.2"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "n.402T>G",
          "hgvs_p": null,
          "transcript": "ENST00000634471.1",
          "protein_id": null,
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000634471.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "n.570T>G",
          "hgvs_p": null,
          "transcript": "ENST00000634537.1",
          "protein_id": "ENSP00000489208.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "non_stop_decay",
          "feature": "ENST00000634537.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 14,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TXNRD2",
          "gene_hgnc_id": 18155,
          "hgvs_c": "n.1299T>G",
          "hgvs_p": null,
          "transcript": "NR_147957.2",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "NR_147957.2"
        }
      ],
      "gene_symbol": "TXNRD2",
      "gene_hgnc_id": 18155,
      "dbsnp": "rs202059967",
      "frequency_reference_population": 0.00028567426,
      "hom_count_reference_population": 2,
      "allele_count_reference_population": 461,
      "gnomad_exomes_af": 0.000292851,
      "gnomad_genomes_af": 0.000216772,
      "gnomad_exomes_ac": 428,
      "gnomad_genomes_ac": 33,
      "gnomad_exomes_homalt": 2,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.5,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.3799999952316284,
      "splice_prediction_selected": "Uncertain_significance",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.5,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 1.798,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.38,
      "spliceai_max_prediction": "Uncertain_significance",
      "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": "BS2",
      "acmg_by_gene": [
        {
          "score": -4,
          "benign_score": 4,
          "pathogenic_score": 0,
          "criteria": [
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_006440.5",
          "gene_symbol": "TXNRD2",
          "hgnc_id": 18155,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AD,AR,Unknown",
          "hgvs_c": "c.1341T>G",
          "hgvs_p": "p.Tyr447*"
        }
      ],
      "clinvar_disease": "Cardiovascular phenotype,Glucocorticoid deficiency 5,Primary dilated cardiomyopathy,not provided",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "LP:1 US:2 LB:2",
      "phenotype_combined": "Cardiovascular phenotype|Glucocorticoid deficiency 5|Primary dilated cardiomyopathy|not provided",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}