← 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: 6-107154674-G-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "6",
      "pos": 107154674,
      "ref": "G",
      "alt": "T",
      "effect": "stop_gained",
      "transcript": "NM_020381.4",
      "consequences": [
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDSS2",
          "gene_hgnc_id": 23041,
          "hgvs_c": "c.1145C>A",
          "hgvs_p": "p.Ser382*",
          "transcript": "NM_020381.4",
          "protein_id": "NP_065114.3",
          "transcript_support_level": null,
          "aa_start": 382,
          "aa_end": null,
          "aa_length": 399,
          "cds_start": 1145,
          "cds_end": null,
          "cds_length": 1200,
          "cdna_start": 1424,
          "cdna_end": null,
          "cdna_length": 3536,
          "mane_select": "ENST00000369037.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDSS2",
          "gene_hgnc_id": 23041,
          "hgvs_c": "c.1145C>A",
          "hgvs_p": "p.Ser382*",
          "transcript": "ENST00000369037.9",
          "protein_id": "ENSP00000358033.4",
          "transcript_support_level": 1,
          "aa_start": 382,
          "aa_end": null,
          "aa_length": 399,
          "cds_start": 1145,
          "cds_end": null,
          "cds_length": 1200,
          "cdna_start": 1424,
          "cdna_end": null,
          "cdna_length": 3536,
          "mane_select": "NM_020381.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDSS2",
          "gene_hgnc_id": 23041,
          "hgvs_c": "c.1343C>A",
          "hgvs_p": "p.Ser448*",
          "transcript": "XM_011535956.4",
          "protein_id": "XP_011534258.1",
          "transcript_support_level": null,
          "aa_start": 448,
          "aa_end": null,
          "aa_length": 465,
          "cds_start": 1343,
          "cds_end": null,
          "cds_length": 1398,
          "cdna_start": 1622,
          "cdna_end": null,
          "cdna_length": 3734,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDSS2",
          "gene_hgnc_id": 23041,
          "hgvs_c": "c.1211C>A",
          "hgvs_p": "p.Ser404*",
          "transcript": "XM_011535957.4",
          "protein_id": "XP_011534259.1",
          "transcript_support_level": null,
          "aa_start": 404,
          "aa_end": null,
          "aa_length": 421,
          "cds_start": 1211,
          "cds_end": null,
          "cds_length": 1266,
          "cdna_start": 1490,
          "cdna_end": null,
          "cdna_length": 3602,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 8,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDSS2",
          "gene_hgnc_id": 23041,
          "hgvs_c": "c.1208C>A",
          "hgvs_p": "p.Ser403*",
          "transcript": "XM_011535958.4",
          "protein_id": "XP_011534260.1",
          "transcript_support_level": null,
          "aa_start": 403,
          "aa_end": null,
          "aa_length": 420,
          "cds_start": 1208,
          "cds_end": null,
          "cds_length": 1263,
          "cdna_start": 1487,
          "cdna_end": null,
          "cdna_length": 3599,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDSS2",
          "gene_hgnc_id": 23041,
          "hgvs_c": "c.1037C>A",
          "hgvs_p": "p.Ser346*",
          "transcript": "XM_047419096.1",
          "protein_id": "XP_047275052.1",
          "transcript_support_level": null,
          "aa_start": 346,
          "aa_end": null,
          "aa_length": 363,
          "cds_start": 1037,
          "cds_end": null,
          "cds_length": 1092,
          "cdna_start": 1316,
          "cdna_end": null,
          "cdna_length": 3428,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDSS2",
          "gene_hgnc_id": 23041,
          "hgvs_c": "c.1013C>A",
          "hgvs_p": "p.Ser338*",
          "transcript": "XM_011535959.4",
          "protein_id": "XP_011534261.1",
          "transcript_support_level": null,
          "aa_start": 338,
          "aa_end": null,
          "aa_length": 355,
          "cds_start": 1013,
          "cds_end": null,
          "cds_length": 1068,
          "cdna_start": 1292,
          "cdna_end": null,
          "cdna_length": 3404,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDSS2",
          "gene_hgnc_id": 23041,
          "hgvs_c": "c.1010C>A",
          "hgvs_p": "p.Ser337*",
          "transcript": "XM_047419097.1",
          "protein_id": "XP_047275053.1",
          "transcript_support_level": null,
          "aa_start": 337,
          "aa_end": null,
          "aa_length": 354,
          "cds_start": 1010,
          "cds_end": null,
          "cds_length": 1065,
          "cdna_start": 1289,
          "cdna_end": null,
          "cdna_length": 3401,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDSS2",
          "gene_hgnc_id": 23041,
          "hgvs_c": "c.935C>A",
          "hgvs_p": "p.Ser312*",
          "transcript": "XM_011535960.4",
          "protein_id": "XP_011534262.1",
          "transcript_support_level": null,
          "aa_start": 312,
          "aa_end": null,
          "aa_length": 329,
          "cds_start": 935,
          "cds_end": null,
          "cds_length": 990,
          "cdna_start": 1244,
          "cdna_end": null,
          "cdna_length": 3356,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDSS2",
          "gene_hgnc_id": 23041,
          "hgvs_c": "c.887C>A",
          "hgvs_p": "p.Ser296*",
          "transcript": "XM_047419098.1",
          "protein_id": "XP_047275054.1",
          "transcript_support_level": null,
          "aa_start": 296,
          "aa_end": null,
          "aa_length": 313,
          "cds_start": 887,
          "cds_end": null,
          "cds_length": 942,
          "cdna_start": 1093,
          "cdna_end": null,
          "cdna_length": 3205,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDSS2",
          "gene_hgnc_id": 23041,
          "hgvs_c": "c.878C>A",
          "hgvs_p": "p.Ser293*",
          "transcript": "XM_047419099.1",
          "protein_id": "XP_047275055.1",
          "transcript_support_level": null,
          "aa_start": 293,
          "aa_end": null,
          "aa_length": 310,
          "cds_start": 878,
          "cds_end": null,
          "cds_length": 933,
          "cdna_start": 1157,
          "cdna_end": null,
          "cdna_length": 3269,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDSS2",
          "gene_hgnc_id": 23041,
          "hgvs_c": "c.839C>A",
          "hgvs_p": "p.Ser280*",
          "transcript": "XM_011535961.4",
          "protein_id": "XP_011534263.1",
          "transcript_support_level": null,
          "aa_start": 280,
          "aa_end": null,
          "aa_length": 297,
          "cds_start": 839,
          "cds_end": null,
          "cds_length": 894,
          "cdna_start": 1118,
          "cdna_end": null,
          "cdna_length": 3230,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 9,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDSS2",
          "gene_hgnc_id": 23041,
          "hgvs_c": "c.803C>A",
          "hgvs_p": "p.Ser268*",
          "transcript": "XM_047419100.1",
          "protein_id": "XP_047275056.1",
          "transcript_support_level": null,
          "aa_start": 268,
          "aa_end": null,
          "aa_length": 285,
          "cds_start": 803,
          "cds_end": null,
          "cds_length": 858,
          "cdna_start": 1306,
          "cdna_end": null,
          "cdna_length": 3418,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "S",
          "aa_alt": "*",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "stop_gained"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "PDSS2",
          "gene_hgnc_id": 23041,
          "hgvs_c": "c.704C>A",
          "hgvs_p": "p.Ser235*",
          "transcript": "XM_047419101.1",
          "protein_id": "XP_047275057.1",
          "transcript_support_level": null,
          "aa_start": 235,
          "aa_end": null,
          "aa_length": 252,
          "cds_start": 704,
          "cds_end": null,
          "cds_length": 759,
          "cdna_start": 983,
          "cdna_end": null,
          "cdna_length": 3095,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "PDSS2",
      "gene_hgnc_id": 23041,
      "dbsnp": "rs118203956",
      "frequency_reference_population": null,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 0,
      "gnomad_exomes_af": null,
      "gnomad_genomes_af": null,
      "gnomad_exomes_ac": null,
      "gnomad_genomes_ac": null,
      "gnomad_exomes_homalt": null,
      "gnomad_genomes_homalt": null,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.6499999761581421,
      "computational_prediction_selected": "Pathogenic",
      "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.65,
      "bayesdelnoaf_prediction": "Pathogenic",
      "phylop100way_score": 8.174,
      "phylop100way_prediction": "Pathogenic",
      "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": 4,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PVS1_Moderate,PM2",
      "acmg_by_gene": [
        {
          "score": 4,
          "benign_score": 0,
          "pathogenic_score": 4,
          "criteria": [
            "PVS1_Moderate",
            "PM2"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NM_020381.4",
          "gene_symbol": "PDSS2",
          "hgnc_id": 23041,
          "effects": [
            "stop_gained"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.1145C>A",
          "hgvs_p": "p.Ser382*"
        }
      ],
      "clinvar_disease": "",
      "clinvar_classification": "",
      "clinvar_review_status": "",
      "clinvar_submissions_summary": "",
      "phenotype_combined": null,
      "pathogenicity_classification_combined": null,
      "custom_annotations": null
    }
  ],
  "message": null
}