← 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: 18-46011201-G-C (hg38)
Bash / cURL Example
bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=18&pos=46011201&ref=G&alt=C&genome=hg38&allGenes=true"
API Response
json
{
"variants": [
{
"chr": "18",
"pos": 46011201,
"ref": "G",
"alt": "C",
"effect": "missense_variant",
"transcript": "NM_024430.4",
"consequences": [
{
"aa_ref": "Q",
"aa_alt": "E",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 15,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "PSTPIP2",
"gene_hgnc_id": 9581,
"hgvs_c": "c.334C>G",
"hgvs_p": "p.Gln112Glu",
"transcript": "NM_024430.4",
"protein_id": "NP_077748.3",
"transcript_support_level": null,
"aa_start": 112,
"aa_end": null,
"aa_length": 334,
"cds_start": 334,
"cds_end": null,
"cds_length": 1005,
"cdna_start": 406,
"cdna_end": null,
"cdna_length": 3000,
"mane_select": "ENST00000409746.5",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "Q",
"aa_alt": "E",
"canonical": true,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 15,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "PSTPIP2",
"gene_hgnc_id": 9581,
"hgvs_c": "c.334C>G",
"hgvs_p": "p.Gln112Glu",
"transcript": "ENST00000409746.5",
"protein_id": "ENSP00000387261.4",
"transcript_support_level": 1,
"aa_start": 112,
"aa_end": null,
"aa_length": 334,
"cds_start": 334,
"cds_end": null,
"cds_length": 1005,
"cdna_start": 406,
"cdna_end": null,
"cdna_length": 3000,
"mane_select": "NM_024430.4",
"mane_plus": null,
"biotype": null,
"feature": null
},
{
"aa_ref": "Q",
"aa_alt": "E",
"canonical": false,
"protein_coding": true,
"strand": false,
"consequences": [
"missense_variant"
],
"exon_rank": 5,
"exon_rank_end": null,
"exon_count": 14,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "PSTPIP2",
"gene_hgnc_id": 9581,
"hgvs_c": "c.334C>G",
"hgvs_p": "p.Gln112Glu",
"transcript": "ENST00000589328.5",
"protein_id": "ENSP00000468622.1",
"transcript_support_level": 1,
"aa_start": 112,
"aa_end": null,
"aa_length": 312,
"cds_start": 334,
"cds_end": null,
"cds_length": 939,
"cdna_start": 403,
"cdna_end": null,
"cdna_length": 2900,
"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": 5,
"exon_rank_end": null,
"exon_count": 5,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "PSTPIP2",
"gene_hgnc_id": 9581,
"hgvs_c": "n.418C>G",
"hgvs_p": null,
"transcript": "ENST00000587042.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": 859,
"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": 5,
"exon_rank_end": null,
"exon_count": 9,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "PSTPIP2",
"gene_hgnc_id": 9581,
"hgvs_c": "n.429C>G",
"hgvs_p": null,
"transcript": "ENST00000588801.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": 1023,
"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": 2,
"exon_rank_end": null,
"exon_count": 4,
"intron_rank": null,
"intron_rank_end": null,
"gene_symbol": "PSTPIP2",
"gene_hgnc_id": 9581,
"hgvs_c": "n.410C>G",
"hgvs_p": null,
"transcript": "ENST00000591729.1",
"protein_id": null,
"transcript_support_level": 4,
"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": 569,
"mane_select": null,
"mane_plus": null,
"biotype": null,
"feature": null
}
],
"gene_symbol": "PSTPIP2",
"gene_hgnc_id": 9581,
"dbsnp": "rs890606940",
"frequency_reference_population": 0.000014255009,
"hom_count_reference_population": 0,
"allele_count_reference_population": 23,
"gnomad_exomes_af": 0.00000478974,
"gnomad_genomes_af": 0.000105256,
"gnomad_exomes_ac": 7,
"gnomad_genomes_ac": 16,
"gnomad_exomes_homalt": 0,
"gnomad_genomes_homalt": 0,
"gnomad_mito_homoplasmic": null,
"gnomad_mito_heteroplasmic": null,
"computational_score_selected": 0.655468761920929,
"computational_prediction_selected": "Uncertain_significance",
"computational_source_selected": "MetaRNN",
"splice_score_selected": 0,
"splice_prediction_selected": "Benign",
"splice_source_selected": "max_spliceai",
"revel_score": 0.321,
"revel_prediction": "Uncertain_significance",
"alphamissense_score": 0.4455,
"alphamissense_prediction": null,
"bayesdelnoaf_score": -0.2,
"bayesdelnoaf_prediction": "Benign",
"phylop100way_score": 6.783,
"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": 0,
"acmg_classification": "Uncertain_significance",
"acmg_criteria": "",
"acmg_by_gene": [
{
"score": 0,
"benign_score": 0,
"pathogenic_score": 0,
"criteria": [],
"verdict": "Uncertain_significance",
"transcript": "NM_024430.4",
"gene_symbol": "PSTPIP2",
"hgnc_id": 9581,
"effects": [
"missense_variant"
],
"inheritance_mode": "AR",
"hgvs_c": "c.334C>G",
"hgvs_p": "p.Gln112Glu"
}
],
"clinvar_disease": "not specified",
"clinvar_classification": "Uncertain significance",
"clinvar_review_status": "criteria provided, single submitter",
"clinvar_submissions_summary": "US:1",
"phenotype_combined": "not specified",
"pathogenicity_classification_combined": "Uncertain significance",
"custom_annotations": null
}
],
"message": null
}