← 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: 21-31667356-T-C (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=21&pos=31667356&ref=T&alt=C&genome=hg38&allGenes=true"
API Response
json
{
"variants": [
{
"chr": "21",
"pos": 31667356,
"ref": "T",
"alt": "C",
"effect": "missense_variant",
"transcript": "ENST00000270142.11",
"consequences": [
{
"aa_ref": "I",
"aa_alt": "T",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SOD1",
"gene_hgnc_id": 11179,
"hgvs_c": "c.338T>C",
"hgvs_p": "p.Ile113Thr",
"transcript": "NM_000454.5",
"protein_id": "NP_000445.1",
"transcript_support_level": null,
"aa_start": 113,
"aa_end": null,
"aa_length": 154,
"cds_start": 338,
"cds_end": null,
"cds_length": 465,
"cdna_start": 415,
"cdna_end": null,
"cdna_length": 895,
"mane_select": "ENST00000270142.11",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "I",
"aa_alt": "T",
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SOD1",
"gene_hgnc_id": 11179,
"hgvs_c": "c.338T>C",
"hgvs_p": "p.Ile113Thr",
"transcript": "ENST00000270142.11",
"protein_id": "ENSP00000270142.7",
"transcript_support_level": 1,
"aa_start": 113,
"aa_end": null,
"aa_length": 154,
"cds_start": 338,
"cds_end": null,
"cds_length": 465,
"cdna_start": 415,
"cdna_end": null,
"cdna_length": 895,
"mane_select": "NM_000454.5",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "I",
"aa_alt": "T",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SOD1",
"gene_hgnc_id": 11179,
"hgvs_c": "c.281T>C",
"hgvs_p": "p.Ile94Thr",
"transcript": "ENST00000389995.4",
"protein_id": "ENSP00000374645.4",
"transcript_support_level": 3,
"aa_start": 94,
"aa_end": null,
"aa_length": 135,
"cds_start": 281,
"cds_end": null,
"cds_length": 408,
"cdna_start": 385,
"cdna_end": null,
"cdna_length": 865,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"non_coding_transcript_exon_variant"
],
"exon_rank": 4,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SOD1",
"gene_hgnc_id": 11179,
"hgvs_c": "n.1266T>C",
"hgvs_p": null,
"transcript": "ENST00000470944.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": 1746,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"upstream_gene_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 1,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "ENSG00000273271",
"gene_hgnc_id": null,
"hgvs_c": "n.-109A>G",
"hgvs_p": null,
"transcript": "ENST00000609934.1",
"protein_id": null,
"transcript_support_level": 6,
"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": 520,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": null,
"aa_alt": null,
"canonical": false,
"protein_coding": false,
"strand": true,
"consequences": [
"downstream_gene_variant"
],
"exon_rank": null,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "SOD1",
"gene_hgnc_id": 11179,
"hgvs_c": "n.*15T>C",
"hgvs_p": null,
"transcript": "ENST00000476106.5",
"protein_id": null,
"transcript_support_level": 5,
"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": 586,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "SOD1",
"gene_hgnc_id": 11179,
"dbsnp": "rs74315452",
"frequency_reference_population": null,
"hom_count_reference_population": 0,
"allele_count_reference_population": 0,
"gnomad_exomes_af": null,
"gnomad_genomes_af": null,
"gnomad_exomes_ac": null,
"gnomad_genomes_ac": null,
"gnomad_exomes_homalt": null,
"gnomad_genomes_homalt": null,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": 0.9933521747589111,
"computational_prediction_selected": "Pathogenic",
"computational_source_selected": "MetaRNN",
"splice_score_selected": 0,
"splice_prediction_selected": "Benign",
"splice_source_selected": "max_spliceai",
"revel_score": 0.966,
"revel_prediction": "Pathogenic",
"alphamissense_score": 0.9547,
"alphamissense_prediction": null,
"bayesdelnoaf_score": 0.52,
"bayesdelnoaf_prediction": "Pathogenic",
"phylop100way_score": 7.491,
"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": 11,
"acmg_classification": "Pathogenic",
"acmg_criteria": "PM1,PM2,PP2,PP3_Strong,PP5_Moderate",
"acmg_by_gene": [
{
"score": 11,
"benign_score": 0,
"pathogenic_score": 11,
"criteria": [
"PM1",
"PM2",
"PP2",
"PP3_Strong",
"PP5_Moderate"
],
"verdict": "Pathogenic",
"transcript": "ENST00000270142.11",
"gene_symbol": "SOD1",
"hgnc_id": 11179,
"effects": [
"missense_variant"
],
"inheritance_mode": "AD,AR",
"hgvs_c": "c.338T>C",
"hgvs_p": "p.Ile113Thr"
},
{
"score": 8,
"benign_score": 0,
"pathogenic_score": 8,
"criteria": [
"PM2",
"PP3_Strong",
"PP5_Moderate"
],
"verdict": "Likely_pathogenic",
"transcript": "ENST00000609934.1",
"gene_symbol": "ENSG00000273271",
"hgnc_id": null,
"effects": [
"upstream_gene_variant"
],
"inheritance_mode": "",
"hgvs_c": "n.-109A>G",
"hgvs_p": null
}
],
"clinvar_disease": "Amyotrophic lateral sclerosis type 1",
"clinvar_classification": "Pathogenic",
"clinvar_review_status": "criteria provided, single submitter",
"clinvar_submissions_summary": "P:1",
"phenotype_combined": "Amyotrophic lateral sclerosis type 1",
"pathogenicity_classification_combined": "Pathogenic",
"custom_annotations": null
}
],
"message": null
}