← 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: 20-5302662-C-G (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "20",
      "pos": 5302662,
      "ref": "C",
      "alt": "G",
      "effect": "missense_variant",
      "transcript": "ENST00000678254.1",
      "consequences": [
        {
          "aa_ref": "W",
          "aa_alt": "S",
          "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": "PROKR2",
          "gene_hgnc_id": 15836,
          "hgvs_c": "c.533G>C",
          "hgvs_p": "p.Trp178Ser",
          "transcript": "NM_144773.4",
          "protein_id": "NP_658986.1",
          "transcript_support_level": null,
          "aa_start": 178,
          "aa_end": null,
          "aa_length": 384,
          "cds_start": 533,
          "cds_end": null,
          "cds_length": 1155,
          "cdna_start": 1002,
          "cdna_end": null,
          "cdna_length": 4446,
          "mane_select": "ENST00000678254.1",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "S",
          "canonical": true,
          "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": "PROKR2",
          "gene_hgnc_id": 15836,
          "hgvs_c": "c.533G>C",
          "hgvs_p": "p.Trp178Ser",
          "transcript": "ENST00000678254.1",
          "protein_id": "ENSP00000504128.1",
          "transcript_support_level": null,
          "aa_start": 178,
          "aa_end": null,
          "aa_length": 384,
          "cds_start": 533,
          "cds_end": null,
          "cds_length": 1155,
          "cdna_start": 1002,
          "cdna_end": null,
          "cdna_length": 4446,
          "mane_select": "NM_144773.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "S",
          "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": "PROKR2",
          "gene_hgnc_id": 15836,
          "hgvs_c": "c.533G>C",
          "hgvs_p": "p.Trp178Ser",
          "transcript": "ENST00000217270.4",
          "protein_id": "ENSP00000217270.3",
          "transcript_support_level": 1,
          "aa_start": 178,
          "aa_end": null,
          "aa_length": 384,
          "cds_start": 533,
          "cds_end": null,
          "cds_length": 1155,
          "cdna_start": 616,
          "cdna_end": null,
          "cdna_length": 4017,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "S",
          "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": "PROKR2",
          "gene_hgnc_id": 15836,
          "hgvs_c": "c.425G>C",
          "hgvs_p": "p.Trp142Ser",
          "transcript": "ENST00000678059.1",
          "protein_id": "ENSP00000503366.1",
          "transcript_support_level": null,
          "aa_start": 142,
          "aa_end": null,
          "aa_length": 348,
          "cds_start": 425,
          "cds_end": null,
          "cds_length": 1047,
          "cdna_start": 686,
          "cdna_end": null,
          "cdna_length": 4057,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "W",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PROKR2",
          "gene_hgnc_id": 15836,
          "hgvs_c": "c.533G>C",
          "hgvs_p": "p.Trp178Ser",
          "transcript": "XM_017027646.2",
          "protein_id": "XP_016883135.1",
          "transcript_support_level": null,
          "aa_start": 178,
          "aa_end": null,
          "aa_length": 384,
          "cds_start": 533,
          "cds_end": null,
          "cds_length": 1155,
          "cdna_start": 1002,
          "cdna_end": null,
          "cdna_length": 4022,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "PROKR2",
      "gene_hgnc_id": 15836,
      "dbsnp": "rs201835496",
      "frequency_reference_population": 0.000075579796,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 122,
      "gnomad_exomes_af": 0.000077982,
      "gnomad_genomes_af": 0.0000525238,
      "gnomad_exomes_ac": 114,
      "gnomad_genomes_ac": 8,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.8336473703384399,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.901,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.8974,
      "alphamissense_prediction": "Pathogenic",
      "bayesdelnoaf_score": 0.43,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 7.426,
      "phylop100way_prediction": "Uncertain_significance",
      "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": -1,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PP3,BS1_Supporting,BS2_Supporting",
      "acmg_by_gene": [
        {
          "score": -1,
          "benign_score": 2,
          "pathogenic_score": 1,
          "criteria": [
            "PP3",
            "BS1_Supporting",
            "BS2_Supporting"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000678254.1",
          "gene_symbol": "PROKR2",
          "hgnc_id": 15836,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD",
          "hgvs_c": "c.533G>C",
          "hgvs_p": "p.Trp178Ser"
        }
      ],
      "clinvar_disease": "Hypogonadotropic hypogonadism 3 with or without anosmia,not provided",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "LP:2 US:1 LB:2",
      "phenotype_combined": "Hypogonadotropic hypogonadism 3 with or without anosmia|not provided",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}