← 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: 19-29530138-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "19",
      "pos": 29530138,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "NM_001146339.2",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "VSTM2B",
          "gene_hgnc_id": 33595,
          "hgvs_c": "c.617G>A",
          "hgvs_p": "p.Ser206Asn",
          "transcript": "NM_001146339.2",
          "protein_id": "NP_001139811.1",
          "transcript_support_level": null,
          "aa_start": 206,
          "aa_end": null,
          "aa_length": 285,
          "cds_start": 617,
          "cds_end": null,
          "cds_length": 858,
          "cdna_start": 1207,
          "cdna_end": null,
          "cdna_length": 2065,
          "mane_select": "ENST00000335523.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "VSTM2B",
          "gene_hgnc_id": 33595,
          "hgvs_c": "c.617G>A",
          "hgvs_p": "p.Ser206Asn",
          "transcript": "ENST00000335523.8",
          "protein_id": "ENSP00000335038.6",
          "transcript_support_level": 5,
          "aa_start": 206,
          "aa_end": null,
          "aa_length": 285,
          "cds_start": 617,
          "cds_end": null,
          "cds_length": 858,
          "cdna_start": 1207,
          "cdna_end": null,
          "cdna_length": 2065,
          "mane_select": "NM_001146339.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "VSTM2B",
          "gene_hgnc_id": 33595,
          "hgvs_c": "c.587G>A",
          "hgvs_p": "p.Ser196Asn",
          "transcript": "NM_001384640.1",
          "protein_id": "NP_001371569.1",
          "transcript_support_level": null,
          "aa_start": 196,
          "aa_end": null,
          "aa_length": 275,
          "cds_start": 587,
          "cds_end": null,
          "cds_length": 828,
          "cdna_start": 1177,
          "cdna_end": null,
          "cdna_length": 2035,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "VSTM2B",
          "gene_hgnc_id": 33595,
          "hgvs_c": "c.479G>A",
          "hgvs_p": "p.Ser160Asn",
          "transcript": "NM_001384641.1",
          "protein_id": "NP_001371570.1",
          "transcript_support_level": null,
          "aa_start": 160,
          "aa_end": null,
          "aa_length": 239,
          "cds_start": 479,
          "cds_end": null,
          "cds_length": 720,
          "cdna_start": 775,
          "cdna_end": null,
          "cdna_length": 1633,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "VSTM2B",
          "gene_hgnc_id": 33595,
          "hgvs_c": "c.449G>A",
          "hgvs_p": "p.Ser150Asn",
          "transcript": "NM_001384642.1",
          "protein_id": "NP_001371571.1",
          "transcript_support_level": null,
          "aa_start": 150,
          "aa_end": null,
          "aa_length": 229,
          "cds_start": 449,
          "cds_end": null,
          "cds_length": 690,
          "cdna_start": 745,
          "cdna_end": null,
          "cdna_length": 1603,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "VSTM2B",
          "gene_hgnc_id": 33595,
          "hgvs_c": "c.353G>A",
          "hgvs_p": "p.Ser118Asn",
          "transcript": "NM_001384643.1",
          "protein_id": "NP_001371572.1",
          "transcript_support_level": null,
          "aa_start": 118,
          "aa_end": null,
          "aa_length": 197,
          "cds_start": 353,
          "cds_end": null,
          "cds_length": 594,
          "cdna_start": 517,
          "cdna_end": null,
          "cdna_length": 1375,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "VSTM2B",
          "gene_hgnc_id": 33595,
          "hgvs_c": "c.617G>A",
          "hgvs_p": "p.Ser206Asn",
          "transcript": "XM_011526902.3",
          "protein_id": "XP_011525204.1",
          "transcript_support_level": null,
          "aa_start": 206,
          "aa_end": null,
          "aa_length": 285,
          "cds_start": 617,
          "cds_end": null,
          "cds_length": 858,
          "cdna_start": 1378,
          "cdna_end": null,
          "cdna_length": 2236,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "VSTM2B",
          "gene_hgnc_id": 33595,
          "hgvs_c": "c.587G>A",
          "hgvs_p": "p.Ser196Asn",
          "transcript": "XM_011526903.3",
          "protein_id": "XP_011525205.1",
          "transcript_support_level": null,
          "aa_start": 196,
          "aa_end": null,
          "aa_length": 275,
          "cds_start": 587,
          "cds_end": null,
          "cds_length": 828,
          "cdna_start": 1348,
          "cdna_end": null,
          "cdna_length": 2206,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "N",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "VSTM2B",
          "gene_hgnc_id": 33595,
          "hgvs_c": "c.425G>A",
          "hgvs_p": "p.Ser142Asn",
          "transcript": "XM_011526905.3",
          "protein_id": "XP_011525207.1",
          "transcript_support_level": null,
          "aa_start": 142,
          "aa_end": null,
          "aa_length": 221,
          "cds_start": 425,
          "cds_end": null,
          "cds_length": 666,
          "cdna_start": 589,
          "cdna_end": null,
          "cdna_length": 1447,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "VSTM2B",
      "gene_hgnc_id": 33595,
      "dbsnp": "rs961346850",
      "frequency_reference_population": 0.0000027374947,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 4,
      "gnomad_exomes_af": 0.00000229159,
      "gnomad_genomes_af": 0.00000657644,
      "gnomad_exomes_ac": 3,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.10279369354248047,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.192,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.1047,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.53,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 1.42,
      "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": 0,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": 0,
          "benign_score": 2,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_001146339.2",
          "gene_symbol": "VSTM2B",
          "hgnc_id": 33595,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "c.617G>A",
          "hgvs_p": "p.Ser206Asn"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}