← 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: 11-64746688-G-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "11",
      "pos": 64746688,
      "ref": "G",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_005609.4",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PYGM",
          "gene_hgnc_id": 9726,
          "hgvs_c": "c.2500C>G",
          "hgvs_p": "p.Arg834Gly",
          "transcript": "NM_005609.4",
          "protein_id": "NP_005600.1",
          "transcript_support_level": null,
          "aa_start": 834,
          "aa_end": null,
          "aa_length": 842,
          "cds_start": 2500,
          "cds_end": null,
          "cds_length": 2529,
          "cdna_start": 2576,
          "cdna_end": null,
          "cdna_length": 2866,
          "mane_select": "ENST00000164139.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "G",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 20,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PYGM",
          "gene_hgnc_id": 9726,
          "hgvs_c": "c.2500C>G",
          "hgvs_p": "p.Arg834Gly",
          "transcript": "ENST00000164139.4",
          "protein_id": "ENSP00000164139.3",
          "transcript_support_level": 1,
          "aa_start": 834,
          "aa_end": null,
          "aa_length": 842,
          "cds_start": 2500,
          "cds_end": null,
          "cds_length": 2529,
          "cdna_start": 2576,
          "cdna_end": null,
          "cdna_length": 2866,
          "mane_select": "NM_005609.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PYGM",
          "gene_hgnc_id": 9726,
          "hgvs_c": "c.2236C>G",
          "hgvs_p": "p.Arg746Gly",
          "transcript": "NM_001164716.1",
          "protein_id": "NP_001158188.1",
          "transcript_support_level": null,
          "aa_start": 746,
          "aa_end": null,
          "aa_length": 754,
          "cds_start": 2236,
          "cds_end": null,
          "cds_length": 2265,
          "cdna_start": 3053,
          "cdna_end": null,
          "cdna_length": 3352,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "G",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PYGM",
          "gene_hgnc_id": 9726,
          "hgvs_c": "c.2236C>G",
          "hgvs_p": "p.Arg746Gly",
          "transcript": "ENST00000377432.7",
          "protein_id": "ENSP00000366650.3",
          "transcript_support_level": 2,
          "aa_start": 746,
          "aa_end": null,
          "aa_length": 754,
          "cds_start": 2236,
          "cds_end": null,
          "cds_length": 2265,
          "cdna_start": 2312,
          "cdna_end": null,
          "cdna_length": 2611,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PYGM",
          "gene_hgnc_id": 9726,
          "hgvs_c": "n.1853C>G",
          "hgvs_p": null,
          "transcript": "ENST00000483742.1",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": 2152,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "PYGM",
      "gene_hgnc_id": 9726,
      "dbsnp": "rs200118962",
      "frequency_reference_population": 0.0000020521493,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 3,
      "gnomad_exomes_af": 0.00000205215,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 3,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.24698075652122498,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.374,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.1548,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.03,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 3.267,
      "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": 1,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM2,PP2,BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": 1,
          "benign_score": 2,
          "pathogenic_score": 3,
          "criteria": [
            "PM2",
            "PP2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_005609.4",
          "gene_symbol": "PYGM",
          "hgnc_id": 9726,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.2500C>G",
          "hgvs_p": "p.Arg834Gly"
        }
      ],
      "clinvar_disease": " type V,Glycogen storage disease,Inborn genetic diseases",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "US:2",
      "phenotype_combined": "Glycogen storage disease, type V|Inborn genetic diseases",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}