← 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-55174792-C-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "7",
      "pos": 55174792,
      "ref": "C",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "ENST00000275493.7",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2255C>G",
          "hgvs_p": "p.Ser752Cys",
          "transcript": "NM_005228.5",
          "protein_id": "NP_005219.2",
          "transcript_support_level": null,
          "aa_start": 752,
          "aa_end": null,
          "aa_length": 1210,
          "cds_start": 2255,
          "cds_end": null,
          "cds_length": 3633,
          "cdna_start": 2516,
          "cdna_end": null,
          "cdna_length": 9905,
          "mane_select": "ENST00000275493.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2255C>G",
          "hgvs_p": "p.Ser752Cys",
          "transcript": "ENST00000275493.7",
          "protein_id": "ENSP00000275493.2",
          "transcript_support_level": 1,
          "aa_start": 752,
          "aa_end": null,
          "aa_length": 1210,
          "cds_start": 2255,
          "cds_end": null,
          "cds_length": 3633,
          "cdna_start": 2516,
          "cdna_end": null,
          "cdna_length": 9905,
          "mane_select": "NM_005228.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2120C>G",
          "hgvs_p": "p.Ser707Cys",
          "transcript": "ENST00000455089.5",
          "protein_id": "ENSP00000415559.1",
          "transcript_support_level": 1,
          "aa_start": 707,
          "aa_end": null,
          "aa_length": 1091,
          "cds_start": 2120,
          "cds_end": null,
          "cds_length": 3276,
          "cdna_start": 2377,
          "cdna_end": null,
          "cdna_length": 3844,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "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.2120C>G",
          "hgvs_p": "p.Ser707Cys",
          "transcript": "NM_001346899.2",
          "protein_id": "NP_001333828.1",
          "transcript_support_level": null,
          "aa_start": 707,
          "aa_end": null,
          "aa_length": 1165,
          "cds_start": 2120,
          "cds_end": null,
          "cds_length": 3498,
          "cdna_start": 2381,
          "cdna_end": null,
          "cdna_length": 9770,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2096C>G",
          "hgvs_p": "p.Ser699Cys",
          "transcript": "NM_001346900.2",
          "protein_id": "NP_001333829.1",
          "transcript_support_level": null,
          "aa_start": 699,
          "aa_end": null,
          "aa_length": 1157,
          "cds_start": 2096,
          "cds_end": null,
          "cds_length": 3474,
          "cdna_start": 2287,
          "cdna_end": null,
          "cdna_length": 9676,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2096C>G",
          "hgvs_p": "p.Ser699Cys",
          "transcript": "ENST00000450046.2",
          "protein_id": "ENSP00000413354.2",
          "transcript_support_level": 4,
          "aa_start": 699,
          "aa_end": null,
          "aa_length": 1157,
          "cds_start": 2096,
          "cds_end": null,
          "cds_length": 3474,
          "cdna_start": 2403,
          "cdna_end": null,
          "cdna_length": 9700,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 27,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2255C>G",
          "hgvs_p": "p.Ser752Cys",
          "transcript": "NM_001346898.2",
          "protein_id": "NP_001333827.1",
          "transcript_support_level": null,
          "aa_start": 752,
          "aa_end": null,
          "aa_length": 1136,
          "cds_start": 2255,
          "cds_end": null,
          "cds_length": 3411,
          "cdna_start": 2516,
          "cdna_end": null,
          "cdna_length": 3983,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 26,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2120C>G",
          "hgvs_p": "p.Ser707Cys",
          "transcript": "NM_001346897.2",
          "protein_id": "NP_001333826.1",
          "transcript_support_level": null,
          "aa_start": 707,
          "aa_end": null,
          "aa_length": 1091,
          "cds_start": 2120,
          "cds_end": null,
          "cds_length": 3276,
          "cdna_start": 2381,
          "cdna_end": null,
          "cdna_length": 3848,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 22,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.1454C>G",
          "hgvs_p": "p.Ser485Cys",
          "transcript": "NM_001346941.2",
          "protein_id": "NP_001333870.1",
          "transcript_support_level": null,
          "aa_start": 485,
          "aa_end": null,
          "aa_length": 943,
          "cds_start": 1454,
          "cds_end": null,
          "cds_length": 2832,
          "cdna_start": 1715,
          "cdna_end": null,
          "cdna_length": 9104,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.602C>G",
          "hgvs_p": "p.Ser201Cys",
          "transcript": "ENST00000700145.1",
          "protein_id": "ENSP00000514824.1",
          "transcript_support_level": null,
          "aa_start": 201,
          "aa_end": null,
          "aa_length": 343,
          "cds_start": 602,
          "cds_end": null,
          "cds_length": 1032,
          "cdna_start": 604,
          "cdna_end": null,
          "cdna_length": 1418,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2096C>G",
          "hgvs_p": "p.Ser699Cys",
          "transcript": "XM_047419952.1",
          "protein_id": "XP_047275908.1",
          "transcript_support_level": null,
          "aa_start": 699,
          "aa_end": null,
          "aa_length": 1157,
          "cds_start": 2096,
          "cds_end": null,
          "cds_length": 3474,
          "cdna_start": 41065,
          "cdna_end": null,
          "cdna_length": 48454,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "C",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 28,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "EGFR",
          "gene_hgnc_id": 3236,
          "hgvs_c": "c.2096C>G",
          "hgvs_p": "p.Ser699Cys",
          "transcript": "XM_047419953.1",
          "protein_id": "XP_047275909.1",
          "transcript_support_level": null,
          "aa_start": 699,
          "aa_end": null,
          "aa_length": 1157,
          "cds_start": 2096,
          "cds_end": null,
          "cds_length": 3474,
          "cdna_start": 3242,
          "cdna_end": null,
          "cdna_length": 10631,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "EGFR",
      "gene_hgnc_id": 3236,
      "dbsnp": "rs121913464",
      "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": 0.8109292387962341,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.722,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.6241,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.08,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 6.082,
      "phylop100way_prediction": "Uncertain_significance",
      "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": "PM1,PM2,PP3",
      "acmg_by_gene": [
        {
          "score": 5,
          "benign_score": 0,
          "pathogenic_score": 5,
          "criteria": [
            "PM1",
            "PM2",
            "PP3"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000275493.7",
          "gene_symbol": "EGFR",
          "hgnc_id": 3236,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.2255C>G",
          "hgvs_p": "p.Ser752Cys"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}