← 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: 14-23417535-C-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "14",
      "pos": 23417535,
      "ref": "C",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "ENST00000355349.4",
      "consequences": [
        {
          "aa_ref": "A",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 31,
          "exon_rank_end": null,
          "exon_count": 40,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYH7",
          "gene_hgnc_id": 7577,
          "hgvs_c": "c.4321G>T",
          "hgvs_p": "p.Ala1441Ser",
          "transcript": "NM_000257.4",
          "protein_id": "NP_000248.2",
          "transcript_support_level": null,
          "aa_start": 1441,
          "aa_end": null,
          "aa_length": 1935,
          "cds_start": 4321,
          "cds_end": null,
          "cds_length": 5808,
          "cdna_start": 4426,
          "cdna_end": null,
          "cdna_length": 6027,
          "mane_select": "ENST00000355349.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "S",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 31,
          "exon_rank_end": null,
          "exon_count": 40,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYH7",
          "gene_hgnc_id": 7577,
          "hgvs_c": "c.4321G>T",
          "hgvs_p": "p.Ala1441Ser",
          "transcript": "ENST00000355349.4",
          "protein_id": "ENSP00000347507.3",
          "transcript_support_level": 1,
          "aa_start": 1441,
          "aa_end": null,
          "aa_length": 1935,
          "cds_start": 4321,
          "cds_end": null,
          "cds_length": 5808,
          "cdna_start": 4426,
          "cdna_end": null,
          "cdna_length": 6027,
          "mane_select": "NM_000257.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 31,
          "exon_rank_end": null,
          "exon_count": 41,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYH7",
          "gene_hgnc_id": 7577,
          "hgvs_c": "c.4321G>T",
          "hgvs_p": "p.Ala1441Ser",
          "transcript": "ENST00000713768.1",
          "protein_id": "ENSP00000519070.1",
          "transcript_support_level": null,
          "aa_start": 1441,
          "aa_end": null,
          "aa_length": 1944,
          "cds_start": 4321,
          "cds_end": null,
          "cds_length": 5835,
          "cdna_start": 4426,
          "cdna_end": null,
          "cdna_length": 6103,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYH7",
          "gene_hgnc_id": 7577,
          "hgvs_c": "c.4321G>T",
          "hgvs_p": "p.Ala1441Ser",
          "transcript": "NM_001407004.1",
          "protein_id": "NP_001393933.1",
          "transcript_support_level": null,
          "aa_start": 1441,
          "aa_end": null,
          "aa_length": 1935,
          "cds_start": 4321,
          "cds_end": null,
          "cds_length": 5808,
          "cdna_start": 4370,
          "cdna_end": null,
          "cdna_length": 5971,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "A",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 30,
          "exon_rank_end": null,
          "exon_count": 39,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MYH7",
          "gene_hgnc_id": 7577,
          "hgvs_c": "c.4321G>T",
          "hgvs_p": "p.Ala1441Ser",
          "transcript": "ENST00000713769.1",
          "protein_id": "ENSP00000519071.1",
          "transcript_support_level": null,
          "aa_start": 1441,
          "aa_end": null,
          "aa_length": 1935,
          "cds_start": 4321,
          "cds_end": null,
          "cds_length": 5808,
          "cdna_start": 4370,
          "cdna_end": null,
          "cdna_length": 5971,
          "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",
            "non_coding_transcript_exon_variant"
          ],
          "exon_rank": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "MHRT",
          "gene_hgnc_id": 51291,
          "hgvs_c": "n.816C>A",
          "hgvs_p": null,
          "transcript": "NR_126491.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": 876,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "MYH7",
      "gene_hgnc_id": 7577,
      "dbsnp": "rs745414245",
      "frequency_reference_population": 0.000045278957,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 73,
      "gnomad_exomes_af": 0.0000493149,
      "gnomad_genomes_af": 0.00000656927,
      "gnomad_exomes_ac": 72,
      "gnomad_genomes_ac": 1,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.07316217571496964,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "CardioboostCm",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.278,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.1006,
      "alphamissense_prediction": "Benign",
      "bayesdelnoaf_score": -0.26,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 2.57,
      "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": 3,
      "acmg_classification": "Uncertain_significance",
      "acmg_criteria": "PM1,PP2",
      "acmg_by_gene": [
        {
          "score": 3,
          "benign_score": 0,
          "pathogenic_score": 3,
          "criteria": [
            "PM1",
            "PP2"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "ENST00000355349.4",
          "gene_symbol": "MYH7",
          "hgnc_id": 7577,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AR,AD",
          "hgvs_c": "c.4321G>T",
          "hgvs_p": "p.Ala1441Ser"
        },
        {
          "score": 2,
          "benign_score": 0,
          "pathogenic_score": 2,
          "criteria": [
            "PM2"
          ],
          "verdict": "Uncertain_significance",
          "transcript": "NR_126491.1",
          "gene_symbol": "MHRT",
          "hgnc_id": 51291,
          "effects": [
            "splice_region_variant",
            "non_coding_transcript_exon_variant"
          ],
          "inheritance_mode": "",
          "hgvs_c": "n.816C>A",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": " Dominant,6 conditions,Cardiomyopathy,Dilated Cardiomyopathy,Hypertrophic cardiomyopathy,Left ventricular noncompaction cardiomyopathy,MYH7-related skeletal myopathy,Myosin storage myopathy,Scapuloperoneal myopathy,Sudden unexplained death,not provided,not specified",
      "clinvar_classification": "Uncertain significance",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "US:15",
      "phenotype_combined": "not provided|Sudden unexplained death|Left ventricular noncompaction cardiomyopathy|MYH7-related skeletal myopathy|Dilated Cardiomyopathy, Dominant|Hypertrophic cardiomyopathy|Scapuloperoneal myopathy|Cardiomyopathy|not specified|6 conditions|Myosin storage myopathy",
      "pathogenicity_classification_combined": "Uncertain significance",
      "custom_annotations": null
    }
  ],
  "message": null
}