← 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: 3-189995367-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "3",
      "pos": 189995367,
      "ref": "G",
      "alt": "A",
      "effect": "stop_gained",
      "transcript": "ENST00000319332.10",
      "consequences": [
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P3H2",
          "gene_hgnc_id": 19317,
          "hgvs_c": "c.556C>T",
          "hgvs_p": "p.Gln186*",
          "transcript": "NM_018192.4",
          "protein_id": "NP_060662.2",
          "transcript_support_level": null,
          "aa_start": 186,
          "aa_end": null,
          "aa_length": 708,
          "cds_start": 556,
          "cds_end": null,
          "cds_length": 2127,
          "cdna_start": 722,
          "cdna_end": null,
          "cdna_length": 3477,
          "mane_select": "ENST00000319332.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P3H2",
          "gene_hgnc_id": 19317,
          "hgvs_c": "c.556C>T",
          "hgvs_p": "p.Gln186*",
          "transcript": "ENST00000319332.10",
          "protein_id": "ENSP00000316881.5",
          "transcript_support_level": 1,
          "aa_start": 186,
          "aa_end": null,
          "aa_length": 708,
          "cds_start": 556,
          "cds_end": null,
          "cds_length": 2127,
          "cdna_start": 722,
          "cdna_end": null,
          "cdna_length": 3477,
          "mane_select": "NM_018192.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P3H2",
          "gene_hgnc_id": 19317,
          "hgvs_c": "c.13C>T",
          "hgvs_p": "p.Gln5*",
          "transcript": "ENST00000427335.6",
          "protein_id": "ENSP00000408947.2",
          "transcript_support_level": 1,
          "aa_start": 5,
          "aa_end": null,
          "aa_length": 527,
          "cds_start": 13,
          "cds_end": null,
          "cds_length": 1584,
          "cdna_start": 311,
          "cdna_end": null,
          "cdna_length": 2963,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P3H2",
          "gene_hgnc_id": 19317,
          "hgvs_c": "c.13C>T",
          "hgvs_p": "p.Gln5*",
          "transcript": "NM_001134418.2",
          "protein_id": "NP_001127890.1",
          "transcript_support_level": null,
          "aa_start": 5,
          "aa_end": null,
          "aa_length": 527,
          "cds_start": 13,
          "cds_end": null,
          "cds_length": 1584,
          "cdna_start": 152,
          "cdna_end": null,
          "cdna_length": 2907,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P3H2",
          "gene_hgnc_id": 19317,
          "hgvs_c": "c.13C>T",
          "hgvs_p": "p.Gln5*",
          "transcript": "ENST00000444866.5",
          "protein_id": "ENSP00000391374.1",
          "transcript_support_level": 4,
          "aa_start": 5,
          "aa_end": null,
          "aa_length": 136,
          "cds_start": 13,
          "cds_end": null,
          "cds_length": 412,
          "cdna_start": 145,
          "cdna_end": null,
          "cdna_length": 544,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "Q",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "P3H2",
          "gene_hgnc_id": 19317,
          "hgvs_c": "c.13C>T",
          "hgvs_p": "p.Gln5*",
          "transcript": "ENST00000426003.1",
          "protein_id": "ENSP00000394326.1",
          "transcript_support_level": 4,
          "aa_start": 5,
          "aa_end": null,
          "aa_length": 133,
          "cds_start": 13,
          "cds_end": null,
          "cds_length": 404,
          "cdna_start": 218,
          "cdna_end": null,
          "cdna_length": 609,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "P3H2",
      "gene_hgnc_id": 19317,
      "dbsnp": "rs724160006",
      "frequency_reference_population": 6.8408156e-7,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 1,
      "gnomad_exomes_af": 6.84082e-7,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 1,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.47999998927116394,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.48,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 3.733,
      "phylop100way_prediction": "Uncertain_significance",
      "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": 12,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PM2,PP5_Moderate",
      "acmg_by_gene": [
        {
          "score": 12,
          "benign_score": 0,
          "pathogenic_score": 12,
          "criteria": [
            "PVS1",
            "PM2",
            "PP5_Moderate"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000319332.10",
          "gene_symbol": "P3H2",
          "hgnc_id": 19317,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.556C>T",
          "hgvs_p": "p.Gln186*"
        }
      ],
      "clinvar_disease": " high, with cataract and vitreoretinal degeneration,Myopia,not provided",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "P:1",
      "phenotype_combined": "Myopia, high, with cataract and vitreoretinal degeneration|not provided",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}