← 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: 1-150511475-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 150511475,
      "ref": "C",
      "alt": "T",
      "effect": "stop_gained",
      "transcript": "ENST00000369047.9",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ECM1",
          "gene_hgnc_id": 3153,
          "hgvs_c": "c.727C>T",
          "hgvs_p": "p.Arg243*",
          "transcript": "NM_004425.4",
          "protein_id": "NP_004416.2",
          "transcript_support_level": null,
          "aa_start": 243,
          "aa_end": null,
          "aa_length": 540,
          "cds_start": 727,
          "cds_end": null,
          "cds_length": 1623,
          "cdna_start": 828,
          "cdna_end": null,
          "cdna_length": 2046,
          "mane_select": "ENST00000369047.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ECM1",
          "gene_hgnc_id": 3153,
          "hgvs_c": "c.727C>T",
          "hgvs_p": "p.Arg243*",
          "transcript": "ENST00000369047.9",
          "protein_id": "ENSP00000358043.4",
          "transcript_support_level": 1,
          "aa_start": 243,
          "aa_end": null,
          "aa_length": 540,
          "cds_start": 727,
          "cds_end": null,
          "cds_length": 1623,
          "cdna_start": 828,
          "cdna_end": null,
          "cdna_length": 2046,
          "mane_select": "NM_004425.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "ECM1",
          "gene_hgnc_id": 3153,
          "hgvs_c": "c.708+277C>T",
          "hgvs_p": null,
          "transcript": "ENST00000346569.6",
          "protein_id": "ENSP00000271630.6",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 415,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1248,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1444,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ECM1",
          "gene_hgnc_id": 3153,
          "hgvs_c": "c.808C>T",
          "hgvs_p": "p.Arg270*",
          "transcript": "NM_001202858.2",
          "protein_id": "NP_001189787.1",
          "transcript_support_level": null,
          "aa_start": 270,
          "aa_end": null,
          "aa_length": 567,
          "cds_start": 808,
          "cds_end": null,
          "cds_length": 1704,
          "cdna_start": 909,
          "cdna_end": null,
          "cdna_length": 2127,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ECM1",
          "gene_hgnc_id": 3153,
          "hgvs_c": "c.808C>T",
          "hgvs_p": "p.Arg270*",
          "transcript": "ENST00000369049.8",
          "protein_id": "ENSP00000358045.4",
          "transcript_support_level": 2,
          "aa_start": 270,
          "aa_end": null,
          "aa_length": 567,
          "cds_start": 808,
          "cds_end": null,
          "cds_length": 1704,
          "cdna_start": 942,
          "cdna_end": null,
          "cdna_length": 1925,
          "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": 3,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ECM1",
          "gene_hgnc_id": 3153,
          "hgvs_c": "n.2084C>T",
          "hgvs_p": null,
          "transcript": "ENST00000470432.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": 3066,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "ECM1",
          "gene_hgnc_id": 3153,
          "hgvs_c": "c.708+277C>T",
          "hgvs_p": null,
          "transcript": "NM_022664.3",
          "protein_id": "NP_073155.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 415,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1248,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1671,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000307101",
          "gene_hgnc_id": null,
          "hgvs_c": "n.286-860G>A",
          "hgvs_p": null,
          "transcript": "ENST00000823869.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": 695,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000307101",
          "gene_hgnc_id": null,
          "hgvs_c": "n.305-1121G>A",
          "hgvs_p": null,
          "transcript": "ENST00000823870.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": 816,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "ENSG00000307101",
          "gene_hgnc_id": null,
          "hgvs_c": "n.120-1121G>A",
          "hgvs_p": null,
          "transcript": "ENST00000823872.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": 431,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "ECM1",
      "gene_hgnc_id": 3153,
      "dbsnp": "rs746217361",
      "frequency_reference_population": 0.000021685684,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 35,
      "gnomad_exomes_af": 0.0000205218,
      "gnomad_genomes_af": 0.0000328709,
      "gnomad_exomes_ac": 30,
      "gnomad_genomes_ac": 5,
      "gnomad_exomes_homalt": 0,
      "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.019999999552965164,
      "splice_prediction_selected": "Benign",
      "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": 0.312,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.02,
      "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": 10,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PM2",
      "acmg_by_gene": [
        {
          "score": 10,
          "benign_score": 0,
          "pathogenic_score": 10,
          "criteria": [
            "PVS1",
            "PM2"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000369047.9",
          "gene_symbol": "ECM1",
          "hgnc_id": 3153,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.727C>T",
          "hgvs_p": "p.Arg243*"
        },
        {
          "score": 6,
          "benign_score": 0,
          "pathogenic_score": 6,
          "criteria": [
            "PM2",
            "PP3_Strong"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "ENST00000823869.1",
          "gene_symbol": "ENSG00000307101",
          "hgnc_id": null,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.286-860G>A",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Lipid proteinosis",
      "clinvar_classification": "not provided",
      "clinvar_review_status": "no classification provided",
      "clinvar_submissions_summary": "O:1",
      "phenotype_combined": "Lipid proteinosis",
      "pathogenicity_classification_combined": "not provided",
      "custom_annotations": null
    }
  ],
  "message": null
}