← 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-169320815-G-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 169320815,
      "ref": "G",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "ENST00000649046.1",
      "consequences": [
        {
          "aa_ref": "T",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 79,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRP2",
          "gene_hgnc_id": 6694,
          "hgvs_c": "c.149C>G",
          "hgvs_p": "p.Thr50Ser",
          "transcript": "NM_004525.3",
          "protein_id": "NP_004516.2",
          "transcript_support_level": null,
          "aa_start": 50,
          "aa_end": null,
          "aa_length": 4655,
          "cds_start": 149,
          "cds_end": null,
          "cds_length": 13968,
          "cdna_start": 284,
          "cdna_end": null,
          "cdna_length": 15657,
          "mane_select": "ENST00000649046.1",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "S",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 79,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRP2",
          "gene_hgnc_id": 6694,
          "hgvs_c": "c.149C>G",
          "hgvs_p": "p.Thr50Ser",
          "transcript": "ENST00000649046.1",
          "protein_id": "ENSP00000496870.1",
          "transcript_support_level": null,
          "aa_start": 50,
          "aa_end": null,
          "aa_length": 4655,
          "cds_start": 149,
          "cds_end": null,
          "cds_length": 13968,
          "cdna_start": 284,
          "cdna_end": null,
          "cdna_length": 15657,
          "mane_select": "NM_004525.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 23,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRP2",
          "gene_hgnc_id": 6694,
          "hgvs_c": "c.149C>G",
          "hgvs_p": "p.Thr50Ser",
          "transcript": "ENST00000443831.1",
          "protein_id": "ENSP00000409813.1",
          "transcript_support_level": 2,
          "aa_start": 50,
          "aa_end": null,
          "aa_length": 1225,
          "cds_start": 149,
          "cds_end": null,
          "cds_length": 3678,
          "cdna_start": 284,
          "cdna_end": null,
          "cdna_length": 4007,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "T",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 78,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRP2",
          "gene_hgnc_id": 6694,
          "hgvs_c": "c.149C>G",
          "hgvs_p": "p.Thr50Ser",
          "transcript": "XM_011511183.4",
          "protein_id": "XP_011509485.1",
          "transcript_support_level": null,
          "aa_start": 50,
          "aa_end": null,
          "aa_length": 4612,
          "cds_start": 149,
          "cds_end": null,
          "cds_length": 13839,
          "cdna_start": 284,
          "cdna_end": null,
          "cdna_length": 15528,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "5_prime_UTR_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 79,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LRP2",
          "gene_hgnc_id": 6694,
          "hgvs_c": "c.-776C>G",
          "hgvs_p": null,
          "transcript": "XM_047444340.1",
          "protein_id": "XP_047300296.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 4347,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 13044,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 15591,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "LRP2",
      "gene_hgnc_id": 6694,
      "dbsnp": "rs114460450",
      "frequency_reference_population": 0.0031517264,
      "hom_count_reference_population": 35,
      "allele_count_reference_population": 5087,
      "gnomad_exomes_af": 0.00314264,
      "gnomad_genomes_af": 0.00323903,
      "gnomad_exomes_ac": 4594,
      "gnomad_genomes_ac": 493,
      "gnomad_exomes_homalt": 30,
      "gnomad_genomes_homalt": 5,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.007371723651885986,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.37,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.1654,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.19,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 5.384,
      "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": -20,
      "acmg_classification": "Benign",
      "acmg_criteria": "BP4_Strong,BP6_Very_Strong,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000649046.1",
          "gene_symbol": "LRP2",
          "hgnc_id": 6694,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.149C>G",
          "hgvs_p": "p.Thr50Ser"
        }
      ],
      "clinvar_disease": "Donnai-Barrow syndrome,Hearing loss and Retinal dystrophy,not provided",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:5 B:3",
      "phenotype_combined": "Donnai-Barrow syndrome|not provided|Hearing loss and Retinal dystrophy",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}