← 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: X-77830970-T-TTTTTATTTTATTTTA (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "X",
      "pos": 77830970,
      "ref": "T",
      "alt": "TTTTTATTTTATTTTA",
      "effect": "intron_variant",
      "transcript": "NM_032121.5",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": 8,
          "intron_rank_end": null,
          "gene_symbol": "MAGT1",
          "gene_hgnc_id": 28880,
          "hgvs_c": "c.902-90_902-76dupTAAAATAAAATAAAA",
          "hgvs_p": null,
          "transcript": "NM_001367916.1",
          "protein_id": "NP_001354845.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 335,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1008,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000618282.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001367916.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": 8,
          "intron_rank_end": null,
          "gene_symbol": "MAGT1",
          "gene_hgnc_id": 28880,
          "hgvs_c": "c.902-76_902-75insTAAAATAAAATAAAA",
          "hgvs_p": null,
          "transcript": "ENST00000618282.5",
          "protein_id": "ENSP00000480732.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 335,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1008,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_001367916.1",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000618282.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": 8,
          "intron_rank_end": null,
          "gene_symbol": "MAGT1",
          "gene_hgnc_id": 28880,
          "hgvs_c": "c.902-76_902-75insTAAAATAAAATAAAA",
          "hgvs_p": null,
          "transcript": "ENST00000358075.11",
          "protein_id": "ENSP00000354649.6",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 335,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1008,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000358075.11"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": 8,
          "intron_rank_end": null,
          "gene_symbol": "MAGT1",
          "gene_hgnc_id": 28880,
          "hgvs_c": "c.998-90_998-76dupTAAAATAAAATAAAA",
          "hgvs_p": null,
          "transcript": "NM_032121.5",
          "protein_id": "NP_115497.4",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 367,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 1104,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_032121.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 8,
          "intron_rank_end": null,
          "gene_symbol": "MAGT1",
          "gene_hgnc_id": 28880,
          "hgvs_c": "c.902-4162_902-4161insTAAAATAAAATAAAA",
          "hgvs_p": null,
          "transcript": "ENST00000685015.1",
          "protein_id": "ENSP00000509969.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 312,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 939,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000685015.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "MAGT1",
          "gene_hgnc_id": 28880,
          "hgvs_c": "c.812-76_812-75insTAAAATAAAATAAAA",
          "hgvs_p": null,
          "transcript": "ENST00000688650.1",
          "protein_id": "ENSP00000509785.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 305,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 918,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000688650.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 8,
          "intron_rank_end": null,
          "gene_symbol": "MAGT1",
          "gene_hgnc_id": 28880,
          "hgvs_c": "c.902-1736_902-1735insTAAAATAAAATAAAA",
          "hgvs_p": null,
          "transcript": "ENST00000689519.1",
          "protein_id": "ENSP00000509887.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 302,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 909,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000689519.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "MAGT1",
          "gene_hgnc_id": 28880,
          "hgvs_c": "c.761-76_761-75insTAAAATAAAATAAAA",
          "hgvs_p": null,
          "transcript": "ENST00000944450.1",
          "protein_id": "ENSP00000614509.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 288,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 867,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000944450.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 7,
          "intron_rank_end": null,
          "gene_symbol": "MAGT1",
          "gene_hgnc_id": 28880,
          "hgvs_c": "c.812-1736_812-1735insTAAAATAAAATAAAA",
          "hgvs_p": null,
          "transcript": "ENST00000685353.1",
          "protein_id": "ENSP00000510266.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 272,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 819,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000685353.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "MAGT1",
          "gene_hgnc_id": 28880,
          "hgvs_c": "c.620-76_620-75insTAAAATAAAATAAAA",
          "hgvs_p": null,
          "transcript": "ENST00000692161.1",
          "protein_id": "ENSP00000509676.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 241,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 726,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000692161.1"
        },
        {
          "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": 11,
          "intron_rank": 8,
          "intron_rank_end": null,
          "gene_symbol": "MAGT1",
          "gene_hgnc_id": 28880,
          "hgvs_c": "n.800-76_800-75insTAAAATAAAATAAAA",
          "hgvs_p": null,
          "transcript": "ENST00000689137.1",
          "protein_id": "ENSP00000509458.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000689137.1"
        },
        {
          "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": 13,
          "intron_rank": 10,
          "intron_rank_end": null,
          "gene_symbol": "MAGT1",
          "gene_hgnc_id": 28880,
          "hgvs_c": "n.800-76_800-75insTAAAATAAAATAAAA",
          "hgvs_p": null,
          "transcript": "ENST00000691172.1",
          "protein_id": "ENSP00000508529.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000691172.1"
        },
        {
          "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": 11,
          "intron_rank": 8,
          "intron_rank_end": null,
          "gene_symbol": "MAGT1",
          "gene_hgnc_id": 28880,
          "hgvs_c": "n.998-76_998-75insTAAAATAAAATAAAA",
          "hgvs_p": null,
          "transcript": "ENST00000691993.1",
          "protein_id": "ENSP00000509067.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000691993.1"
        }
      ],
      "gene_symbol": "MAGT1",
      "gene_hgnc_id": 28880,
      "dbsnp": "rs201564456",
      "frequency_reference_population": 0.0009585522,
      "hom_count_reference_population": 19,
      "allele_count_reference_population": 175,
      "gnomad_exomes_af": 0.000209721,
      "gnomad_genomes_af": 0.00177748,
      "gnomad_exomes_ac": 20,
      "gnomad_genomes_ac": 155,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": null,
      "splice_prediction_selected": null,
      "splice_source_selected": null,
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": -0.701,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": null,
      "spliceai_max_prediction": null,
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -4,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BS2",
      "acmg_by_gene": [
        {
          "score": -4,
          "benign_score": 4,
          "pathogenic_score": 0,
          "criteria": [
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_032121.5",
          "gene_symbol": "MAGT1",
          "hgnc_id": 28880,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "XL,Unknown",
          "hgvs_c": "c.998-90_998-76dupTAAAATAAAATAAAA",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}