← 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: 16-30997067-G-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "16",
      "pos": 30997067,
      "ref": "G",
      "alt": "C",
      "effect": "splice_region_variant,intron_variant",
      "transcript": "ENST00000215095.11",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "STX1B",
          "gene_hgnc_id": 18539,
          "hgvs_c": "c.355-8C>G",
          "hgvs_p": null,
          "transcript": "NM_052874.5",
          "protein_id": "NP_443106.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 288,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 867,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4674,
          "mane_select": "ENST00000215095.11",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "STX1B",
          "gene_hgnc_id": 18539,
          "hgvs_c": "c.355-8C>G",
          "hgvs_p": null,
          "transcript": "ENST00000215095.11",
          "protein_id": "ENSP00000215095.5",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 288,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 867,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4674,
          "mane_select": "NM_052874.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "STX1B",
          "gene_hgnc_id": 18539,
          "hgvs_c": "c.355-8C>G",
          "hgvs_p": null,
          "transcript": "ENST00000565419.2",
          "protein_id": "ENSP00000455899.1",
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 277,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 834,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 834,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "STX1B",
          "gene_hgnc_id": 18539,
          "hgvs_c": "c.337-8C>G",
          "hgvs_p": null,
          "transcript": "XM_017022893.2",
          "protein_id": "XP_016878382.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 282,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 849,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 4478,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "STX1B",
          "gene_hgnc_id": 18539,
          "hgvs_c": "n.-23C>G",
          "hgvs_p": null,
          "transcript": "ENST00000566211.1",
          "protein_id": null,
          "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": 652,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "STX1B",
      "gene_hgnc_id": 18539,
      "dbsnp": "rs772649813",
      "frequency_reference_population": 0.000027621916,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 44,
      "gnomad_exomes_af": 0.0000298426,
      "gnomad_genomes_af": 0.00000657704,
      "gnomad_exomes_ac": 43,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.6899999976158142,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.2460000067949295,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "dbscSNV1_RF",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.69,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.155,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.05,
      "spliceai_max_prediction": "Benign",
      "dbscsnv_ada_score": 0.0019758201886475,
      "dbscsnv_ada_prediction": "Benign",
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -16,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BS2",
      "acmg_by_gene": [
        {
          "score": -16,
          "benign_score": 16,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000215095.11",
          "gene_symbol": "STX1B",
          "hgnc_id": 18539,
          "effects": [
            "splice_region_variant",
            "intron_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.355-8C>G",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": " type 9,Generalized epilepsy with febrile seizures plus,not specified",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:1 B:1",
      "phenotype_combined": "Generalized epilepsy with febrile seizures plus, type 9|not specified",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}