← 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: 19-49016563-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "19",
      "pos": 49016563,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "NM_000894.3",
      "consequences": [
        {
          "aa_ref": "G",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LHB",
          "gene_hgnc_id": 6584,
          "hgvs_c": "c.167G>A",
          "hgvs_p": "p.Gly56Asp",
          "transcript": "NM_000894.3",
          "protein_id": "NP_000885.1",
          "transcript_support_level": null,
          "aa_start": 56,
          "aa_end": null,
          "aa_length": 141,
          "cds_start": 167,
          "cds_end": null,
          "cds_length": 426,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000649238.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_000894.3"
        },
        {
          "aa_ref": "G",
          "aa_alt": "D",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 2,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LHB",
          "gene_hgnc_id": 6584,
          "hgvs_c": "c.167G>A",
          "hgvs_p": "p.Gly56Asp",
          "transcript": "ENST00000649238.3",
          "protein_id": "ENSP00000497294.2",
          "transcript_support_level": null,
          "aa_start": 56,
          "aa_end": null,
          "aa_length": 141,
          "cds_start": 167,
          "cds_end": null,
          "cds_length": 426,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_000894.3",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000649238.3"
        },
        {
          "aa_ref": "G",
          "aa_alt": "D",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LHB",
          "gene_hgnc_id": 6584,
          "hgvs_c": "c.215G>A",
          "hgvs_p": "p.Gly72Asp",
          "transcript": "XM_047438832.1",
          "protein_id": "XP_047294788.1",
          "transcript_support_level": null,
          "aa_start": 72,
          "aa_end": null,
          "aa_length": 157,
          "cds_start": 215,
          "cds_end": null,
          "cds_length": 474,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "XM_047438832.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "LHB",
          "gene_hgnc_id": 6584,
          "hgvs_c": "n.258G>A",
          "hgvs_p": null,
          "transcript": "ENST00000649284.1",
          "protein_id": null,
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000649284.1"
        }
      ],
      "gene_symbol": "LHB",
      "gene_hgnc_id": 6584,
      "dbsnp": "rs121912517",
      "frequency_reference_population": 0.000006213789,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 10,
      "gnomad_exomes_af": 0.00000205825,
      "gnomad_genomes_af": 0.0000461218,
      "gnomad_exomes_ac": 3,
      "gnomad_genomes_ac": 7,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.9788146018981934,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.886,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.9687,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.36,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 3.077,
      "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": 7,
      "acmg_classification": "Likely_pathogenic",
      "acmg_criteria": "PM2,PP3_Strong,PP5",
      "acmg_by_gene": [
        {
          "score": 7,
          "benign_score": 0,
          "pathogenic_score": 7,
          "criteria": [
            "PM2",
            "PP3_Strong",
            "PP5"
          ],
          "verdict": "Likely_pathogenic",
          "transcript": "NM_000894.3",
          "gene_symbol": "LHB",
          "hgnc_id": 6584,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.167G>A",
          "hgvs_p": "p.Gly56Asp"
        }
      ],
      "clinvar_disease": "Isolated lutropin deficiency",
      "clinvar_classification": "Pathogenic",
      "clinvar_review_status": "no assertion criteria provided",
      "clinvar_submissions_summary": "null",
      "phenotype_combined": "Isolated lutropin deficiency",
      "pathogenicity_classification_combined": "Pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}