← 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: 18-49879055-T-TGAG (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "18",
      "pos": 49879055,
      "ref": "T",
      "alt": "TGAG",
      "effect": "conservative_inframe_insertion",
      "transcript": "ENST00000285039.12",
      "consequences": [
        {
          "aa_ref": "L",
          "aa_alt": "LL",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "conservative_inframe_insertion"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 40,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO5B",
          "gene_hgnc_id": 7603,
          "hgvs_c": "c.3163_3165dupCTC",
          "hgvs_p": "p.Leu1055dup",
          "transcript": "NM_001080467.3",
          "protein_id": "NP_001073936.1",
          "transcript_support_level": null,
          "aa_start": 1055,
          "aa_end": null,
          "aa_length": 1848,
          "cds_start": 3165,
          "cds_end": null,
          "cds_length": 5547,
          "cdna_start": 3519,
          "cdna_end": null,
          "cdna_length": 9583,
          "mane_select": "ENST00000285039.12",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "LL",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "conservative_inframe_insertion"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 40,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO5B",
          "gene_hgnc_id": 7603,
          "hgvs_c": "c.3163_3165dupCTC",
          "hgvs_p": "p.Leu1055dup",
          "transcript": "ENST00000285039.12",
          "protein_id": "ENSP00000285039.6",
          "transcript_support_level": 1,
          "aa_start": 1055,
          "aa_end": null,
          "aa_length": 1848,
          "cds_start": 3165,
          "cds_end": null,
          "cds_length": 5547,
          "cdna_start": 3519,
          "cdna_end": null,
          "cdna_length": 9583,
          "mane_select": "NM_001080467.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "LL",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "conservative_inframe_insertion"
          ],
          "exon_rank": 22,
          "exon_rank_end": null,
          "exon_count": 38,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO5B",
          "gene_hgnc_id": 7603,
          "hgvs_c": "c.2959_2961dupCTC",
          "hgvs_p": "p.Leu987dup",
          "transcript": "ENST00000697219.1",
          "protein_id": "ENSP00000513188.1",
          "transcript_support_level": null,
          "aa_start": 987,
          "aa_end": null,
          "aa_length": 1759,
          "cds_start": 2961,
          "cds_end": null,
          "cds_length": 5280,
          "cdna_start": 2962,
          "cdna_end": null,
          "cdna_length": 8908,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "L",
          "aa_alt": "LL",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "conservative_inframe_insertion"
          ],
          "exon_rank": 4,
          "exon_rank_end": null,
          "exon_count": 19,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO5B",
          "gene_hgnc_id": 7603,
          "hgvs_c": "c.592_594dupCTC",
          "hgvs_p": "p.Leu198dup",
          "transcript": "ENST00000324581.10",
          "protein_id": "ENSP00000315531.7",
          "transcript_support_level": 2,
          "aa_start": 198,
          "aa_end": null,
          "aa_length": 965,
          "cds_start": 594,
          "cds_end": null,
          "cds_length": 2898,
          "cdna_start": 594,
          "cdna_end": null,
          "cdna_length": 3109,
          "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": 2,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO5B",
          "gene_hgnc_id": 7603,
          "hgvs_c": "n.159_161dupCTC",
          "hgvs_p": null,
          "transcript": "ENST00000585859.1",
          "protein_id": null,
          "transcript_support_level": 3,
          "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": 196,
          "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": 1,
          "exon_rank_end": null,
          "exon_count": 2,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO5B",
          "gene_hgnc_id": 7603,
          "hgvs_c": "n.364_366dupCTC",
          "hgvs_p": null,
          "transcript": "ENST00000589568.1",
          "protein_id": null,
          "transcript_support_level": 4,
          "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": 561,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": true,
          "consequences": [
            "upstream_gene_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 17,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYO5B",
          "gene_hgnc_id": 7603,
          "hgvs_c": "n.-84_-82dupCTC",
          "hgvs_p": null,
          "transcript": "ENST00000697218.1",
          "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": 6078,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "MYO5B",
      "gene_hgnc_id": 7603,
      "dbsnp": "rs397841722",
      "frequency_reference_population": 0.30395353,
      "hom_count_reference_population": 78462,
      "allele_count_reference_population": 490381,
      "gnomad_exomes_af": 0.301889,
      "gnomad_genomes_af": 0.323821,
      "gnomad_exomes_ac": 441199,
      "gnomad_genomes_ac": 49182,
      "gnomad_exomes_homalt": 70222,
      "gnomad_genomes_homalt": 8240,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": null,
      "computational_prediction_selected": null,
      "computational_source_selected": null,
      "splice_score_selected": null,
      "splice_prediction_selected": null,
      "splice_source_selected": null,
      "revel_score": null,
      "revel_prediction": null,
      "alphamissense_score": null,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": null,
      "bayesdelnoaf_prediction": null,
      "phylop100way_score": -0.226,
      "phylop100way_prediction": "Benign",
      "spliceai_max_score": null,
      "spliceai_max_prediction": null,
      "dbscsnv_ada_score": null,
      "dbscsnv_ada_prediction": null,
      "apogee2_score": null,
      "apogee2_prediction": null,
      "mitotip_score": null,
      "mitotip_prediction": null,
      "acmg_score": -15,
      "acmg_classification": "Benign",
      "acmg_criteria": "PM4_Supporting,BP6_Very_Strong,BA1",
      "acmg_by_gene": [
        {
          "score": -15,
          "benign_score": 16,
          "pathogenic_score": 1,
          "criteria": [
            "PM4_Supporting",
            "BP6_Very_Strong",
            "BA1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000285039.12",
          "gene_symbol": "MYO5B",
          "hgnc_id": 7603,
          "effects": [
            "conservative_inframe_insertion"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.3163_3165dupCTC",
          "hgvs_p": "p.Leu1055dup"
        }
      ],
      "clinvar_disease": " 10, progressive familial intrahepatic,Cholestasis,Congenital microvillous atrophy,Diarrhea with Microvillus Atrophy,not provided,not specified",
      "clinvar_classification": "Benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "B:6",
      "phenotype_combined": "Diarrhea with Microvillus Atrophy|not specified|not provided|Congenital microvillous atrophy|Cholestasis, progressive familial intrahepatic, 10;Congenital microvillous atrophy",
      "pathogenicity_classification_combined": "Benign",
      "custom_annotations": null
    }
  ],
  "message": null
}