← 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: 7-73840121-C-CTG (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "7",
      "pos": 73840121,
      "ref": "C",
      "alt": "CTG",
      "effect": "splice_acceptor_variant,intron_variant",
      "transcript": "ENST00000297873.9",
      "consequences": [
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "METTL27",
          "gene_hgnc_id": 19068,
          "hgvs_c": "c.389-3_389-2dupCA",
          "hgvs_p": null,
          "transcript": "NM_152559.3",
          "protein_id": "NP_689772.2",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 245,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 738,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 922,
          "mane_select": "ENST00000297873.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "METTL27",
          "gene_hgnc_id": 19068,
          "hgvs_c": "c.389-2_389-1insCA",
          "hgvs_p": null,
          "transcript": "ENST00000297873.9",
          "protein_id": "ENSP00000297873.4",
          "transcript_support_level": 1,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 245,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 738,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 922,
          "mane_select": "NM_152559.3",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 5,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "METTL27",
          "gene_hgnc_id": 19068,
          "hgvs_c": "n.253-2_253-1insCA",
          "hgvs_p": null,
          "transcript": "ENST00000458679.5",
          "protein_id": "ENSP00000398533.1",
          "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": 539,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 4,
          "intron_rank": 3,
          "intron_rank_end": null,
          "gene_symbol": "METTL27",
          "gene_hgnc_id": 19068,
          "hgvs_c": "n.284-2_284-1insCA",
          "hgvs_p": null,
          "transcript": "ENST00000493174.1",
          "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": 823,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "METTL27",
          "gene_hgnc_id": 19068,
          "hgvs_c": "c.389-3_389-2dupCA",
          "hgvs_p": null,
          "transcript": "XM_017011777.2",
          "protein_id": "XP_016867266.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 271,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 816,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1000,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "METTL27",
          "gene_hgnc_id": 19068,
          "hgvs_c": "c.389-3_389-2dupCA",
          "hgvs_p": null,
          "transcript": "XM_017011778.2",
          "protein_id": "XP_016867267.1",
          "transcript_support_level": null,
          "aa_start": null,
          "aa_end": null,
          "aa_length": 271,
          "cds_start": -4,
          "cds_end": null,
          "cds_length": 816,
          "cdna_start": null,
          "cdna_end": null,
          "cdna_length": 1167,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": null,
          "aa_alt": null,
          "canonical": false,
          "protein_coding": false,
          "strand": false,
          "consequences": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "exon_rank": null,
          "exon_rank_end": null,
          "exon_count": 7,
          "intron_rank": 4,
          "intron_rank_end": null,
          "gene_symbol": "METTL27",
          "gene_hgnc_id": 19068,
          "hgvs_c": "n.420-3_420-2dupCA",
          "hgvs_p": null,
          "transcript": "XR_001744563.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": 1100,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "METTL27",
      "gene_hgnc_id": 19068,
      "dbsnp": "rs375025208",
      "frequency_reference_population": 0.0015006051,
      "hom_count_reference_population": 19,
      "allele_count_reference_population": 2192,
      "gnomad_exomes_af": 0.00141641,
      "gnomad_genomes_af": 0.0025258,
      "gnomad_exomes_ac": 1912,
      "gnomad_genomes_ac": 280,
      "gnomad_exomes_homalt": 15,
      "gnomad_genomes_homalt": 4,
      "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": 2.115,
      "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": -6,
      "acmg_classification": "Likely_benign",
      "acmg_criteria": "PVS1_Strong,BP6_Moderate,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -6,
          "benign_score": 10,
          "pathogenic_score": 4,
          "criteria": [
            "PVS1_Strong",
            "BP6_Moderate",
            "BS1",
            "BS2"
          ],
          "verdict": "Likely_benign",
          "transcript": "ENST00000297873.9",
          "gene_symbol": "METTL27",
          "hgnc_id": 19068,
          "effects": [
            "splice_acceptor_variant",
            "intron_variant"
          ],
          "inheritance_mode": "AR",
          "hgvs_c": "c.389-2_389-1insCA",
          "hgvs_p": null
        }
      ],
      "clinvar_disease": "not specified",
      "clinvar_classification": "Likely benign",
      "clinvar_review_status": "criteria provided, single submitter",
      "clinvar_submissions_summary": "LB:1",
      "phenotype_combined": "not specified",
      "pathogenicity_classification_combined": "Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}