← 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: 2-27378156-A-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 27378156,
      "ref": "A",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "ENST00000323703.11",
      "consequences": [
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ZNF513",
          "gene_hgnc_id": 26498,
          "hgvs_c": "c.1015T>C",
          "hgvs_p": "p.Cys339Arg",
          "transcript": "NM_144631.6",
          "protein_id": "NP_653232.3",
          "transcript_support_level": null,
          "aa_start": 339,
          "aa_end": null,
          "aa_length": 541,
          "cds_start": 1015,
          "cds_end": null,
          "cds_length": 1626,
          "cdna_start": 1223,
          "cdna_end": null,
          "cdna_length": 2144,
          "mane_select": "ENST00000323703.11",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ZNF513",
          "gene_hgnc_id": 26498,
          "hgvs_c": "c.1015T>C",
          "hgvs_p": "p.Cys339Arg",
          "transcript": "ENST00000323703.11",
          "protein_id": "ENSP00000318373.6",
          "transcript_support_level": 1,
          "aa_start": 339,
          "aa_end": null,
          "aa_length": 541,
          "cds_start": 1015,
          "cds_end": null,
          "cds_length": 1626,
          "cdna_start": 1223,
          "cdna_end": null,
          "cdna_length": 2144,
          "mane_select": "NM_144631.6",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ZNF513",
          "gene_hgnc_id": 26498,
          "hgvs_c": "c.829T>C",
          "hgvs_p": "p.Cys277Arg",
          "transcript": "ENST00000407879.1",
          "protein_id": "ENSP00000384874.1",
          "transcript_support_level": 1,
          "aa_start": 277,
          "aa_end": null,
          "aa_length": 479,
          "cds_start": 829,
          "cds_end": null,
          "cds_length": 1440,
          "cdna_start": 1156,
          "cdna_end": null,
          "cdna_length": 2077,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ZNF513",
          "gene_hgnc_id": 26498,
          "hgvs_c": "c.829T>C",
          "hgvs_p": "p.Cys277Arg",
          "transcript": "NM_001201459.2",
          "protein_id": "NP_001188388.1",
          "transcript_support_level": null,
          "aa_start": 277,
          "aa_end": null,
          "aa_length": 479,
          "cds_start": 829,
          "cds_end": null,
          "cds_length": 1440,
          "cdna_start": 1156,
          "cdna_end": null,
          "cdna_length": 2077,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "C",
          "aa_alt": "R",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "ZNF513",
          "gene_hgnc_id": 26498,
          "hgvs_c": "c.511T>C",
          "hgvs_p": "p.Cys171Arg",
          "transcript": "XM_005264143.4",
          "protein_id": "XP_005264200.1",
          "transcript_support_level": null,
          "aa_start": 171,
          "aa_end": null,
          "aa_length": 373,
          "cds_start": 511,
          "cds_end": null,
          "cds_length": 1122,
          "cdna_start": 620,
          "cdna_end": null,
          "cdna_length": 1541,
          "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": 3,
          "intron_rank": 2,
          "intron_rank_end": null,
          "gene_symbol": "ZNF513",
          "gene_hgnc_id": 26498,
          "hgvs_c": "n.260-126T>C",
          "hgvs_p": null,
          "transcript": "ENST00000491924.1",
          "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": 566,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "ZNF513",
      "gene_hgnc_id": 26498,
      "dbsnp": "rs267607182",
      "frequency_reference_population": 0.00010536258,
      "hom_count_reference_population": 3,
      "allele_count_reference_population": 170,
      "gnomad_exomes_af": 0.000109495,
      "gnomad_genomes_af": 0.0000656927,
      "gnomad_exomes_ac": 160,
      "gnomad_genomes_ac": 10,
      "gnomad_exomes_homalt": 3,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.26555293798446655,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.456,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.959,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.03,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 3.351,
      "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": -4,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PP5,BP4,BS2",
      "acmg_by_gene": [
        {
          "score": -4,
          "benign_score": 5,
          "pathogenic_score": 1,
          "criteria": [
            "PP5",
            "BP4",
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000323703.11",
          "gene_symbol": "ZNF513",
          "hgnc_id": 26498,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "Unknown,AD",
          "hgvs_c": "c.1015T>C",
          "hgvs_p": "p.Cys339Arg"
        }
      ],
      "clinvar_disease": "Retinitis pigmentosa 58,not provided",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "LP:1 US:1",
      "phenotype_combined": "Retinitis pigmentosa 58|not provided",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}