← 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: 1-241519658-A-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "1",
      "pos": 241519658,
      "ref": "A",
      "alt": "C",
      "effect": "stop_gained",
      "transcript": "ENST00000366560.4",
      "consequences": [
        {
          "aa_ref": "L",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "FH",
          "gene_hgnc_id": 3700,
          "hgvs_c": "c.65T>G",
          "hgvs_p": "p.Leu22*",
          "transcript": "NM_000143.4",
          "protein_id": "NP_000134.2",
          "transcript_support_level": null,
          "aa_start": 22,
          "aa_end": null,
          "aa_length": 510,
          "cds_start": 65,
          "cds_end": null,
          "cds_length": 1533,
          "cdna_start": 98,
          "cdna_end": null,
          "cdna_length": 1791,
          "mane_select": "ENST00000366560.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "FH",
          "gene_hgnc_id": 3700,
          "hgvs_c": "c.65T>G",
          "hgvs_p": "p.Leu22*",
          "transcript": "ENST00000366560.4",
          "protein_id": "ENSP00000355518.4",
          "transcript_support_level": 1,
          "aa_start": 22,
          "aa_end": null,
          "aa_length": 510,
          "cds_start": 65,
          "cds_end": null,
          "cds_length": 1533,
          "cdna_start": 98,
          "cdna_end": null,
          "cdna_length": 1791,
          "mane_select": "NM_000143.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "FH",
          "gene_hgnc_id": 3700,
          "hgvs_c": "c.65T>G",
          "hgvs_p": "p.Leu22*",
          "transcript": "ENST00000683521.1",
          "protein_id": "ENSP00000506864.1",
          "transcript_support_level": null,
          "aa_start": 22,
          "aa_end": null,
          "aa_length": 480,
          "cds_start": 65,
          "cds_end": null,
          "cds_length": 1443,
          "cdna_start": 142,
          "cdna_end": null,
          "cdna_length": 3166,
          "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": 1,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "FH",
          "gene_hgnc_id": 3700,
          "hgvs_c": "n.37T>G",
          "hgvs_p": null,
          "transcript": "ENST00000493477.2",
          "protein_id": null,
          "transcript_support_level": 3,
          "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": 2353,
          "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": 1,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "FH",
          "gene_hgnc_id": 3700,
          "hgvs_c": "n.65T>G",
          "hgvs_p": null,
          "transcript": "ENST00000682162.1",
          "protein_id": "ENSP00000508203.1",
          "transcript_support_level": null,
          "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": 1802,
          "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": 1,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "FH",
          "gene_hgnc_id": 3700,
          "hgvs_c": "n.142T>G",
          "hgvs_p": null,
          "transcript": "ENST00000682567.1",
          "protein_id": null,
          "transcript_support_level": null,
          "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": 5122,
          "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": 1,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "FH",
          "gene_hgnc_id": 3700,
          "hgvs_c": "n.65T>G",
          "hgvs_p": null,
          "transcript": "ENST00000684483.1",
          "protein_id": "ENSP00000507894.1",
          "transcript_support_level": null,
          "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": 1818,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "FH",
      "gene_hgnc_id": 3700,
      "dbsnp": "rs1031919395",
      "frequency_reference_population": 0.00001970754,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 3,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": 0.0000197075,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": 3,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.03999999910593033,
      "computational_prediction_selected": "Uncertain_significance",
      "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.04,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 0.32,
      "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": 11,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PM2,PP5",
      "acmg_by_gene": [
        {
          "score": 11,
          "benign_score": 0,
          "pathogenic_score": 11,
          "criteria": [
            "PVS1",
            "PM2",
            "PP5"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000366560.4",
          "gene_symbol": "FH",
          "hgnc_id": 3700,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.65T>G",
          "hgvs_p": "p.Leu22*"
        }
      ],
      "clinvar_disease": "Fumarase deficiency,Hereditary cancer-predisposing syndrome,not provided",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "P:1 US:3",
      "phenotype_combined": "Hereditary cancer-predisposing syndrome|not provided|Fumarase deficiency",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}