← 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: 16-81179773-A-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "16",
      "pos": 81179773,
      "ref": "A",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "ENST00000525539.5",
      "consequences": [
        {
          "aa_ref": "L",
          "aa_alt": "Q",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 13,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1L2",
          "gene_hgnc_id": 21715,
          "hgvs_c": "c.2132T>A",
          "hgvs_p": "p.Leu711Gln",
          "transcript": "ENST00000525539.5",
          "protein_id": "ENSP00000434417.1",
          "transcript_support_level": 1,
          "aa_start": 711,
          "aa_end": null,
          "aa_length": 2458,
          "cds_start": 2132,
          "cds_end": null,
          "cds_length": 7379,
          "cdna_start": 2132,
          "cdna_end": null,
          "cdna_length": 7379,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "Q",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1L2",
          "gene_hgnc_id": 21715,
          "hgvs_c": "c.77T>A",
          "hgvs_p": "p.Leu26Gln",
          "transcript": "ENST00000533478.5",
          "protein_id": "ENSP00000434644.1",
          "transcript_support_level": 1,
          "aa_start": 26,
          "aa_end": null,
          "aa_length": 1773,
          "cds_start": 77,
          "cds_end": null,
          "cds_length": 5324,
          "cdna_start": 188,
          "cdna_end": null,
          "cdna_length": 5669,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "Q",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1L2",
          "gene_hgnc_id": 21715,
          "hgvs_c": "c.77T>A",
          "hgvs_p": "p.Leu26Gln",
          "transcript": "ENST00000531391.5",
          "protein_id": "ENSP00000436309.1",
          "transcript_support_level": 1,
          "aa_start": 26,
          "aa_end": null,
          "aa_length": 306,
          "cds_start": 77,
          "cds_end": null,
          "cds_length": 921,
          "cdna_start": 193,
          "cdna_end": null,
          "cdna_length": 1488,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "Q",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 12,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1L2",
          "gene_hgnc_id": 21715,
          "hgvs_c": "c.713T>A",
          "hgvs_p": "p.Leu238Gln",
          "transcript": "ENST00000526632.5",
          "protein_id": "ENSP00000436389.1",
          "transcript_support_level": 2,
          "aa_start": 238,
          "aa_end": null,
          "aa_length": 518,
          "cds_start": 713,
          "cds_end": null,
          "cds_length": 1557,
          "cdna_start": 714,
          "cdna_end": null,
          "cdna_length": 2006,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "Q",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1L2",
          "gene_hgnc_id": 21715,
          "hgvs_c": "c.77T>A",
          "hgvs_p": "p.Leu26Gln",
          "transcript": "ENST00000527937.1",
          "protein_id": "ENSP00000432818.1",
          "transcript_support_level": 2,
          "aa_start": 26,
          "aa_end": null,
          "aa_length": 240,
          "cds_start": 77,
          "cds_end": null,
          "cds_length": 723,
          "cdna_start": 191,
          "cdna_end": null,
          "cdna_length": 4165,
          "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": 4,
          "exon_rank_end": null,
          "exon_count": 25,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1L2",
          "gene_hgnc_id": 21715,
          "hgvs_c": "n.461T>A",
          "hgvs_p": null,
          "transcript": "ENST00000299598.11",
          "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": 5818,
          "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": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1L2",
          "gene_hgnc_id": 21715,
          "hgvs_c": "n.*129T>A",
          "hgvs_p": null,
          "transcript": "ENST00000710634.1",
          "protein_id": "ENSP00000518389.1",
          "transcript_support_level": null,
          "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": 1517,
          "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": 13,
          "exon_rank_end": null,
          "exon_count": 43,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1L2",
          "gene_hgnc_id": 21715,
          "hgvs_c": "n.2147T>A",
          "hgvs_p": null,
          "transcript": "NR_126532.3",
          "protein_id": null,
          "transcript_support_level": null,
          "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": 7642,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PKD1L2",
          "gene_hgnc_id": 21715,
          "hgvs_c": "n.*129T>A",
          "hgvs_p": null,
          "transcript": "ENST00000710634.1",
          "protein_id": "ENSP00000518389.1",
          "transcript_support_level": null,
          "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": 1517,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "PKD1L2",
          "gene_hgnc_id": 21715,
          "hgvs_c": "n.177+1378T>A",
          "hgvs_p": null,
          "transcript": "ENST00000529791.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": 552,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "PKD1L2",
      "gene_hgnc_id": 21715,
      "dbsnp": "rs4889261",
      "frequency_reference_population": 0.000006841321,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 10,
      "gnomad_exomes_af": 0.00000684132,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": 10,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.1330011785030365,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.193,
      "revel_prediction": "Benign",
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.27,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 3.753,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0.01,
      "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": "PM2,BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": 0,
          "benign_score": 2,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Moderate"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000525539.5",
          "gene_symbol": "PKD1L2",
          "hgnc_id": 21715,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.2132T>A",
          "hgvs_p": "p.Leu711Gln"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}