← 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: 21-33432343-T-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "21",
      "pos": 33432343,
      "ref": "T",
      "alt": "C",
      "effect": "splice_region_variant,intron_variant",
      "transcript": "ENST00000290219.11",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "IFNGR2",
          "gene_hgnc_id": 5440,
          "hgvs_c": "c.721+7T>C",
          "hgvs_p": null,
          "transcript": "NM_005534.4",
          "protein_id": "NP_005525.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 337,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1014,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1699,
          "mane_select": "ENST00000290219.11",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "IFNGR2",
          "gene_hgnc_id": 5440,
          "hgvs_c": "c.721+7T>C",
          "hgvs_p": null,
          "transcript": "ENST00000290219.11",
          "protein_id": "ENSP00000290219.5",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 337,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1014,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1699,
          "mane_select": "NM_005534.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "IFNGR2",
          "gene_hgnc_id": 5440,
          "hgvs_c": "c.778+7T>C",
          "hgvs_p": null,
          "transcript": "NM_001329128.2",
          "protein_id": "NP_001316057.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 356,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1071,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 2287,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "IFNGR2",
          "gene_hgnc_id": 5440,
          "hgvs_c": "c.778+7T>C",
          "hgvs_p": null,
          "transcript": "ENST00000381995.5",
          "protein_id": "ENSP00000371425.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 356,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1071,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1742,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 5,
          "intron_rank_end": null,
          "gene_symbol": "IFNGR2",
          "gene_hgnc_id": 5440,
          "hgvs_c": "c.712+7T>C",
          "hgvs_p": null,
          "transcript": "ENST00000696724.1",
          "protein_id": "ENSP00000512835.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 334,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 1005,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1530,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 8,
          "intron_rank": 6,
          "intron_rank_end": null,
          "gene_symbol": "IFNGR2",
          "gene_hgnc_id": 5440,
          "hgvs_c": "c.484+7T>C",
          "hgvs_p": null,
          "transcript": "ENST00000405436.5",
          "protein_id": "ENSP00000385044.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 258,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 777,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1684,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": 1,
          "intron_rank_end": null,
          "gene_symbol": "IFNGR2",
          "gene_hgnc_id": 5440,
          "hgvs_c": "c.16+7T>C",
          "hgvs_p": null,
          "transcript": "ENST00000421802.1",
          "protein_id": "ENSP00000402629.1",
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 59,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 180,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 727,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "splice_region_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "IFNGR2",
          "gene_hgnc_id": 5440,
          "hgvs_c": "n.*474+7T>C",
          "hgvs_p": null,
          "transcript": "ENST00000545369.2",
          "protein_id": "ENSP00000442735.2",
          "transcript_support_level": 5,
          "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": 966,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMEM50B",
          "gene_hgnc_id": 1280,
          "hgvs_c": "n.*2580A>G",
          "hgvs_p": null,
          "transcript": "ENST00000420455.5",
          "protein_id": "ENSP00000397773.1",
          "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": 3062,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "IFNGR2",
          "gene_hgnc_id": 5440,
          "hgvs_c": "n.*703T>C",
          "hgvs_p": null,
          "transcript": "ENST00000439213.5",
          "protein_id": "ENSP00000407541.1",
          "transcript_support_level": 5,
          "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": 906,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMEM50B",
          "gene_hgnc_id": 1280,
          "hgvs_c": "n.*142A>G",
          "hgvs_p": null,
          "transcript": "ENST00000484377.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "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": 695,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 9,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMEM50B",
          "gene_hgnc_id": 1280,
          "hgvs_c": "n.*143A>G",
          "hgvs_p": null,
          "transcript": "NR_040016.2",
          "protein_id": null,
          "transcript_support_level": null,
          "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": 3092,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "downstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "TMEM50B",
          "gene_hgnc_id": 1280,
          "hgvs_c": "c.*2690A>G",
          "hgvs_p": null,
          "transcript": "XM_011529746.3",
          "protein_id": "XP_011528048.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 158,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 477,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 3202,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "IFNGR2",
      "gene_hgnc_id": 5440,
      "dbsnp": "rs41351148",
      "frequency_reference_population": 0.0019750113,
      "hom_count_reference_population": 60,
      "allele_count_reference_population": 3182,
      "gnomad_exomes_af": 0.00107824,
      "gnomad_genomes_af": 0.0105669,
      "gnomad_exomes_ac": 1573,
      "gnomad_genomes_ac": 1609,
      "gnomad_exomes_homalt": 31,
      "gnomad_genomes_homalt": 29,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": -0.8100000023841858,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "BayesDel_noAF",
      "splice_score_selected": 0.0020000000949949026,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "dbscSNV1_RF",
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.81,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": -1.432,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": 0.04,
      "spliceai_max_prediction": "Benign",
      "dbscsnv_ada_score": 0.0000940566848161291,
      "dbscsnv_ada_prediction": "Benign",
      "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": "ENST00000290219.11",
          "gene_symbol": "IFNGR2",
          "hgnc_id": 5440,
          "effects": [
            "splice_region_variant",
            "intron_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.721+7T>C",
          "hgvs_p": null
        },
        {
          "score": -20,
          "benign_score": 20,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Strong",
            "BP6_Very_Strong",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000420455.5",
          "gene_symbol": "TMEM50B",
          "hgnc_id": 1280,
          "effects": [
            "downstream_gene_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "n.*2580A>G",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "Immunodeficiency 28,not provided",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:2",
      "phenotype_combined": "Immunodeficiency 28|not provided",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}