← 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: 1-202599351-T-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 202599351,
      "ref": "T",
      "alt": "G",
      "effect": "missense_variant,splice_region_variant",
      "transcript": "ENST00000367268.5",
      "consequences": [
        {
          "aa_ref": "D",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYT2",
          "gene_hgnc_id": 11510,
          "hgvs_c": "c.920A>C",
          "hgvs_p": "p.Asp307Ala",
          "transcript": "NM_177402.5",
          "protein_id": "NP_796376.2",
          "transcript_support_level": null,
          "aa_start": 307,
          "aa_end": null,
          "aa_length": 419,
          "cds_start": 920,
          "cds_end": null,
          "cds_length": 1260,
          "cdna_start": 1134,
          "cdna_end": null,
          "cdna_length": 7635,
          "mane_select": "ENST00000367268.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "A",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYT2",
          "gene_hgnc_id": 11510,
          "hgvs_c": "c.920A>C",
          "hgvs_p": "p.Asp307Ala",
          "transcript": "ENST00000367268.5",
          "protein_id": "ENSP00000356237.4",
          "transcript_support_level": 1,
          "aa_start": 307,
          "aa_end": null,
          "aa_length": 419,
          "cds_start": 920,
          "cds_end": null,
          "cds_length": 1260,
          "cdna_start": 1134,
          "cdna_end": null,
          "cdna_length": 7635,
          "mane_select": "NM_177402.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYT2",
          "gene_hgnc_id": 11510,
          "hgvs_c": "c.920A>C",
          "hgvs_p": "p.Asp307Ala",
          "transcript": "NM_001136504.1",
          "protein_id": "NP_001129976.1",
          "transcript_support_level": null,
          "aa_start": 307,
          "aa_end": null,
          "aa_length": 419,
          "cds_start": 920,
          "cds_end": null,
          "cds_length": 1260,
          "cdna_start": 1113,
          "cdna_end": null,
          "cdna_length": 7614,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYT2",
          "gene_hgnc_id": 11510,
          "hgvs_c": "c.920A>C",
          "hgvs_p": "p.Asp307Ala",
          "transcript": "ENST00000367267.5",
          "protein_id": "ENSP00000356236.1",
          "transcript_support_level": 2,
          "aa_start": 307,
          "aa_end": null,
          "aa_length": 419,
          "cds_start": 920,
          "cds_end": null,
          "cds_length": 1260,
          "cdna_start": 1113,
          "cdna_end": null,
          "cdna_length": 7614,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYT2",
          "gene_hgnc_id": 11510,
          "hgvs_c": "c.1100A>C",
          "hgvs_p": "p.Asp367Ala",
          "transcript": "XM_017000309.3",
          "protein_id": "XP_016855798.1",
          "transcript_support_level": null,
          "aa_start": 367,
          "aa_end": null,
          "aa_length": 479,
          "cds_start": 1100,
          "cds_end": null,
          "cds_length": 1440,
          "cdna_start": 4097,
          "cdna_end": null,
          "cdna_length": 10598,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYT2",
          "gene_hgnc_id": 11510,
          "hgvs_c": "c.1091A>C",
          "hgvs_p": "p.Asp364Ala",
          "transcript": "XM_017000310.3",
          "protein_id": "XP_016855799.1",
          "transcript_support_level": null,
          "aa_start": 364,
          "aa_end": null,
          "aa_length": 476,
          "cds_start": 1091,
          "cds_end": null,
          "cds_length": 1431,
          "cdna_start": 4088,
          "cdna_end": null,
          "cdna_length": 10589,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYT2",
          "gene_hgnc_id": 11510,
          "hgvs_c": "c.929A>C",
          "hgvs_p": "p.Asp310Ala",
          "transcript": "XM_011509192.3",
          "protein_id": "XP_011507494.1",
          "transcript_support_level": null,
          "aa_start": 310,
          "aa_end": null,
          "aa_length": 422,
          "cds_start": 929,
          "cds_end": null,
          "cds_length": 1269,
          "cdna_start": 1143,
          "cdna_end": null,
          "cdna_length": 7644,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYT2",
          "gene_hgnc_id": 11510,
          "hgvs_c": "c.929A>C",
          "hgvs_p": "p.Asp310Ala",
          "transcript": "XM_017000311.3",
          "protein_id": "XP_016855800.1",
          "transcript_support_level": null,
          "aa_start": 310,
          "aa_end": null,
          "aa_length": 422,
          "cds_start": 929,
          "cds_end": null,
          "cds_length": 1269,
          "cdna_start": 1122,
          "cdna_end": null,
          "cdna_length": 7623,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYT2",
          "gene_hgnc_id": 11510,
          "hgvs_c": "c.929A>C",
          "hgvs_p": "p.Asp310Ala",
          "transcript": "XM_017000312.2",
          "protein_id": "XP_016855801.1",
          "transcript_support_level": null,
          "aa_start": 310,
          "aa_end": null,
          "aa_length": 422,
          "cds_start": 929,
          "cds_end": null,
          "cds_length": 1269,
          "cdna_start": 1320,
          "cdna_end": null,
          "cdna_length": 7821,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "D",
          "aa_alt": "A",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant",
            "splice_region_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SYT2",
          "gene_hgnc_id": 11510,
          "hgvs_c": "c.920A>C",
          "hgvs_p": "p.Asp307Ala",
          "transcript": "XM_017000313.2",
          "protein_id": "XP_016855802.1",
          "transcript_support_level": null,
          "aa_start": 307,
          "aa_end": null,
          "aa_length": 419,
          "cds_start": 920,
          "cds_end": null,
          "cds_length": 1260,
          "cdna_start": 1309,
          "cdna_end": null,
          "cdna_length": 7810,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SYT2",
      "gene_hgnc_id": 11510,
      "dbsnp": "rs587777781",
      "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.9883069396018982,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.5339999794960022,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "dbscSNV1_RF",
      "revel_score": 0.977,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.9972,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.36,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 7.94,
      "phylop100way_prediction": "Pathogenic",
      "spliceai_max_score": 0.01,
      "spliceai_max_prediction": "Benign",
      "dbscsnv_ada_score": 0.504562965952729,
      "dbscsnv_ada_prediction": "Benign",
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": 10,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PM1,PM2,PP2,PP3_Strong,PP5",
      "acmg_by_gene": [
        {
          "score": 10,
          "benign_score": 0,
          "pathogenic_score": 10,
          "criteria": [
            "PM1",
            "PM2",
            "PP2",
            "PP3_Strong",
            "PP5"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000367268.5",
          "gene_symbol": "SYT2",
          "hgnc_id": 11510,
          "effects": [
            "missense_variant",
            "splice_region_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.920A>C",
          "hgvs_p": "p.Asp307Ala"
        }
      ],
      "clinvar_disease": "Congenital myasthenic syndrome 7",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "Congenital myasthenic syndrome 7",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}