← 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: X-108694874-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "X",
      "pos": 108694874,
      "ref": "T",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "ENST00000328300.11",
      "consequences": [
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 51,
          "exon_rank_end": null,
          "exon_count": 53,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL4A5",
          "gene_hgnc_id": 2207,
          "hgvs_c": "c.4774T>C",
          "hgvs_p": "p.Cys1592Arg",
          "transcript": "NM_033380.3",
          "protein_id": "NP_203699.1",
          "transcript_support_level": null,
          "aa_start": 1592,
          "aa_end": null,
          "aa_length": 1691,
          "cds_start": 4774,
          "cds_end": null,
          "cds_length": 5076,
          "cdna_start": 5062,
          "cdna_end": null,
          "cdna_length": 6531,
          "mane_select": "ENST00000328300.11",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 51,
          "exon_rank_end": null,
          "exon_count": 53,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL4A5",
          "gene_hgnc_id": 2207,
          "hgvs_c": "c.4774T>C",
          "hgvs_p": "p.Cys1592Arg",
          "transcript": "ENST00000328300.11",
          "protein_id": "ENSP00000331902.7",
          "transcript_support_level": 1,
          "aa_start": 1592,
          "aa_end": null,
          "aa_length": 1691,
          "cds_start": 4774,
          "cds_end": null,
          "cds_length": 5076,
          "cdna_start": 5062,
          "cdna_end": null,
          "cdna_length": 6531,
          "mane_select": "NM_033380.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 49,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL4A5",
          "gene_hgnc_id": 2207,
          "hgvs_c": "c.4756T>C",
          "hgvs_p": "p.Cys1586Arg",
          "transcript": "NM_000495.5",
          "protein_id": "NP_000486.1",
          "transcript_support_level": null,
          "aa_start": 1586,
          "aa_end": null,
          "aa_length": 1685,
          "cds_start": 4756,
          "cds_end": null,
          "cds_length": 5058,
          "cdna_start": 5044,
          "cdna_end": null,
          "cdna_length": 6513,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 49,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL4A5",
          "gene_hgnc_id": 2207,
          "hgvs_c": "c.4756T>C",
          "hgvs_p": "p.Cys1586Arg",
          "transcript": "ENST00000361603.7",
          "protein_id": "ENSP00000354505.2",
          "transcript_support_level": 2,
          "aa_start": 1586,
          "aa_end": null,
          "aa_length": 1685,
          "cds_start": 4756,
          "cds_end": null,
          "cds_length": 5058,
          "cdna_start": 4958,
          "cdna_end": null,
          "cdna_length": 6427,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL4A5",
          "gene_hgnc_id": 2207,
          "hgvs_c": "c.172T>C",
          "hgvs_p": "p.Cys58Arg",
          "transcript": "ENST00000504541.1",
          "protein_id": "ENSP00000424845.1",
          "transcript_support_level": 5,
          "aa_start": 58,
          "aa_end": null,
          "aa_length": 73,
          "cds_start": 172,
          "cds_end": null,
          "cds_length": 222,
          "cdna_start": 172,
          "cdna_end": null,
          "cdna_length": 859,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 52,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL4A5",
          "gene_hgnc_id": 2207,
          "hgvs_c": "c.4789T>C",
          "hgvs_p": "p.Cys1597Arg",
          "transcript": "XM_011530849.3",
          "protein_id": "XP_011529151.2",
          "transcript_support_level": null,
          "aa_start": 1597,
          "aa_end": null,
          "aa_length": 1696,
          "cds_start": 4789,
          "cds_end": null,
          "cds_length": 5091,
          "cdna_start": 4804,
          "cdna_end": null,
          "cdna_length": 6273,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 51,
          "exon_rank_end": null,
          "exon_count": 53,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL4A5",
          "gene_hgnc_id": 2207,
          "hgvs_c": "c.4780T>C",
          "hgvs_p": "p.Cys1594Arg",
          "transcript": "XM_017029259.3",
          "protein_id": "XP_016884748.1",
          "transcript_support_level": null,
          "aa_start": 1594,
          "aa_end": null,
          "aa_length": 1693,
          "cds_start": 4780,
          "cds_end": null,
          "cds_length": 5082,
          "cdna_start": 4795,
          "cdna_end": null,
          "cdna_length": 6264,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 50,
          "exon_rank_end": null,
          "exon_count": 52,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL4A5",
          "gene_hgnc_id": 2207,
          "hgvs_c": "c.4771T>C",
          "hgvs_p": "p.Cys1591Arg",
          "transcript": "XM_017029260.2",
          "protein_id": "XP_016884749.1",
          "transcript_support_level": null,
          "aa_start": 1591,
          "aa_end": null,
          "aa_length": 1690,
          "cds_start": 4771,
          "cds_end": null,
          "cds_length": 5073,
          "cdna_start": 4786,
          "cdna_end": null,
          "cdna_length": 6255,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 52,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL4A5",
          "gene_hgnc_id": 2207,
          "hgvs_c": "c.4450T>C",
          "hgvs_p": "p.Cys1484Arg",
          "transcript": "XM_047441810.1",
          "protein_id": "XP_047297766.1",
          "transcript_support_level": null,
          "aa_start": 1484,
          "aa_end": null,
          "aa_length": 1583,
          "cds_start": 4450,
          "cds_end": null,
          "cds_length": 4752,
          "cdna_start": 5114,
          "cdna_end": null,
          "cdna_length": 6583,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL4A5",
          "gene_hgnc_id": 2207,
          "hgvs_c": "n.1268T>C",
          "hgvs_p": null,
          "transcript": "ENST00000510690.2",
          "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": 1581,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 1,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL4A5",
          "gene_hgnc_id": 2207,
          "hgvs_c": "n.1260T>C",
          "hgvs_p": null,
          "transcript": "ENST00000644079.1",
          "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": 3915,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "COL4A5",
          "gene_hgnc_id": 2207,
          "hgvs_c": "c.323-1423T>C",
          "hgvs_p": null,
          "transcript": "ENST00000515658.1",
          "protein_id": "ENSP00000423520.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 114,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 345,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 790,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "COL4A5",
      "gene_hgnc_id": 2207,
      "dbsnp": "rs104886289",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.9939924478530884,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.964,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.9987,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.82,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 8.017,
      "phylop100way_prediction": "Pathogenic",
      "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": 9,
      "acmg_classification": "Likely_pathogenic",
      "acmg_criteria": "PM1,PM2,PP2,PP3_Strong",
      "acmg_by_gene": [
        {
          "score": 9,
          "benign_score": 0,
          "pathogenic_score": 9,
          "criteria": [
            "PM1",
            "PM2",
            "PP2",
            "PP3_Strong"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "ENST00000328300.11",
          "gene_symbol": "COL4A5",
          "hgnc_id": 2207,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "XL",
          "hgvs_c": "c.4774T>C",
          "hgvs_p": "p.Cys1592Arg"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}