← 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: 2-202520142-G-A (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=2&pos=202520142&ref=G&alt=A&genome=hg38&allGenes=true"API Response
json
{
"variants": [
{
"chr": "2",
"pos": 202520142,
"ref": "G",
"alt": "A",
"effect": "missense_variant",
"transcript": "ENST00000374580.10",
"consequences": [
{
"aa_ref": "R",
"aa_alt": "H",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 7,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "BMPR2",
"gene_hgnc_id": 1078,
"hgvs_c": "c.908G>A",
"hgvs_p": "p.Arg303His",
"transcript": "NM_001204.7",
"protein_id": "NP_001195.2",
"transcript_support_level": null,
"aa_start": 303,
"aa_end": null,
"aa_length": 1038,
"cds_start": 908,
"cds_end": null,
"cds_length": 3117,
"cdna_start": 2056,
"cdna_end": null,
"cdna_length": 12068,
"mane_select": "ENST00000374580.10",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "H",
"canonical": true,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 7,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "BMPR2",
"gene_hgnc_id": 1078,
"hgvs_c": "c.908G>A",
"hgvs_p": "p.Arg303His",
"transcript": "ENST00000374580.10",
"protein_id": "ENSP00000363708.4",
"transcript_support_level": 1,
"aa_start": 303,
"aa_end": null,
"aa_length": 1038,
"cds_start": 908,
"cds_end": null,
"cds_length": 3117,
"cdna_start": 2056,
"cdna_end": null,
"cdna_length": 12068,
"mane_select": "NM_001204.7",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "H",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 7,
"exon_rank_end": null,
"exon_count": 12,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "BMPR2",
"gene_hgnc_id": 1078,
"hgvs_c": "c.908G>A",
"hgvs_p": "p.Arg303His",
"transcript": "ENST00000374574.2",
"protein_id": "ENSP00000363702.2",
"transcript_support_level": 2,
"aa_start": 303,
"aa_end": null,
"aa_length": 530,
"cds_start": 908,
"cds_end": null,
"cds_length": 1593,
"cdna_start": 949,
"cdna_end": null,
"cdna_length": 9683,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "R",
"aa_alt": "H",
"canonical": false,
"protein_coding": true,
"strand": true,
"consequences": [
"missense_variant"
],
"exon_rank": 7,
"exon_rank_end": null,
"exon_count": 13,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "BMPR2",
"gene_hgnc_id": 1078,
"hgvs_c": "c.908G>A",
"hgvs_p": "p.Arg303His",
"transcript": "XM_011511687.2",
"protein_id": "XP_011509989.1",
"transcript_support_level": null,
"aa_start": 303,
"aa_end": null,
"aa_length": 1037,
"cds_start": 908,
"cds_end": null,
"cds_length": 3114,
"cdna_start": 2056,
"cdna_end": null,
"cdna_length": 12065,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "BMPR2",
"gene_hgnc_id": 1078,
"dbsnp": "rs200948870",
"frequency_reference_population": 0.000040929775,
"hom_count_reference_population": 0,
"allele_count_reference_population": 66,
"gnomad_exomes_af": 0.0000396791,
"gnomad_genomes_af": 0.0000530539,
"gnomad_exomes_ac": 58,
"gnomad_genomes_ac": 8,
"gnomad_exomes_homalt": 0,
"gnomad_genomes_homalt": 0,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": 0.44245994091033936,
"computational_prediction_selected": "Uncertain_significance",
"computational_source_selected": "MetaRNN",
"splice_score_selected": 0.029999999329447746,
"splice_prediction_selected": "Benign",
"splice_source_selected": "max_spliceai",
"revel_score": 0.497,
"revel_prediction": "Uncertain_significance",
"alphamissense_score": 0.1054,
"alphamissense_prediction": null,
"bayesdelnoaf_score": 0.21,
"bayesdelnoaf_prediction": "Pathogenic",
"phylop100way_score": 7.473,
"phylop100way_prediction": "Uncertain_significance",
"spliceai_max_score": 0.03,
"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": 6,
"acmg_classification": "Likely_pathogenic",
"acmg_criteria": "PS3,PM1",
"acmg_by_gene": [
{
"score": 6,
"benign_score": 0,
"pathogenic_score": 6,
"criteria": [
"PS3",
"PM1"
],
"verdict": "Likely_pathogenic",
"transcript": "ENST00000374580.10",
"gene_symbol": "BMPR2",
"hgnc_id": 1078,
"effects": [
"missense_variant"
],
"inheritance_mode": "AD",
"hgvs_c": "c.908G>A",
"hgvs_p": "p.Arg303His"
}
],
"clinvar_disease": " 1, primary,Pulmonary arterial hypertension,Pulmonary hypertension,Pulmonary venoocclusive disease 1,not provided",
"clinvar_classification": "Likely pathogenic",
"clinvar_review_status": "reviewed by expert panel",
"clinvar_submissions_summary": "LP:1 US:4",
"phenotype_combined": "Pulmonary hypertension, primary, 1;Pulmonary venoocclusive disease 1|Pulmonary hypertension, primary, 1|not provided|Pulmonary arterial hypertension",
"pathogenicity_classification_combined": "Likely pathogenic",
"custom_annotations": null
}
],
"message": null
}