← 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-136673780-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "9",
      "pos": 136673780,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "ENST00000371696.7",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AGPAT2",
          "gene_hgnc_id": 325,
          "hgvs_c": "c.809C>T",
          "hgvs_p": "p.Ala270Val",
          "transcript": "NM_006412.4",
          "protein_id": "NP_006403.2",
          "transcript_support_level": null,
          "aa_start": 270,
          "aa_end": null,
          "aa_length": 278,
          "cds_start": 809,
          "cds_end": null,
          "cds_length": 837,
          "cdna_start": 909,
          "cdna_end": null,
          "cdna_length": 1546,
          "mane_select": "ENST00000371696.7",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "V",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AGPAT2",
          "gene_hgnc_id": 325,
          "hgvs_c": "c.809C>T",
          "hgvs_p": "p.Ala270Val",
          "transcript": "ENST00000371696.7",
          "protein_id": "ENSP00000360761.2",
          "transcript_support_level": 1,
          "aa_start": 270,
          "aa_end": null,
          "aa_length": 278,
          "cds_start": 809,
          "cds_end": null,
          "cds_length": 837,
          "cdna_start": 909,
          "cdna_end": null,
          "cdna_length": 1546,
          "mane_select": "NM_006412.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AGPAT2",
          "gene_hgnc_id": 325,
          "hgvs_c": "c.713C>T",
          "hgvs_p": "p.Ala238Val",
          "transcript": "ENST00000371694.7",
          "protein_id": "ENSP00000360759.3",
          "transcript_support_level": 1,
          "aa_start": 238,
          "aa_end": null,
          "aa_length": 246,
          "cds_start": 713,
          "cds_end": null,
          "cds_length": 741,
          "cdna_start": 754,
          "cdna_end": null,
          "cdna_length": 1391,
          "mane_select": null,
          "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": 4,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AGPAT2",
          "gene_hgnc_id": 325,
          "hgvs_c": "n.737C>T",
          "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": "A",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AGPAT2",
          "gene_hgnc_id": 325,
          "hgvs_c": "c.713C>T",
          "hgvs_p": "p.Ala238Val",
          "transcript": "NM_001012727.2",
          "protein_id": "NP_001012745.1",
          "transcript_support_level": null,
          "aa_start": 238,
          "aa_end": null,
          "aa_length": 246,
          "cds_start": 713,
          "cds_end": null,
          "cds_length": 741,
          "cdna_start": 813,
          "cdna_end": null,
          "cdna_length": 1450,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "V",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "AGPAT2",
          "gene_hgnc_id": 325,
          "hgvs_c": "c.500C>T",
          "hgvs_p": "p.Ala167Val",
          "transcript": "XM_047422636.1",
          "protein_id": "XP_047278592.1",
          "transcript_support_level": null,
          "aa_start": 167,
          "aa_end": null,
          "aa_length": 175,
          "cds_start": 500,
          "cds_end": null,
          "cds_length": 528,
          "cdna_start": 746,
          "cdna_end": null,
          "cdna_length": 1383,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "AGPAT2",
      "gene_hgnc_id": 325,
      "dbsnp": "rs142417583",
      "frequency_reference_population": 0.0011423193,
      "hom_count_reference_population": 18,
      "allele_count_reference_population": 1830,
      "gnomad_exomes_af": 0.000638774,
      "gnomad_genomes_af": 0.00593363,
      "gnomad_exomes_ac": 926,
      "gnomad_genomes_ac": 904,
      "gnomad_exomes_homalt": 8,
      "gnomad_genomes_homalt": 10,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.0030978620052337646,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.13,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0972,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.51,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -1.576,
      "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": -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": "ENST00000371696.7",
          "gene_symbol": "AGPAT2",
          "hgnc_id": 325,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.809C>T",
          "hgvs_p": "p.Ala270Val"
        }
      ],
      "clinvar_disease": "Congenital generalized lipodystrophy type 1,Monogenic diabetes,not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "US:1 B:3",
      "phenotype_combined": "Monogenic diabetes|Congenital generalized lipodystrophy type 1|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}