← 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: 4-119135991-G-GT (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "4",
      "pos": 119135991,
      "ref": "G",
      "alt": "GT",
      "effect": "intron_variant",
      "transcript": "NM_016599.5",
      "consequences": [
        {
          "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": 6,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MYOZ2",
          "gene_hgnc_id": 1330,
          "hgvs_c": "c.-15+11dupT",
          "hgvs_p": null,
          "transcript": "NM_016599.5",
          "protein_id": "NP_057683.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 264,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 795,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000307128.6",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_016599.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MYOZ2",
          "gene_hgnc_id": 1330,
          "hgvs_c": "c.-15+9_-15+10insT",
          "hgvs_p": null,
          "transcript": "ENST00000307128.6",
          "protein_id": "ENSP00000306997.6",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 264,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 795,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_016599.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000307128.6"
        },
        {
          "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": 7,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MYOZ2",
          "gene_hgnc_id": 1330,
          "hgvs_c": "c.-15+9_-15+10insT",
          "hgvs_p": null,
          "transcript": "ENST00000958711.1",
          "protein_id": "ENSP00000628770.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 295,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 888,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000958711.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MYOZ2",
          "gene_hgnc_id": 1330,
          "hgvs_c": "c.-15+5_-15+6insT",
          "hgvs_p": null,
          "transcript": "ENST00000890356.1",
          "protein_id": "ENSP00000560415.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 264,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 795,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000890356.1"
        },
        {
          "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": 6,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MYOZ2",
          "gene_hgnc_id": 1330,
          "hgvs_c": "c.-14-521_-14-520insT",
          "hgvs_p": null,
          "transcript": "ENST00000958709.1",
          "protein_id": "ENSP00000628768.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 264,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 795,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000958709.1"
        },
        {
          "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": 6,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MYOZ2",
          "gene_hgnc_id": 1330,
          "hgvs_c": "c.-15+9_-15+10insT",
          "hgvs_p": null,
          "transcript": "ENST00000890353.1",
          "protein_id": "ENSP00000560412.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 258,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 777,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000890353.1"
        },
        {
          "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": 6,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MYOZ2",
          "gene_hgnc_id": 1330,
          "hgvs_c": "c.-15+9_-15+10insT",
          "hgvs_p": null,
          "transcript": "ENST00000890355.1",
          "protein_id": "ENSP00000560414.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 217,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 654,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000890355.1"
        },
        {
          "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": 7,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MYOZ2",
          "gene_hgnc_id": 1330,
          "hgvs_c": "c.-15+11dupT",
          "hgvs_p": null,
          "transcript": "NM_001440645.1",
          "protein_id": "NP_001427574.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 210,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 633,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001440645.1"
        },
        {
          "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": 6,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "MYOZ2",
          "gene_hgnc_id": 1330,
          "hgvs_c": "c.-15+11dupT",
          "hgvs_p": null,
          "transcript": "NM_001440646.1",
          "protein_id": "NP_001427575.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 195,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 588,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_001440646.1"
        },
        {
          "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": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYOZ2",
          "gene_hgnc_id": 1330,
          "hgvs_c": "c.-202_-201insT",
          "hgvs_p": null,
          "transcript": "ENST00000958710.1",
          "protein_id": "ENSP00000628769.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 264,
          "cds_start": null,
          "cds_end": null,
          "cds_length": 795,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000958710.1"
        }
      ],
      "gene_symbol": "MYOZ2",
      "gene_hgnc_id": 1330,
      "dbsnp": "rs58371596",
      "frequency_reference_population": 0.018203499,
      "hom_count_reference_population": 37,
      "allele_count_reference_population": 2992,
      "gnomad_exomes_af": 0.00872093,
      "gnomad_genomes_af": 0.018953,
      "gnomad_exomes_ac": 105,
      "gnomad_genomes_ac": 2887,
      "gnomad_exomes_homalt": 1,
      "gnomad_genomes_homalt": 36,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": -0.696,
      "phylop100way_prediction": "Benign",
      "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": -16,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP6_Very_Strong,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -16,
          "benign_score": 16,
          "pathogenic_score": 0,
          "criteria": [
            "BP6_Very_Strong",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "NM_016599.5",
          "gene_symbol": "MYOZ2",
          "hgnc_id": 1330,
          "effects": [
            "intron_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.-15+11dupT",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Hypertrophic cardiomyopathy,Hypertrophic cardiomyopathy 16,not provided",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:2 B:1",
      "phenotype_combined": "Hypertrophic cardiomyopathy|not provided|Hypertrophic cardiomyopathy 16",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}