← 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: 2-188994584-G-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 188994584,
      "ref": "G",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "ENST00000304636.9",
      "consequences": [
        {
          "aa_ref": "R",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL3A1",
          "gene_hgnc_id": 2201,
          "hgvs_c": "c.1337G>A",
          "hgvs_p": "p.Arg446His",
          "transcript": "NM_000090.4",
          "protein_id": "NP_000081.2",
          "transcript_support_level": null,
          "aa_start": 446,
          "aa_end": null,
          "aa_length": 1466,
          "cds_start": 1337,
          "cds_end": null,
          "cds_length": 4401,
          "cdna_start": 1454,
          "cdna_end": null,
          "cdna_length": 5490,
          "mane_select": "ENST00000304636.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "H",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL3A1",
          "gene_hgnc_id": 2201,
          "hgvs_c": "c.1337G>A",
          "hgvs_p": "p.Arg446His",
          "transcript": "ENST00000304636.9",
          "protein_id": "ENSP00000304408.4",
          "transcript_support_level": 1,
          "aa_start": 446,
          "aa_end": null,
          "aa_length": 1466,
          "cds_start": 1337,
          "cds_end": null,
          "cds_length": 4401,
          "cdna_start": 1454,
          "cdna_end": null,
          "cdna_length": 5490,
          "mane_select": "NM_000090.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 18,
          "exon_rank_end": null,
          "exon_count": 50,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL3A1",
          "gene_hgnc_id": 2201,
          "hgvs_c": "c.1238G>A",
          "hgvs_p": "p.Arg413His",
          "transcript": "ENST00000450867.2",
          "protein_id": "ENSP00000415346.2",
          "transcript_support_level": 1,
          "aa_start": 413,
          "aa_end": null,
          "aa_length": 1433,
          "cds_start": 1238,
          "cds_end": null,
          "cds_length": 4302,
          "cdna_start": 1355,
          "cdna_end": null,
          "cdna_length": 5391,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 49,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL3A1",
          "gene_hgnc_id": 2201,
          "hgvs_c": "c.1337G>A",
          "hgvs_p": "p.Arg446His",
          "transcript": "ENST00000713745.1",
          "protein_id": "ENSP00000519049.1",
          "transcript_support_level": null,
          "aa_start": 446,
          "aa_end": null,
          "aa_length": 1415,
          "cds_start": 1337,
          "cds_end": null,
          "cds_length": 4248,
          "cdna_start": 1454,
          "cdna_end": null,
          "cdna_length": 5337,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "R",
          "aa_alt": "H",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 19,
          "exon_rank_end": null,
          "exon_count": 49,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL3A1",
          "gene_hgnc_id": 2201,
          "hgvs_c": "c.1337G>A",
          "hgvs_p": "p.Arg446His",
          "transcript": "ENST00000713744.1",
          "protein_id": "ENSP00000519048.1",
          "transcript_support_level": null,
          "aa_start": 446,
          "aa_end": null,
          "aa_length": 1412,
          "cds_start": 1337,
          "cds_end": null,
          "cds_length": 4239,
          "cdna_start": 1454,
          "cdna_end": null,
          "cdna_length": 5328,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "COL3A1",
      "gene_hgnc_id": 2201,
      "dbsnp": "rs149852181",
      "frequency_reference_population": 0.000053283107,
      "hom_count_reference_population": 0,
      "allele_count_reference_population": 86,
      "gnomad_exomes_af": 0.0000547243,
      "gnomad_genomes_af": 0.0000394358,
      "gnomad_exomes_ac": 80,
      "gnomad_genomes_ac": 6,
      "gnomad_exomes_homalt": 0,
      "gnomad_genomes_homalt": 0,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.2637324631214142,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0.009999999776482582,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.487,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.1573,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": 0.04,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 4.916,
      "phylop100way_prediction": "Uncertain_significance",
      "spliceai_max_score": 0.01,
      "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": -11,
      "acmg_classification": "Benign",
      "acmg_criteria": "PM1,PP2,BP4_Moderate,BP6_Very_Strong,BS1",
      "acmg_by_gene": [
        {
          "score": -11,
          "benign_score": 14,
          "pathogenic_score": 3,
          "criteria": [
            "PM1",
            "PP2",
            "BP4_Moderate",
            "BP6_Very_Strong",
            "BS1"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000304636.9",
          "gene_symbol": "COL3A1",
          "hgnc_id": 2201,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.1337G>A",
          "hgvs_p": "p.Arg446His"
        }
      ],
      "clinvar_disease": " type 4,Ehlers-Danlos syndrome,Familial thoracic aortic aneurysm and aortic dissection",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:3 B:1",
      "phenotype_combined": "Ehlers-Danlos syndrome, type 4|Familial thoracic aortic aneurysm and aortic dissection",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}