← 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-7555338-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "19",
      "pos": 7555338,
      "ref": "T",
      "alt": "C",
      "effect": "synonymous_variant",
      "transcript": "ENST00000600737.6",
      "consequences": [
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PNPLA6",
          "gene_hgnc_id": 16268,
          "hgvs_c": "c.2907T>C",
          "hgvs_p": "p.Ile969Ile",
          "transcript": "NM_001166114.2",
          "protein_id": "NP_001159586.1",
          "transcript_support_level": null,
          "aa_start": 969,
          "aa_end": null,
          "aa_length": 1365,
          "cds_start": 2907,
          "cds_end": null,
          "cds_length": 4098,
          "cdna_start": 2979,
          "cdna_end": null,
          "cdna_length": 4372,
          "mane_select": "ENST00000600737.6",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 32,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PNPLA6",
          "gene_hgnc_id": 16268,
          "hgvs_c": "c.2907T>C",
          "hgvs_p": "p.Ile969Ile",
          "transcript": "ENST00000600737.6",
          "protein_id": "ENSP00000473211.1",
          "transcript_support_level": 1,
          "aa_start": 969,
          "aa_end": null,
          "aa_length": 1365,
          "cds_start": 2907,
          "cds_end": null,
          "cds_length": 4098,
          "cdna_start": 2979,
          "cdna_end": null,
          "cdna_length": 4372,
          "mane_select": "NM_001166114.2",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 26,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PNPLA6",
          "gene_hgnc_id": 16268,
          "hgvs_c": "c.2793T>C",
          "hgvs_p": "p.Ile931Ile",
          "transcript": "ENST00000221249.10",
          "protein_id": "ENSP00000221249.5",
          "transcript_support_level": 1,
          "aa_start": 931,
          "aa_end": null,
          "aa_length": 1327,
          "cds_start": 2793,
          "cds_end": null,
          "cds_length": 3984,
          "cdna_start": 3224,
          "cdna_end": null,
          "cdna_length": 4617,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 26,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PNPLA6",
          "gene_hgnc_id": 16268,
          "hgvs_c": "c.2793T>C",
          "hgvs_p": "p.Ile931Ile",
          "transcript": "ENST00000450331.7",
          "protein_id": "ENSP00000394348.2",
          "transcript_support_level": 1,
          "aa_start": 931,
          "aa_end": null,
          "aa_length": 1327,
          "cds_start": 2793,
          "cds_end": null,
          "cds_length": 3984,
          "cdna_start": 3064,
          "cdna_end": null,
          "cdna_length": 4457,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 25,
          "exon_rank_end": null,
          "exon_count": 34,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PNPLA6",
          "gene_hgnc_id": 16268,
          "hgvs_c": "c.2937T>C",
          "hgvs_p": "p.Ile979Ile",
          "transcript": "NM_001166111.2",
          "protein_id": "NP_001159583.1",
          "transcript_support_level": null,
          "aa_start": 979,
          "aa_end": null,
          "aa_length": 1375,
          "cds_start": 2937,
          "cds_end": null,
          "cds_length": 4128,
          "cdna_start": 3143,
          "cdna_end": null,
          "cdna_length": 4536,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 25,
          "exon_rank_end": null,
          "exon_count": 34,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PNPLA6",
          "gene_hgnc_id": 16268,
          "hgvs_c": "c.2937T>C",
          "hgvs_p": "p.Ile979Ile",
          "transcript": "ENST00000414982.7",
          "protein_id": "ENSP00000407509.2",
          "transcript_support_level": 2,
          "aa_start": 979,
          "aa_end": null,
          "aa_length": 1375,
          "cds_start": 2937,
          "cds_end": null,
          "cds_length": 4128,
          "cdna_start": 3132,
          "cdna_end": null,
          "cdna_length": 4522,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 26,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PNPLA6",
          "gene_hgnc_id": 16268,
          "hgvs_c": "c.2793T>C",
          "hgvs_p": "p.Ile931Ile",
          "transcript": "NM_001166113.1",
          "protein_id": "NP_001159585.1",
          "transcript_support_level": null,
          "aa_start": 931,
          "aa_end": null,
          "aa_length": 1327,
          "cds_start": 2793,
          "cds_end": null,
          "cds_length": 3984,
          "cdna_start": 3064,
          "cdna_end": null,
          "cdna_length": 4460,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 26,
          "exon_rank_end": null,
          "exon_count": 35,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PNPLA6",
          "gene_hgnc_id": 16268,
          "hgvs_c": "c.2793T>C",
          "hgvs_p": "p.Ile931Ile",
          "transcript": "NM_006702.5",
          "protein_id": "NP_006693.3",
          "transcript_support_level": null,
          "aa_start": 931,
          "aa_end": null,
          "aa_length": 1327,
          "cds_start": 2793,
          "cds_end": null,
          "cds_length": 3984,
          "cdna_start": 3064,
          "cdna_end": null,
          "cdna_length": 4457,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 25,
          "exon_rank_end": null,
          "exon_count": 34,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PNPLA6",
          "gene_hgnc_id": 16268,
          "hgvs_c": "c.2712T>C",
          "hgvs_p": "p.Ile904Ile",
          "transcript": "NM_001166112.2",
          "protein_id": "NP_001159584.1",
          "transcript_support_level": null,
          "aa_start": 904,
          "aa_end": null,
          "aa_length": 1300,
          "cds_start": 2712,
          "cds_end": null,
          "cds_length": 3903,
          "cdna_start": 3112,
          "cdna_end": null,
          "cdna_length": 4505,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 25,
          "exon_rank_end": null,
          "exon_count": 34,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PNPLA6",
          "gene_hgnc_id": 16268,
          "hgvs_c": "c.2712T>C",
          "hgvs_p": "p.Ile904Ile",
          "transcript": "ENST00000545201.6",
          "protein_id": "ENSP00000443323.1",
          "transcript_support_level": 2,
          "aa_start": 904,
          "aa_end": null,
          "aa_length": 1300,
          "cds_start": 2712,
          "cds_end": null,
          "cds_length": 3903,
          "cdna_start": 3112,
          "cdna_end": null,
          "cdna_length": 4502,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "I",
          "aa_alt": "I",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "synonymous_variant"
          ],
          "exon_rank": 1,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PNPLA6",
          "gene_hgnc_id": 16268,
          "hgvs_c": "c.78T>C",
          "hgvs_p": "p.Ile26Ile",
          "transcript": "ENST00000646984.1",
          "protein_id": "ENSP00000496219.1",
          "transcript_support_level": null,
          "aa_start": 26,
          "aa_end": null,
          "aa_length": 223,
          "cds_start": 78,
          "cds_end": null,
          "cds_length": 672,
          "cdna_start": 78,
          "cdna_end": null,
          "cdna_length": 672,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "PNPLA6",
      "gene_hgnc_id": 16268,
      "dbsnp": "rs774909110",
      "frequency_reference_population": 0.000040052517,
      "hom_count_reference_population": 1,
      "allele_count_reference_population": 59,
      "gnomad_exomes_af": 0.0000390578,
      "gnomad_genomes_af": 0.000049398,
      "gnomad_exomes_ac": 52,
      "gnomad_genomes_ac": 7,
      "gnomad_exomes_homalt": 1,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.7099999785423279,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.71,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -0.794,
      "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": -5,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PM2,BP4_Strong,BP6_Moderate,BP7",
      "acmg_by_gene": [
        {
          "score": -5,
          "benign_score": 7,
          "pathogenic_score": 2,
          "criteria": [
            "PM2",
            "BP4_Strong",
            "BP6_Moderate",
            "BP7"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000600737.6",
          "gene_symbol": "PNPLA6",
          "hgnc_id": 16268,
          "effects": [
            "synonymous_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.2907T>C",
          "hgvs_p": "p.Ile969Ile"
        }
      ],
      "clinvar_disease": "Hereditary spastic paraplegia 39,PNPLA6-related disorder",
      "clinvar_classification": "Likely benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "LB:1",
      "phenotype_combined": "Hereditary spastic paraplegia 39|PNPLA6-related disorder",
      "pathogenicity_classification_combined": "Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}