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

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 57516313,
      "ref": "G",
      "alt": "A",
      "effect": "synonymous_variant",
      "transcript": "ENST00000262027.10",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.2532G>A",
          "hgvs_p": "p.Ala844Ala",
          "transcript": "NM_004990.4",
          "protein_id": "NP_004981.2",
          "transcript_support_level": null,
          "aa_start": 844,
          "aa_end": null,
          "aa_length": 900,
          "cds_start": 2532,
          "cds_end": null,
          "cds_length": 2703,
          "cdna_start": 2555,
          "cdna_end": null,
          "cdna_length": 2797,
          "mane_select": "ENST00000262027.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.2532G>A",
          "hgvs_p": "p.Ala844Ala",
          "transcript": "ENST00000262027.10",
          "protein_id": "ENSP00000262027.5",
          "transcript_support_level": 1,
          "aa_start": 844,
          "aa_end": null,
          "aa_length": 900,
          "cds_start": 2532,
          "cds_end": null,
          "cds_length": 2703,
          "cdna_start": 2555,
          "cdna_end": null,
          "cdna_length": 2797,
          "mane_select": "NM_004990.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.489G>A",
          "hgvs_p": "p.Ala163Ala",
          "transcript": "ENST00000552914.5",
          "protein_id": "ENSP00000449787.1",
          "transcript_support_level": 3,
          "aa_start": 163,
          "aa_end": null,
          "aa_length": 219,
          "cds_start": 489,
          "cds_end": null,
          "cds_length": 660,
          "cdna_start": 489,
          "cdna_end": null,
          "cdna_length": 734,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.327G>A",
          "hgvs_p": "p.Ala109Ala",
          "transcript": "ENST00000547665.5",
          "protein_id": "ENSP00000448910.1",
          "transcript_support_level": 2,
          "aa_start": 109,
          "aa_end": null,
          "aa_length": 118,
          "cds_start": 327,
          "cds_end": null,
          "cds_length": 357,
          "cdna_start": 328,
          "cdna_end": null,
          "cdna_length": 670,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 16,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.1830G>A",
          "hgvs_p": "p.Ala610Ala",
          "transcript": "XM_047428851.1",
          "protein_id": "XP_047284807.1",
          "transcript_support_level": null,
          "aa_start": 610,
          "aa_end": null,
          "aa_length": 666,
          "cds_start": 1830,
          "cds_end": null,
          "cds_length": 2001,
          "cdna_start": 2110,
          "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": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 21,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.*824G>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": 18,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.*2286G>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": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.*89G>A",
          "hgvs_p": null,
          "transcript": "ENST00000551172.1",
          "protein_id": "ENSP00000448378.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": 699,
          "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": 4,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.*71G>A",
          "hgvs_p": null,
          "transcript": "ENST00000552499.5",
          "protein_id": "ENSP00000447335.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": 555,
          "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": 18,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "c.*2033G>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": 21,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.*824G>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": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.*2286G>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": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.*89G>A",
          "hgvs_p": null,
          "transcript": "ENST00000551172.1",
          "protein_id": "ENSP00000448378.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": 699,
          "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": 4,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MARS1",
          "gene_hgnc_id": 6898,
          "hgvs_c": "n.*71G>A",
          "hgvs_p": null,
          "transcript": "ENST00000552499.5",
          "protein_id": "ENSP00000447335.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": 555,
          "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-182G>A",
          "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
        }
      ],
      "gene_symbol": "MARS1",
      "gene_hgnc_id": 6898,
      "dbsnp": "rs73344102",
      "frequency_reference_population": 0.002027098,
      "hom_count_reference_population": 52,
      "allele_count_reference_population": 3272,
      "gnomad_exomes_af": 0.00117863,
      "gnomad_genomes_af": 0.0101734,
      "gnomad_exomes_ac": 1723,
      "gnomad_genomes_ac": 1549,
      "gnomad_exomes_homalt": 26,
      "gnomad_genomes_homalt": 26,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.032999999821186066,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "REVEL",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.033,
      "revel_prediction": "Benign",
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.68,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.19,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.01,
      "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": -19,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Moderate,BP6_Very_Strong,BP7,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -19,
          "benign_score": 19,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate",
            "BP6_Very_Strong",
            "BP7",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000262027.10",
          "gene_symbol": "MARS1",
          "hgnc_id": 6898,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "Unknown,AD,AR",
          "hgvs_c": "c.2532G>A",
          "hgvs_p": "p.Ala844Ala"
        }
      ],
      "clinvar_disease": "Charcot-Marie-Tooth disease,Charcot-Marie-Tooth disease axonal type 2U,Severe early-onset pulmonary alveolar proteinosis due to MARS deficiency,not provided,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:5",
      "phenotype_combined": "not specified|Severe early-onset pulmonary alveolar proteinosis due to MARS deficiency;Charcot-Marie-Tooth disease axonal type 2U|Charcot-Marie-Tooth disease|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}