← 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: 9-35699415-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "9",
      "pos": 35699415,
      "ref": "T",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_006289.4",
      "consequences": [
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 51,
          "exon_rank_end": null,
          "exon_count": 57,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TLN1",
          "gene_hgnc_id": 11845,
          "hgvs_c": "c.6815A>G",
          "hgvs_p": "p.His2272Arg",
          "transcript": "NM_006289.4",
          "protein_id": "NP_006280.3",
          "transcript_support_level": null,
          "aa_start": 2272,
          "aa_end": null,
          "aa_length": 2541,
          "cds_start": 6815,
          "cds_end": null,
          "cds_length": 7626,
          "cdna_start": 6969,
          "cdna_end": null,
          "cdna_length": 8623,
          "mane_select": "ENST00000314888.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 51,
          "exon_rank_end": null,
          "exon_count": 57,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TLN1",
          "gene_hgnc_id": 11845,
          "hgvs_c": "c.6815A>G",
          "hgvs_p": "p.His2272Arg",
          "transcript": "ENST00000314888.10",
          "protein_id": "ENSP00000316029.9",
          "transcript_support_level": 1,
          "aa_start": 2272,
          "aa_end": null,
          "aa_length": 2541,
          "cds_start": 6815,
          "cds_end": null,
          "cds_length": 7626,
          "cdna_start": 6969,
          "cdna_end": null,
          "cdna_length": 8623,
          "mane_select": "NM_006289.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "H",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 52,
          "exon_rank_end": null,
          "exon_count": 58,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TLN1",
          "gene_hgnc_id": 11845,
          "hgvs_c": "c.6866A>G",
          "hgvs_p": "p.His2289Arg",
          "transcript": "ENST00000706939.1",
          "protein_id": "ENSP00000516659.1",
          "transcript_support_level": null,
          "aa_start": 2289,
          "aa_end": null,
          "aa_length": 2558,
          "cds_start": 6866,
          "cds_end": null,
          "cds_length": 7677,
          "cdna_start": 7020,
          "cdna_end": null,
          "cdna_length": 8674,
          "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": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TLN1",
          "gene_hgnc_id": 11845,
          "hgvs_c": "n.-87A>G",
          "hgvs_p": null,
          "transcript": "ENST00000489255.2",
          "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": 798,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "TLN1",
      "gene_hgnc_id": 11845,
      "dbsnp": "rs749052015",
      "frequency_reference_population": 0.0000037175182,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 6,
      "gnomad_exomes_af": 0.00000342056,
      "gnomad_genomes_af": 0.00000656892,
      "gnomad_exomes_ac": 5,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.18737056851387024,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.029999999329447746,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.092,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.1261,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.38,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.906,
      "phylop100way_prediction": "Benign",
      "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_benign",
      "acmg_criteria": "BP4_Moderate,BS2",
      "acmg_by_gene": [
        {
          "score": -6,
          "benign_score": 6,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate",
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_006289.4",
          "gene_symbol": "TLN1",
          "hgnc_id": 11845,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.6815A>G",
          "hgvs_p": "p.His2272Arg"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}