← 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-57500410-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 57500410,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "ENST00000262027.10",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.1181G>A",
          "hgvs_p": "p.Arg394His",
          "transcript": "NM_004990.4",
          "protein_id": "NP_004981.2",
          "transcript_support_level": null,
          "aa_start": 394,
          "aa_end": null,
          "aa_length": 900,
          "cds_start": 1181,
          "cds_end": null,
          "cds_length": 2703,
          "cdna_start": 1204,
          "cdna_end": null,
          "cdna_length": 2797,
          "mane_select": "ENST00000262027.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "H",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.1181G>A",
          "hgvs_p": "p.Arg394His",
          "transcript": "ENST00000262027.10",
          "protein_id": "ENSP00000262027.5",
          "transcript_support_level": 1,
          "aa_start": 394,
          "aa_end": null,
          "aa_length": 900,
          "cds_start": 1181,
          "cds_end": null,
          "cds_length": 2703,
          "cdna_start": 1204,
          "cdna_end": null,
          "cdna_length": 2797,
          "mane_select": "NM_004990.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.677G>A",
          "hgvs_p": "p.Arg226His",
          "transcript": "ENST00000552371.1",
          "protein_id": "ENSP00000447914.1",
          "transcript_support_level": 3,
          "aa_start": 226,
          "aa_end": null,
          "aa_length": 231,
          "cds_start": 677,
          "cds_end": null,
          "cds_length": 697,
          "cdna_start": 679,
          "cdna_end": null,
          "cdna_length": 699,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.53G>A",
          "hgvs_p": "p.Arg18His",
          "transcript": "ENST00000548944.1",
          "protein_id": "ENSP00000449071.1",
          "transcript_support_level": 3,
          "aa_start": 18,
          "aa_end": null,
          "aa_length": 58,
          "cds_start": 53,
          "cds_end": null,
          "cds_length": 177,
          "cdna_start": 53,
          "cdna_end": null,
          "cdna_length": 294,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.479G>A",
          "hgvs_p": "p.Arg160His",
          "transcript": "XM_047428851.1",
          "protein_id": "XP_047284807.1",
          "transcript_support_level": null,
          "aa_start": 160,
          "aa_end": null,
          "aa_length": 666,
          "cds_start": 479,
          "cds_end": null,
          "cds_length": 2001,
          "cdna_start": 759,
          "cdna_end": null,
          "cdna_length": 2352,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.1181G>A",
          "hgvs_p": "p.Arg394His",
          "transcript": "XM_047428852.1",
          "protein_id": "XP_047284808.1",
          "transcript_support_level": null,
          "aa_start": 394,
          "aa_end": null,
          "aa_length": 546,
          "cds_start": 1181,
          "cds_end": null,
          "cds_length": 1641,
          "cdna_start": 1204,
          "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": false,
          "strand": true,
          "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": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.823G>A",
          "hgvs_p": null,
          "transcript": "ENST00000447721.6",
          "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": 1328,
          "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": 11,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.1181G>A",
          "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": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.*682G>A",
          "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": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.297G>A",
          "hgvs_p": null,
          "transcript": "ENST00000549827.1",
          "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": 465,
          "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": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.*546G>A",
          "hgvs_p": null,
          "transcript": "ENST00000551892.1",
          "protein_id": "ENSP00000450018.1",
          "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": 748,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.*682G>A",
          "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": false,
          "strand": true,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.*682G>A",
          "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": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.*546G>A",
          "hgvs_p": null,
          "transcript": "ENST00000551892.1",
          "protein_id": "ENSP00000450018.1",
          "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": 748,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "MARS1",
      "gene_hgnc_id": 6898,
      "dbsnp": "rs769544594",
      "frequency_reference_population": 0.000044611876,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 72,
      "gnomad_exomes_af": 0.0000396758,
      "gnomad_genomes_af": 0.0000920629,
      "gnomad_exomes_ac": 58,
      "gnomad_genomes_ac": 14,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.645951509475708,
      "computational_prediction_selected": "Uncertain_significance",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.823,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.2741,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.18,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 7.475,
      "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": 0,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "",
      "acmg_by_gene": [
        {
          "score": 0,
          "benign_score": 0,
          "pathogenic_score": 0,
          "criteria": [],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000262027.10",
          "gene_symbol": "MARS1",
          "hgnc_id": 6898,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "Unknown,AD,AR",
          "hgvs_c": "c.1181G>A",
          "hgvs_p": "p.Arg394His"
        }
      ],
      "clinvar_disease": "Charcot-Marie-Tooth disease axonal type 2U,Severe early-onset pulmonary alveolar proteinosis due to MARS deficiency,not specified",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "US:2",
      "phenotype_combined": "Charcot-Marie-Tooth disease axonal type 2U;Severe early-onset pulmonary alveolar proteinosis due to MARS deficiency|not specified",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}