← 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: 10-123041319-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "10",
      "pos": 123041319,
      "ref": "G",
      "alt": "A",
      "effect": "stop_gained",
      "transcript": "ENST00000358776.7",
      "consequences": [
        {
          "aa_ref": "W",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ACADSB",
          "gene_hgnc_id": 91,
          "hgvs_c": "c.621G>A",
          "hgvs_p": "p.Trp207*",
          "transcript": "NM_001609.4",
          "protein_id": "NP_001600.1",
          "transcript_support_level": null,
          "aa_start": 207,
          "aa_end": null,
          "aa_length": 432,
          "cds_start": 621,
          "cds_end": null,
          "cds_length": 1299,
          "cdna_start": 645,
          "cdna_end": null,
          "cdna_length": 5848,
          "mane_select": "ENST00000358776.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ACADSB",
          "gene_hgnc_id": 91,
          "hgvs_c": "c.621G>A",
          "hgvs_p": "p.Trp207*",
          "transcript": "ENST00000358776.7",
          "protein_id": "ENSP00000357873.3",
          "transcript_support_level": 1,
          "aa_start": 207,
          "aa_end": null,
          "aa_length": 432,
          "cds_start": 621,
          "cds_end": null,
          "cds_length": 1299,
          "cdna_start": 645,
          "cdna_end": null,
          "cdna_length": 5848,
          "mane_select": "NM_001609.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ACADSB",
          "gene_hgnc_id": 91,
          "hgvs_c": "c.315G>A",
          "hgvs_p": "p.Trp105*",
          "transcript": "NM_001330174.3",
          "protein_id": "NP_001317103.1",
          "transcript_support_level": null,
          "aa_start": 105,
          "aa_end": null,
          "aa_length": 330,
          "cds_start": 315,
          "cds_end": null,
          "cds_length": 993,
          "cdna_start": 544,
          "cdna_end": null,
          "cdna_length": 5747,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ACADSB",
          "gene_hgnc_id": 91,
          "hgvs_c": "c.315G>A",
          "hgvs_p": "p.Trp105*",
          "transcript": "ENST00000368869.8",
          "protein_id": "ENSP00000357862.4",
          "transcript_support_level": 2,
          "aa_start": 105,
          "aa_end": null,
          "aa_length": 330,
          "cds_start": 315,
          "cds_end": null,
          "cds_length": 993,
          "cdna_start": 567,
          "cdna_end": null,
          "cdna_length": 1599,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "ACADSB",
      "gene_hgnc_id": 91,
      "dbsnp": "rs374420253",
      "frequency_reference_population": 0.0000377921,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 61,
      "gnomad_exomes_af": 0.000034203,
      "gnomad_genomes_af": 0.0000722581,
      "gnomad_exomes_ac": 50,
      "gnomad_genomes_ac": 11,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.6600000262260437,
      "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.66,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 9.994,
      "phylop100way_prediction": "Pathogenic",
      "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": 16,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PVS1,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 16,
          "benign_score": 0,
          "pathogenic_score": 16,
          "criteria": [
            "PVS1",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000358776.7",
          "gene_symbol": "ACADSB",
          "hgnc_id": 91,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.621G>A",
          "hgvs_p": "p.Trp207*"
        }
      ],
      "clinvar_disease": "Deficiency of 2-methylbutyryl-CoA dehydrogenase,not provided",
      "clinvar_classification": "Pathogenic/Likely pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:3 LP:2",
      "phenotype_combined": "Deficiency of 2-methylbutyryl-CoA dehydrogenase|not provided",
      "pathogenicity_classification_combined": "Pathogenic/Likely pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}