← 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: 7-55173985-AAAC-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "7",
      "pos": 55173985,
      "ref": "AAAC",
      "alt": "A",
      "effect": "disruptive_inframe_deletion",
      "transcript": "ENST00000275493.7",
      "consequences": [
        {
          "aa_ref": "ET",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2127_2129delAAC",
          "hgvs_p": "p.Glu709_Thr710delinsAsp",
          "transcript": "NM_005228.5",
          "protein_id": "NP_005219.2",
          "transcript_support_level": null,
          "aa_start": 709,
          "aa_end": null,
          "aa_length": 1210,
          "cds_start": 2127,
          "cds_end": null,
          "cds_length": 3633,
          "cdna_start": 2388,
          "cdna_end": null,
          "cdna_length": 9905,
          "mane_select": "ENST00000275493.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "ET",
          "aa_alt": "D",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2127_2129delAAC",
          "hgvs_p": "p.Glu709_Thr710delinsAsp",
          "transcript": "ENST00000275493.7",
          "protein_id": "ENSP00000275493.2",
          "transcript_support_level": 1,
          "aa_start": 709,
          "aa_end": null,
          "aa_length": 1210,
          "cds_start": 2127,
          "cds_end": null,
          "cds_length": 3633,
          "cdna_start": 2388,
          "cdna_end": null,
          "cdna_length": 9905,
          "mane_select": "NM_005228.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "ET",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.1992_1994delAAC",
          "hgvs_p": "p.Glu664_Thr665delinsAsp",
          "transcript": "ENST00000455089.5",
          "protein_id": "ENSP00000415559.1",
          "transcript_support_level": 1,
          "aa_start": 664,
          "aa_end": null,
          "aa_length": 1091,
          "cds_start": 1992,
          "cds_end": null,
          "cds_length": 3276,
          "cdna_start": 2249,
          "cdna_end": null,
          "cdna_length": 3844,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "ET",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.1992_1994delAAC",
          "hgvs_p": "p.Glu664_Thr665delinsAsp",
          "transcript": "NM_001346899.2",
          "protein_id": "NP_001333828.1",
          "transcript_support_level": null,
          "aa_start": 664,
          "aa_end": null,
          "aa_length": 1165,
          "cds_start": 1992,
          "cds_end": null,
          "cds_length": 3498,
          "cdna_start": 2253,
          "cdna_end": null,
          "cdna_length": 9770,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "ET",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.1968_1970delAAC",
          "hgvs_p": "p.Glu656_Thr657delinsAsp",
          "transcript": "NM_001346900.2",
          "protein_id": "NP_001333829.1",
          "transcript_support_level": null,
          "aa_start": 656,
          "aa_end": null,
          "aa_length": 1157,
          "cds_start": 1968,
          "cds_end": null,
          "cds_length": 3474,
          "cdna_start": 2159,
          "cdna_end": null,
          "cdna_length": 9676,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "ET",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.1968_1970delAAC",
          "hgvs_p": "p.Glu656_Thr657delinsAsp",
          "transcript": "ENST00000450046.2",
          "protein_id": "ENSP00000413354.2",
          "transcript_support_level": 4,
          "aa_start": 656,
          "aa_end": null,
          "aa_length": 1157,
          "cds_start": 1968,
          "cds_end": null,
          "cds_length": 3474,
          "cdna_start": 2275,
          "cdna_end": null,
          "cdna_length": 9700,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "ET",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2127_2129delAAC",
          "hgvs_p": "p.Glu709_Thr710delinsAsp",
          "transcript": "NM_001346898.2",
          "protein_id": "NP_001333827.1",
          "transcript_support_level": null,
          "aa_start": 709,
          "aa_end": null,
          "aa_length": 1136,
          "cds_start": 2127,
          "cds_end": null,
          "cds_length": 3411,
          "cdna_start": 2388,
          "cdna_end": null,
          "cdna_length": 3983,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "ET",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 17,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.1992_1994delAAC",
          "hgvs_p": "p.Glu664_Thr665delinsAsp",
          "transcript": "NM_001346897.2",
          "protein_id": "NP_001333826.1",
          "transcript_support_level": null,
          "aa_start": 664,
          "aa_end": null,
          "aa_length": 1091,
          "cds_start": 1992,
          "cds_end": null,
          "cds_length": 3276,
          "cdna_start": 2253,
          "cdna_end": null,
          "cdna_length": 3848,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "ET",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 12,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.1326_1328delAAC",
          "hgvs_p": "p.Glu442_Thr443delinsAsp",
          "transcript": "NM_001346941.2",
          "protein_id": "NP_001333870.1",
          "transcript_support_level": null,
          "aa_start": 442,
          "aa_end": null,
          "aa_length": 943,
          "cds_start": 1326,
          "cds_end": null,
          "cds_length": 2832,
          "cdna_start": 1587,
          "cdna_end": null,
          "cdna_length": 9104,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "ET",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.474_476delAAC",
          "hgvs_p": "p.Glu158_Thr159delinsAsp",
          "transcript": "ENST00000700145.1",
          "protein_id": "ENSP00000514824.1",
          "transcript_support_level": null,
          "aa_start": 158,
          "aa_end": null,
          "aa_length": 343,
          "cds_start": 474,
          "cds_end": null,
          "cds_length": 1032,
          "cdna_start": 476,
          "cdna_end": null,
          "cdna_length": 1418,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "ET",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.1968_1970delAAC",
          "hgvs_p": "p.Glu656_Thr657delinsAsp",
          "transcript": "XM_047419952.1",
          "protein_id": "XP_047275908.1",
          "transcript_support_level": null,
          "aa_start": 656,
          "aa_end": null,
          "aa_length": 1157,
          "cds_start": 1968,
          "cds_end": null,
          "cds_length": 3474,
          "cdna_start": 40937,
          "cdna_end": null,
          "cdna_length": 48454,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "ET",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "disruptive_inframe_deletion"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.1968_1970delAAC",
          "hgvs_p": "p.Glu656_Thr657delinsAsp",
          "transcript": "XM_047419953.1",
          "protein_id": "XP_047275909.1",
          "transcript_support_level": null,
          "aa_start": 656,
          "aa_end": null,
          "aa_length": 1157,
          "cds_start": 1968,
          "cds_end": null,
          "cds_length": 3474,
          "cdna_start": 3114,
          "cdna_end": null,
          "cdna_length": 10631,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "EGFR",
      "gene_hgnc_id": 3236,
      "dbsnp": "rs397517086",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": 7.831,
      "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": 5,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,PM4_Supporting,PP5_Moderate",
      "acmg_by_gene": [
        {
          "score": 5,
          "benign_score": 0,
          "pathogenic_score": 5,
          "criteria": [
            "PM2",
            "PM4_Supporting",
            "PP5_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000275493.7",
          "gene_symbol": "EGFR",
          "hgnc_id": 3236,
          "effects": [
            "disruptive_inframe_deletion"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.2127_2129delAAC",
          "hgvs_p": "p.Glu709_Thr710delinsAsp"
        }
      ],
      "clinvar_disease": "Non-small cell lung carcinoma",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "P:1",
      "phenotype_combined": "Non-small cell lung carcinoma",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}