← 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: 12-47975467-C-T (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "12",
      "pos": 47975467,
      "ref": "C",
      "alt": "T",
      "effect": "missense_variant",
      "transcript": "ENST00000380518.8",
      "consequences": [
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 51,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.3736G>A",
          "hgvs_p": "p.Gly1246Ser",
          "transcript": "NM_001844.5",
          "protein_id": "NP_001835.3",
          "transcript_support_level": null,
          "aa_start": 1246,
          "aa_end": null,
          "aa_length": 1487,
          "cds_start": 3736,
          "cds_end": null,
          "cds_length": 4464,
          "cdna_start": 3891,
          "cdna_end": null,
          "cdna_length": 5059,
          "mane_select": "ENST00000380518.8",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": true,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 51,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.3736G>A",
          "hgvs_p": "p.Gly1246Ser",
          "transcript": "ENST00000380518.8",
          "protein_id": "ENSP00000369889.3",
          "transcript_support_level": 1,
          "aa_start": 1246,
          "aa_end": null,
          "aa_length": 1487,
          "cds_start": 3736,
          "cds_end": null,
          "cds_length": 4464,
          "cdna_start": 3891,
          "cdna_end": null,
          "cdna_length": 5059,
          "mane_select": "NM_001844.5",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 50,
          "exon_rank_end": null,
          "exon_count": 53,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.3529G>A",
          "hgvs_p": "p.Gly1177Ser",
          "transcript": "ENST00000337299.7",
          "protein_id": "ENSP00000338213.6",
          "transcript_support_level": 1,
          "aa_start": 1177,
          "aa_end": null,
          "aa_length": 1418,
          "cds_start": 3529,
          "cds_end": null,
          "cds_length": 4257,
          "cdna_start": 3714,
          "cdna_end": null,
          "cdna_length": 4442,
          "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": 6,
          "exon_rank_end": null,
          "exon_count": 6,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "n.589G>A",
          "hgvs_p": null,
          "transcript": "ENST00000546974.1",
          "protein_id": null,
          "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": 703,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 50,
          "exon_rank_end": null,
          "exon_count": 53,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.3529G>A",
          "hgvs_p": "p.Gly1177Ser",
          "transcript": "NM_033150.3",
          "protein_id": "NP_149162.2",
          "transcript_support_level": null,
          "aa_start": 1177,
          "aa_end": null,
          "aa_length": 1418,
          "cds_start": 3529,
          "cds_end": null,
          "cds_length": 4257,
          "cdna_start": 3684,
          "cdna_end": null,
          "cdna_length": 4852,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 53,
          "exon_rank_end": null,
          "exon_count": 56,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.3880G>A",
          "hgvs_p": "p.Gly1294Ser",
          "transcript": "XM_017018828.1",
          "protein_id": "XP_016874317.1",
          "transcript_support_level": null,
          "aa_start": 1294,
          "aa_end": null,
          "aa_length": 1535,
          "cds_start": 3880,
          "cds_end": null,
          "cds_length": 4608,
          "cdna_start": 4002,
          "cdna_end": null,
          "cdna_length": 5170,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 53,
          "exon_rank_end": null,
          "exon_count": 56,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.3877G>A",
          "hgvs_p": "p.Gly1293Ser",
          "transcript": "XM_017018829.1",
          "protein_id": "XP_016874318.1",
          "transcript_support_level": null,
          "aa_start": 1293,
          "aa_end": null,
          "aa_length": 1534,
          "cds_start": 3877,
          "cds_end": null,
          "cds_length": 4605,
          "cdna_start": 3999,
          "cdna_end": null,
          "cdna_length": 5167,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 52,
          "exon_rank_end": null,
          "exon_count": 55,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.3670G>A",
          "hgvs_p": "p.Gly1224Ser",
          "transcript": "XM_017018830.1",
          "protein_id": "XP_016874319.1",
          "transcript_support_level": null,
          "aa_start": 1224,
          "aa_end": null,
          "aa_length": 1465,
          "cds_start": 3670,
          "cds_end": null,
          "cds_length": 4398,
          "cdna_start": 3792,
          "cdna_end": null,
          "cdna_length": 4960,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 51,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.3190G>A",
          "hgvs_p": "p.Gly1064Ser",
          "transcript": "XM_017018831.3",
          "protein_id": "XP_016874320.1",
          "transcript_support_level": null,
          "aa_start": 1064,
          "aa_end": null,
          "aa_length": 1305,
          "cds_start": 3190,
          "cds_end": null,
          "cds_length": 3918,
          "cdna_start": 4220,
          "cdna_end": null,
          "cdna_length": 5388,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "G",
          "aa_alt": "S",
          "canonical": false,
          "protein_coding": true,
          "strand": false,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 51,
          "exon_rank_end": null,
          "exon_count": 54,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "c.3190G>A",
          "hgvs_p": "p.Gly1064Ser",
          "transcript": "XM_047428315.1",
          "protein_id": "XP_047284271.1",
          "transcript_support_level": null,
          "aa_start": 1064,
          "aa_end": null,
          "aa_length": 1305,
          "cds_start": 3190,
          "cds_end": null,
          "cds_length": 3918,
          "cdna_start": 3669,
          "cdna_end": null,
          "cdna_length": 4837,
          "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": 34,
          "exon_rank_end": null,
          "exon_count": 37,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL2A1",
          "gene_hgnc_id": 2200,
          "hgvs_c": "n.2822G>A",
          "hgvs_p": null,
          "transcript": "ENST00000493991.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": 3756,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "COL2A1",
      "gene_hgnc_id": 2200,
      "dbsnp": "rs147569641",
      "frequency_reference_population": 0.00034573305,
      "hom_count_reference_population": 3,
      "allele_count_reference_population": 558,
      "gnomad_exomes_af": 0.000333864,
      "gnomad_genomes_af": 0.000459649,
      "gnomad_exomes_ac": 488,
      "gnomad_genomes_ac": 70,
      "gnomad_exomes_homalt": 3,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.0036214888095855713,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.145,
      "revel_prediction": "Benign",
      "alphamissense_score": 0.0626,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.45,
      "bayesdelnoaf_prediction": "Benign",
      "phylop100way_score": 0.146,
      "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": -12,
      "acmg_classification": "Benign",
      "acmg_criteria": "PP2,BP4_Strong,BP6,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -12,
          "benign_score": 13,
          "pathogenic_score": 1,
          "criteria": [
            "PP2",
            "BP4_Strong",
            "BP6",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000380518.8",
          "gene_symbol": "COL2A1",
          "hgnc_id": 2200,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "Unknown,AD,AR",
          "hgvs_c": "c.3736G>A",
          "hgvs_p": "p.Gly1246Ser"
        }
      ],
      "clinvar_disease": "Connective tissue disorder,Stickler syndrome type 1,Type II Collagenopathies,not provided,not specified",
      "clinvar_classification": "Conflicting classifications of pathogenicity",
      "clinvar_review_status": "criteria provided, conflicting classifications",
      "clinvar_submissions_summary": "US:1 LB:5 B:2",
      "phenotype_combined": "Type II Collagenopathies|Stickler syndrome type 1|not specified|Connective tissue disorder|not provided",
      "pathogenicity_classification_combined": "Conflicting classifications of pathogenicity",
      "custom_annotations": null
    }
  ],
  "message": null
}