← 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: 9-136676659-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "9",
      "pos": 136676659,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "ENST00000371696.7",
      "consequences": [
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AGPAT2",
          "gene_hgnc_id": 325,
          "hgvs_c": "c.514G>A",
          "hgvs_p": "p.Glu172Lys",
          "transcript": "NM_006412.4",
          "protein_id": "NP_006403.2",
          "transcript_support_level": null,
          "aa_start": 172,
          "aa_end": null,
          "aa_length": 278,
          "cds_start": 514,
          "cds_end": null,
          "cds_length": 837,
          "cdna_start": 614,
          "cdna_end": null,
          "cdna_length": 1546,
          "mane_select": "ENST00000371696.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AGPAT2",
          "gene_hgnc_id": 325,
          "hgvs_c": "c.514G>A",
          "hgvs_p": "p.Glu172Lys",
          "transcript": "ENST00000371696.7",
          "protein_id": "ENSP00000360761.2",
          "transcript_support_level": 1,
          "aa_start": 172,
          "aa_end": null,
          "aa_length": 278,
          "cds_start": 514,
          "cds_end": null,
          "cds_length": 837,
          "cdna_start": 614,
          "cdna_end": null,
          "cdna_length": 1546,
          "mane_select": "NM_006412.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": 2,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AGPAT2",
          "gene_hgnc_id": 325,
          "hgvs_c": "n.442G>A",
          "hgvs_p": null,
          "transcript": "ENST00000472820.1",
          "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": 808,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "AGPAT2",
          "gene_hgnc_id": 325,
          "hgvs_c": "c.492+302G>A",
          "hgvs_p": null,
          "transcript": "ENST00000371694.7",
          "protein_id": "ENSP00000360759.3",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 246,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 741,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1391,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "E",
          "aa_alt": "K",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AGPAT2",
          "gene_hgnc_id": 325,
          "hgvs_c": "c.205G>A",
          "hgvs_p": "p.Glu69Lys",
          "transcript": "XM_047422636.1",
          "protein_id": "XP_047278592.1",
          "transcript_support_level": null,
          "aa_start": 69,
          "aa_end": null,
          "aa_length": 175,
          "cds_start": 205,
          "cds_end": null,
          "cds_length": 528,
          "cdna_start": 451,
          "cdna_end": null,
          "cdna_length": 1383,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "AGPAT2",
          "gene_hgnc_id": 325,
          "hgvs_c": "c.492+302G>A",
          "hgvs_p": null,
          "transcript": "NM_001012727.2",
          "protein_id": "NP_001012745.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 246,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 741,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1450,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "AGPAT2",
      "gene_hgnc_id": 325,
      "dbsnp": "rs748157664",
      "frequency_reference_population": 0.000010536442,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 17,
      "gnomad_exomes_af": 0.0000109493,
      "gnomad_genomes_af": 0.00000657142,
      "gnomad_exomes_ac": 16,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.9955275058746338,
      "computational_prediction_selected": "Pathogenic",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.3799999952316284,
      "splice_prediction_selected": "Uncertain_significance",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.95,
      "revel_prediction": "Pathogenic",
      "alphamissense_score": 0.9845,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.57,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 6.887,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0.38,
      "spliceai_max_prediction": "Uncertain_significance",
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": 14,
      "acmg_classification": "Pathogenic",
      "acmg_criteria": "PM2,PP3_Strong,PP5_Very_Strong",
      "acmg_by_gene": [
        {
          "score": 14,
          "benign_score": 0,
          "pathogenic_score": 14,
          "criteria": [
            "PM2",
            "PP3_Strong",
            "PP5_Very_Strong"
          ],
          "verdict": "Pathogenic",
          "transcript": "ENST00000371696.7",
          "gene_symbol": "AGPAT2",
          "hgnc_id": 325,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.514G>A",
          "hgvs_p": "p.Glu172Lys"
        }
      ],
      "clinvar_disease": "Congenital generalized lipodystrophy type 1,not provided",
      "clinvar_classification": "Pathogenic/Likely pathogenic",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "P:1 LP:1 O:1",
      "phenotype_combined": "Congenital generalized lipodystrophy type 1|not provided",
      "pathogenicity_classification_combined": "Pathogenic/Likely pathogenic",
      "custom_annotations": null
    }
  ],
  "message": null
}