← 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: 20-32987751-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "20",
      "pos": 32987751,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "ENST00000356173.8",
      "consequences": [
        {
          "aa_ref": "T",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SUN5",
          "gene_hgnc_id": 16252,
          "hgvs_c": "c.638C>T",
          "hgvs_p": "p.Thr213Met",
          "transcript": "NM_080675.4",
          "protein_id": "NP_542406.2",
          "transcript_support_level": null,
          "aa_start": 213,
          "aa_end": null,
          "aa_length": 379,
          "cds_start": 638,
          "cds_end": null,
          "cds_length": 1140,
          "cdna_start": 731,
          "cdna_end": null,
          "cdna_length": 1252,
          "mane_select": "ENST00000356173.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "M",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 13,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SUN5",
          "gene_hgnc_id": 16252,
          "hgvs_c": "c.638C>T",
          "hgvs_p": "p.Thr213Met",
          "transcript": "ENST00000356173.8",
          "protein_id": "ENSP00000348496.3",
          "transcript_support_level": 1,
          "aa_start": 213,
          "aa_end": null,
          "aa_length": 379,
          "cds_start": 638,
          "cds_end": null,
          "cds_length": 1140,
          "cdna_start": 731,
          "cdna_end": null,
          "cdna_length": 1252,
          "mane_select": "NM_080675.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SUN5",
          "gene_hgnc_id": 16252,
          "hgvs_c": "c.563C>T",
          "hgvs_p": "p.Thr188Met",
          "transcript": "ENST00000375523.7",
          "protein_id": "ENSP00000364673.3",
          "transcript_support_level": 5,
          "aa_start": 188,
          "aa_end": null,
          "aa_length": 354,
          "cds_start": 563,
          "cds_end": null,
          "cds_length": 1065,
          "cdna_start": 630,
          "cdna_end": null,
          "cdna_length": 1153,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 14,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SUN5",
          "gene_hgnc_id": 16252,
          "hgvs_c": "c.707C>T",
          "hgvs_p": "p.Thr236Met",
          "transcript": "XM_011528573.2",
          "protein_id": "XP_011526875.1",
          "transcript_support_level": null,
          "aa_start": 236,
          "aa_end": null,
          "aa_length": 402,
          "cds_start": 707,
          "cds_end": null,
          "cds_length": 1209,
          "cdna_start": 800,
          "cdna_end": null,
          "cdna_length": 1321,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SUN5",
          "gene_hgnc_id": 16252,
          "hgvs_c": "c.563C>T",
          "hgvs_p": "p.Thr188Met",
          "transcript": "XM_011528574.2",
          "protein_id": "XP_011526876.1",
          "transcript_support_level": null,
          "aa_start": 188,
          "aa_end": null,
          "aa_length": 354,
          "cds_start": 563,
          "cds_end": null,
          "cds_length": 1065,
          "cdna_start": 656,
          "cdna_end": null,
          "cdna_length": 1177,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SUN5",
          "gene_hgnc_id": 16252,
          "hgvs_c": "c.368C>T",
          "hgvs_p": "p.Thr123Met",
          "transcript": "XM_011528575.2",
          "protein_id": "XP_011526877.1",
          "transcript_support_level": null,
          "aa_start": 123,
          "aa_end": null,
          "aa_length": 289,
          "cds_start": 368,
          "cds_end": null,
          "cds_length": 870,
          "cdna_start": 450,
          "cdna_end": null,
          "cdna_length": 971,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SUN5",
      "gene_hgnc_id": 16252,
      "dbsnp": "rs562378771",
      "frequency_reference_population": 0.000033474753,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 54,
      "gnomad_exomes_af": 0.0000355916,
      "gnomad_genomes_af": 0.0000131461,
      "gnomad_exomes_ac": 52,
      "gnomad_genomes_ac": 2,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.5812615156173706,
      "computational_prediction_selected": "Uncertain_significance",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.15000000596046448,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.309,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.7914,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.22,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 3.966,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0.15,
      "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": 3,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM1,PP2",
      "acmg_by_gene": [
        {
          "score": 3,
          "benign_score": 0,
          "pathogenic_score": 3,
          "criteria": [
            "PM1",
            "PP2"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000356173.8",
          "gene_symbol": "SUN5",
          "hgnc_id": 16252,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.638C>T",
          "hgvs_p": "p.Thr213Met"
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}