← 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: 4-176184858-TTCTC-T (hg38)

Bash / cURL Example

bash
curl "https://api.genebe.net/cloud/api-public/v1/variant?chr=4&pos=176184858&ref=TTCTC&alt=T&genome=hg38&allGenes=true"

API Response

json
{
  "variants": [
    {
      "chr": "4",
      "pos": 176184858,
      "ref": "TTCTC",
      "alt": "T",
      "effect": "frameshift_variant",
      "transcript": "ENST00000280191.7",
      "consequences": [
        {
          "aa_ref": "RE",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SPATA4",
          "gene_hgnc_id": 17333,
          "hgvs_c": "c.836_839delGAGA",
          "hgvs_p": "p.Arg279fs",
          "transcript": "NM_144644.4",
          "protein_id": "NP_653245.2",
          "transcript_support_level": null,
          "aa_start": 279,
          "aa_end": null,
          "aa_length": 305,
          "cds_start": 836,
          "cds_end": null,
          "cds_length": 918,
          "cdna_start": 862,
          "cdna_end": null,
          "cdna_length": 1142,
          "mane_select": "ENST00000280191.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "RE",
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SPATA4",
          "gene_hgnc_id": 17333,
          "hgvs_c": "c.836_839delGAGA",
          "hgvs_p": "p.Arg279fs",
          "transcript": "ENST00000280191.7",
          "protein_id": "ENSP00000280191.2",
          "transcript_support_level": 1,
          "aa_start": 279,
          "aa_end": null,
          "aa_length": 305,
          "cds_start": 836,
          "cds_end": null,
          "cds_length": 918,
          "cdna_start": 862,
          "cdna_end": null,
          "cdna_length": 1142,
          "mane_select": "NM_144644.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "RE",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SPATA4",
          "gene_hgnc_id": 17333,
          "hgvs_c": "c.317_320delGAGA",
          "hgvs_p": "p.Arg106fs",
          "transcript": "ENST00000515234.1",
          "protein_id": "ENSP00000422290.1",
          "transcript_support_level": 1,
          "aa_start": 106,
          "aa_end": null,
          "aa_length": 132,
          "cds_start": 317,
          "cds_end": null,
          "cds_length": 399,
          "cdna_start": 1916,
          "cdna_end": null,
          "cdna_length": 2115,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "RE",
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "frameshift_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "SPATA4",
          "gene_hgnc_id": 17333,
          "hgvs_c": "c.317_320delGAGA",
          "hgvs_p": "p.Arg106fs",
          "transcript": "XM_047449608.1",
          "protein_id": "XP_047305564.1",
          "transcript_support_level": null,
          "aa_start": 106,
          "aa_end": null,
          "aa_length": 132,
          "cds_start": 317,
          "cds_end": null,
          "cds_length": 399,
          "cdna_start": 650,
          "cdna_end": null,
          "cdna_length": 930,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "SPATA4",
      "gene_hgnc_id": 17333,
      "dbsnp": "rs28381989",
      "frequency_reference_population": 0.1098777,
      "hom_count_reference_population": 11259,
      "allele_count_reference_population": 175407,
      "gnomad_exomes_af": 0.112535,
      "gnomad_genomes_af": 0.0846671,
      "gnomad_exomes_ac": 162521,
      "gnomad_genomes_ac": 12886,
      "gnomad_exomes_homalt": 10483,
      "gnomad_genomes_homalt": 776,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "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": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": 2.111,
      "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": -8,
      "acmg_classification": "Benign",
      "acmg_criteria": "BA1",
      "acmg_by_gene": [
        {
          "score": -8,
          "benign_score": 8,
          "pathogenic_score": 0,
          "criteria": [
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000280191.7",
          "gene_symbol": "SPATA4",
          "hgnc_id": 17333,
          "effects": [
            "frameshift_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.836_839delGAGA",
          "hgvs_p": "p.Arg279fs"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}