← 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-45485786-G-C (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "19",
      "pos": 45485786,
      "ref": "G",
      "alt": "C",
      "effect": "missense_variant",
      "transcript": "NM_005619.5",
      "consequences": [
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "c.1560C>G",
          "hgvs_p": "p.Ile520Met",
          "transcript": "NM_005619.5",
          "protein_id": "NP_005610.1",
          "transcript_support_level": null,
          "aa_start": 520,
          "aa_end": null,
          "aa_length": 545,
          "cds_start": 1560,
          "cds_end": null,
          "cds_length": 1638,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "ENST00000245923.9",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_005619.5"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "c.1560C>G",
          "hgvs_p": "p.Ile520Met",
          "transcript": "ENST00000245923.9",
          "protein_id": "ENSP00000245923.3",
          "transcript_support_level": 1,
          "aa_start": 520,
          "aa_end": null,
          "aa_length": 545,
          "cds_start": 1560,
          "cds_end": null,
          "cds_length": 1638,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": "NM_005619.5",
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000245923.9"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "c.1341C>G",
          "hgvs_p": "p.Ile447Met",
          "transcript": "ENST00000344680.8",
          "protein_id": "ENSP00000345127.3",
          "transcript_support_level": 1,
          "aa_start": 447,
          "aa_end": null,
          "aa_length": 472,
          "cds_start": 1341,
          "cds_end": null,
          "cds_length": 1419,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000344680.8"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "c.540C>G",
          "hgvs_p": "p.Ile180Met",
          "transcript": "ENST00000430715.6",
          "protein_id": "ENSP00000398178.1",
          "transcript_support_level": 1,
          "aa_start": 180,
          "aa_end": null,
          "aa_length": 205,
          "cds_start": 540,
          "cds_end": null,
          "cds_length": 618,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000430715.6"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "n.*558C>G",
          "hgvs_p": null,
          "transcript": "ENST00000591286.5",
          "protein_id": "ENSP00000467863.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000591286.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "n.*558C>G",
          "hgvs_p": null,
          "transcript": "ENST00000591286.5",
          "protein_id": "ENSP00000467863.1",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000591286.5"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "c.1341C>G",
          "hgvs_p": "p.Ile447Met",
          "transcript": "NM_206900.3",
          "protein_id": "NP_996783.1",
          "transcript_support_level": null,
          "aa_start": 447,
          "aa_end": null,
          "aa_length": 472,
          "cds_start": 1341,
          "cds_end": null,
          "cds_length": 1419,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_206900.3"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "c.1335C>G",
          "hgvs_p": "p.Ile445Met",
          "transcript": "ENST00000920224.1",
          "protein_id": "ENSP00000590283.1",
          "transcript_support_level": null,
          "aa_start": 445,
          "aa_end": null,
          "aa_length": 470,
          "cds_start": 1335,
          "cds_end": null,
          "cds_length": 1413,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000920224.1"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 11,
          "exon_rank_end": null,
          "exon_count": 11,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "c.738C>G",
          "hgvs_p": "p.Ile246Met",
          "transcript": "ENST00000590526.5",
          "protein_id": "ENSP00000466619.1",
          "transcript_support_level": 5,
          "aa_start": 246,
          "aa_end": null,
          "aa_length": 271,
          "cds_start": 738,
          "cds_end": null,
          "cds_length": 816,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "ENST00000590526.5"
        },
        {
          "aa_ref": "I",
          "aa_alt": "M",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 7,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "c.540C>G",
          "hgvs_p": "p.Ile180Met",
          "transcript": "NM_206901.3",
          "protein_id": "NP_996784.1",
          "transcript_support_level": null,
          "aa_start": 180,
          "aa_end": null,
          "aa_length": 205,
          "cds_start": 540,
          "cds_end": null,
          "cds_length": 618,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "protein_coding",
          "feature": "NM_206901.3"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "n.*104C>G",
          "hgvs_p": null,
          "transcript": "ENST00000587597.5",
          "protein_id": "ENSP00000468144.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000587597.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "n.398C>G",
          "hgvs_p": null,
          "transcript": "ENST00000588036.5",
          "protein_id": null,
          "transcript_support_level": 4,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000588036.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "n.124C>G",
          "hgvs_p": null,
          "transcript": "ENST00000590746.5",
          "protein_id": null,
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "pseudogene",
          "feature": "ENST00000590746.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 5,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "n.436C>G",
          "hgvs_p": null,
          "transcript": "ENST00000593129.1",
          "protein_id": null,
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000593129.1"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 3,
          "exon_rank_end": null,
          "exon_count": 3,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "n.162C>G",
          "hgvs_p": null,
          "transcript": "ENST00000593187.5",
          "protein_id": null,
          "transcript_support_level": 2,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000593187.5"
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "3_prime_UTR_variant"
          ],
          "exon_rank": 10,
          "exon_rank_end": null,
          "exon_count": 10,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "n.*104C>G",
          "hgvs_p": null,
          "transcript": "ENST00000587597.5",
          "protein_id": "ENSP00000468144.1",
          "transcript_support_level": 5,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "nonsense_mediated_decay",
          "feature": "ENST00000587597.5"
        },
        {
          "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": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "RTN2",
          "gene_hgnc_id": 10468,
          "hgvs_c": "n.*149C>G",
          "hgvs_p": null,
          "transcript": "ENST00000591789.1",
          "protein_id": null,
          "transcript_support_level": 3,
          "aa_start": null,
          "aa_end": null,
          "aa_length": null,
          "cds_start": null,
          "cds_end": null,
          "cds_length": null,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": null,
          "mane_select": null,
          "mane_plus": null,
          "biotype": "retained_intron",
          "feature": "ENST00000591789.1"
        }
      ],
      "gene_symbol": "RTN2",
      "gene_hgnc_id": 10468,
      "dbsnp": "rs1159296807",
      "frequency_reference_population": 0.0000043385667,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 7,
      "gnomad_exomes_af": 0.00000342162,
      "gnomad_genomes_af": 0.0000131456,
      "gnomad_exomes_ac": 5,
      "gnomad_genomes_ac": 2,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.2320166528224945,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.153,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.504,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.12,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.91,
      "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": -2,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "BP4_Moderate",
      "acmg_by_gene": [
        {
          "score": -2,
          "benign_score": 2,
          "pathogenic_score": 0,
          "criteria": [
            "BP4_Moderate"
          ],
          "verdict": "Likely_benign",
          "transcript": "NM_005619.5",
          "gene_symbol": "RTN2",
          "hgnc_id": 10468,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.1560C>G",
          "hgvs_p": "p.Ile520Met"
        }
      ],
      "clinvar_disease": "Spastic paraplegia",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "US:1",
      "phenotype_combined": "Spastic paraplegia",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}