← 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: 12-57512750-G-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 57512750,
      "ref": "G",
      "alt": "C",
      "effect": "splice_acceptor_variant,intron_variant",
      "transcript": "NM_004990.4",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": 14,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.1754-1G>C",
          "hgvs_p": null,
          "transcript": "NM_004990.4",
          "protein_id": "NP_004981.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 900,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2703,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2797,
          "mane_select": "ENST00000262027.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": 14,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.1754-1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000262027.10",
          "protein_id": "ENSP00000262027.5",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 900,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2703,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2797,
          "mane_select": "NM_004990.4",
          "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": 1,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.260G>C",
          "hgvs_p": null,
          "transcript": "ENST00000548202.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": 796,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MIR6758",
          "gene_hgnc_id": 50038,
          "hgvs_c": "n.63G>C",
          "hgvs_p": null,
          "transcript": "ENST00000620653.1",
          "protein_id": null,
          "transcript_support_level": 6,
          "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": 63,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MIR6758",
          "gene_hgnc_id": 50038,
          "hgvs_c": "n.63G>C",
          "hgvs_p": null,
          "transcript": "NR_106816.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": 63,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": null,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MIR6758",
          "gene_hgnc_id": 50038,
          "hgvs_c": "n.20G>C",
          "hgvs_p": null,
          "transcript": "unassigned_transcript_2015",
          "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": 20,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": 12,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.*1255-1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000628866.2",
          "protein_id": "ENSP00000486738.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 95,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 288,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2583,
          "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": 2,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.134-3745G>C",
          "hgvs_p": null,
          "transcript": "ENST00000548944.1",
          "protein_id": "ENSP00000449071.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 58,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 177,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 294,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": 15,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.*46-1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000537638.6",
          "protein_id": "ENSP00000446168.2",
          "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": 3592,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": 13,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.*1255-1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000545888.6",
          "protein_id": "ENSP00000439307.2",
          "transcript_support_level": 5,
          "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": 2979,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.498-1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000546971.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": 711,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.419-1G>C",
          "hgvs_p": null,
          "transcript": "ENST00000549048.1",
          "protein_id": null,
          "transcript_support_level": 3,
          "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": 755,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": 10,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.1052-1G>C",
          "hgvs_p": null,
          "transcript": "XM_047428851.1",
          "protein_id": "XP_047284807.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 666,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 2001,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2352,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": 14,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.*46-1G>C",
          "hgvs_p": null,
          "transcript": "XM_047428852.1",
          "protein_id": "XP_047284808.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 546,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1641,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1728,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.-180G>C",
          "hgvs_p": null,
          "transcript": "ENST00000552914.5",
          "protein_id": "ENSP00000449787.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 219,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 660,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 734,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": null,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MIR6758",
          "gene_hgnc_id": 50038,
          "hgvs_c": "n.*35G>C",
          "hgvs_p": null,
          "transcript": "unassigned_transcript_2014",
          "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": 23,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "MARS1",
      "gene_hgnc_id": 6898,
      "dbsnp": "rs1594833474",
      "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.2800000011920929,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.9279999732971191,
      "splice_prediction_selected": "Pathogenic",
      "splice_source_selected": "dbscSNV1_RF",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.28,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 9.416,
      "phylop100way_prediction": "Pathogenic",
      "spliceai_max_score": 1,
      "spliceai_max_prediction": "Pathogenic",
      "dbscsnv_ada_score": 0.999990361384395,
      "dbscsnv_ada_prediction": "Pathogenic",
      "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": "NM_004990.4",
          "gene_symbol": "MARS1",
          "hgnc_id": 6898,
          "effects": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "inheritance_mode": "Unknown,AD,AR",
          "hgvs_c": "c.1754-1G>C",
          "hgvs_p": null
        },
        {
          "score": 6,
          "benign_score": 0,
          "pathogenic_score": 6,
          "criteria": [
            "PM2",
            "PP3_Strong"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "NR_106816.1",
          "gene_symbol": "MIR6758",
          "hgnc_id": 50038,
          "effects": [
            "splice_region_variant",
            "non_coding_transcript_exon_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.63G>C",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Charcot-Marie-Tooth disease axonal type 2U,Severe early-onset pulmonary alveolar proteinosis due to MARS deficiency",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "Charcot-Marie-Tooth disease axonal type 2U;Severe early-onset pulmonary alveolar proteinosis due to MARS deficiency",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}