← 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: 10-49482796-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "10",
      "pos": 49482796,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "ENST00000355832.10",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERCC6",
          "gene_hgnc_id": 3438,
          "hgvs_c": "c.2060C>T",
          "hgvs_p": "p.Ser687Leu",
          "transcript": "NM_000124.4",
          "protein_id": "NP_000115.1",
          "transcript_support_level": null,
          "aa_start": 687,
          "aa_end": null,
          "aa_length": 1493,
          "cds_start": 2060,
          "cds_end": null,
          "cds_length": 4482,
          "cdna_start": 2234,
          "cdna_end": null,
          "cdna_length": 9001,
          "mane_select": "ENST00000355832.10",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "L",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERCC6",
          "gene_hgnc_id": 3438,
          "hgvs_c": "c.2060C>T",
          "hgvs_p": "p.Ser687Leu",
          "transcript": "ENST00000355832.10",
          "protein_id": "ENSP00000348089.5",
          "transcript_support_level": 1,
          "aa_start": 687,
          "aa_end": null,
          "aa_length": 1493,
          "cds_start": 2060,
          "cds_end": null,
          "cds_length": 4482,
          "cdna_start": 2234,
          "cdna_end": null,
          "cdna_length": 9001,
          "mane_select": "NM_000124.4",
          "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": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERCC6",
          "gene_hgnc_id": 3438,
          "hgvs_c": "n.6540C>T",
          "hgvs_p": null,
          "transcript": "ENST00000623073.3",
          "protein_id": null,
          "transcript_support_level": 1,
          "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": 11026,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 21,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERCC6",
          "gene_hgnc_id": 3438,
          "hgvs_c": "c.2060C>T",
          "hgvs_p": "p.Ser687Leu",
          "transcript": "NM_001346440.2",
          "protein_id": "NP_001333369.1",
          "transcript_support_level": null,
          "aa_start": 687,
          "aa_end": null,
          "aa_length": 1493,
          "cds_start": 2060,
          "cds_end": null,
          "cds_length": 4482,
          "cdna_start": 2230,
          "cdna_end": null,
          "cdna_length": 28586,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "L",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 20,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERCC6",
          "gene_hgnc_id": 3438,
          "hgvs_c": "c.1901C>T",
          "hgvs_p": "p.Ser634Leu",
          "transcript": "ENST00000681659.1",
          "protein_id": "ENSP00000505631.1",
          "transcript_support_level": null,
          "aa_start": 634,
          "aa_end": null,
          "aa_length": 1440,
          "cds_start": 1901,
          "cds_end": null,
          "cds_length": 4323,
          "cdna_start": 2005,
          "cdna_end": null,
          "cdna_length": 9074,
          "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": 15,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERCC6",
          "gene_hgnc_id": 3438,
          "hgvs_c": "n.483C>T",
          "hgvs_p": null,
          "transcript": "ENST00000623115.3",
          "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": 2932,
          "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": 10,
          "exon_rank_end": null,
          "exon_count": 18,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ERCC6",
          "gene_hgnc_id": 3438,
          "hgvs_c": "n.2138C>T",
          "hgvs_p": null,
          "transcript": "ENST00000681632.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": 10532,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "ERCC6",
      "gene_hgnc_id": 3438,
      "dbsnp": "rs1026438103",
      "frequency_reference_population": 0.00000743558,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 12,
      "gnomad_exomes_af": 0.0000075248,
      "gnomad_genomes_af": 0.00000657765,
      "gnomad_exomes_ac": 11,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.9790107607841492,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.946,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.9623,
      "alphamissense_prediction": "Pathogenic",
      "bayesdelnoaf_score": 0.54,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 10.003,
      "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": 16,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PM1,PM2,PP3_Strong,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 16,
          "benign_score": 0,
          "pathogenic_score": 16,
          "criteria": [
            "PM1",
            "PM2",
            "PP3_Strong",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000355832.10",
          "gene_symbol": "ERCC6",
          "hgnc_id": 3438,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR,Unknown",
          "hgvs_c": "c.2060C>T",
          "hgvs_p": "p.Ser687Leu"
        }
      ],
      "clinvar_disease": "Cerebrooculofacioskeletal syndrome 1,Cockayne syndrome type 2,DE SANCTIS-CACCHIONE SYNDROME,not provided",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "P:1",
      "phenotype_combined": "Cockayne syndrome type 2;DE SANCTIS-CACCHIONE SYNDROME;Cerebrooculofacioskeletal syndrome 1|Cockayne syndrome type 2|not provided",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}