← 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-188997207-C-A (hg38)

Bash / cURL Example

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

API Response

json
{
  "variants": [
    {
      "chr": "2",
      "pos": 188997207,
      "ref": "C",
      "alt": "A",
      "effect": "missense_variant",
      "transcript": "ENST00000304636.9",
      "consequences": [
        {
          "aa_ref": "P",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 25,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL3A1",
          "gene_hgnc_id": 2201,
          "hgvs_c": "c.1804C>A",
          "hgvs_p": "p.Pro602Thr",
          "transcript": "NM_000090.4",
          "protein_id": "NP_000081.2",
          "transcript_support_level": null,
          "aa_start": 602,
          "aa_end": null,
          "aa_length": 1466,
          "cds_start": 1804,
          "cds_end": null,
          "cds_length": 4401,
          "cdna_start": 1921,
          "cdna_end": null,
          "cdna_length": 5490,
          "mane_select": "ENST00000304636.9",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "T",
          "canonical": true,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 25,
          "exon_rank_end": null,
          "exon_count": 51,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL3A1",
          "gene_hgnc_id": 2201,
          "hgvs_c": "c.1804C>A",
          "hgvs_p": "p.Pro602Thr",
          "transcript": "ENST00000304636.9",
          "protein_id": "ENSP00000304408.4",
          "transcript_support_level": 1,
          "aa_start": 602,
          "aa_end": null,
          "aa_length": 1466,
          "cds_start": 1804,
          "cds_end": null,
          "cds_length": 4401,
          "cdna_start": 1921,
          "cdna_end": null,
          "cdna_length": 5490,
          "mane_select": "NM_000090.4",
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 24,
          "exon_rank_end": null,
          "exon_count": 50,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL3A1",
          "gene_hgnc_id": 2201,
          "hgvs_c": "c.1705C>A",
          "hgvs_p": "p.Pro569Thr",
          "transcript": "ENST00000450867.2",
          "protein_id": "ENSP00000415346.2",
          "transcript_support_level": 1,
          "aa_start": 569,
          "aa_end": null,
          "aa_length": 1433,
          "cds_start": 1705,
          "cds_end": null,
          "cds_length": 4302,
          "cdna_start": 1822,
          "cdna_end": null,
          "cdna_length": 5391,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 23,
          "exon_rank_end": null,
          "exon_count": 49,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL3A1",
          "gene_hgnc_id": 2201,
          "hgvs_c": "c.1651C>A",
          "hgvs_p": "p.Pro551Thr",
          "transcript": "ENST00000713745.1",
          "protein_id": "ENSP00000519049.1",
          "transcript_support_level": null,
          "aa_start": 551,
          "aa_end": null,
          "aa_length": 1415,
          "cds_start": 1651,
          "cds_end": null,
          "cds_length": 4248,
          "cdna_start": 1768,
          "cdna_end": null,
          "cdna_length": 5337,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        },
        {
          "aa_ref": "P",
          "aa_alt": "T",
          "canonical": false,
          "protein_coding": true,
          "strand": true,
          "consequences": [
            "missense_variant"
          ],
          "exon_rank": 25,
          "exon_rank_end": null,
          "exon_count": 49,
          "intron_rank": null,
          "intron_rank_end": null,
          "gene_symbol": "COL3A1",
          "gene_hgnc_id": 2201,
          "hgvs_c": "c.1804C>A",
          "hgvs_p": "p.Pro602Thr",
          "transcript": "ENST00000713744.1",
          "protein_id": "ENSP00000519048.1",
          "transcript_support_level": null,
          "aa_start": 602,
          "aa_end": null,
          "aa_length": 1412,
          "cds_start": 1804,
          "cds_end": null,
          "cds_length": 4239,
          "cdna_start": 1921,
          "cdna_end": null,
          "cdna_length": 5328,
          "mane_select": null,
          "mane_plus": null,
          "biotype": null,
          "feature": null
        }
      ],
      "gene_symbol": "COL3A1",
      "gene_hgnc_id": 2201,
      "dbsnp": "rs35795890",
      "frequency_reference_population": 0.0055644843,
      "hom_count_reference_population": 35,
      "allele_count_reference_population": 8981,
      "gnomad_exomes_af": 0.0056093,
      "gnomad_genomes_af": 0.00513383,
      "gnomad_exomes_ac": 8200,
      "gnomad_genomes_ac": 781,
      "gnomad_exomes_homalt": 30,
      "gnomad_genomes_homalt": 5,
      "gnomad_mito_homoplasmic": null,
      "gnomad_mito_heteroplasmic": null,
      "computational_score_selected": 0.019590318202972412,
      "computational_prediction_selected": "Benign",
      "computational_source_selected": "MetaRNN",
      "splice_score_selected": 0,
      "splice_prediction_selected": "Benign",
      "splice_source_selected": "max_spliceai",
      "revel_score": 0.432,
      "revel_prediction": "Uncertain_significance",
      "alphamissense_score": 0.0589,
      "alphamissense_prediction": null,
      "bayesdelnoaf_score": -0.07,
      "bayesdelnoaf_prediction": "Uncertain_significance",
      "phylop100way_score": 2.99,
      "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": -17,
      "acmg_classification": "Benign",
      "acmg_criteria": "PM1,PP2,BP4_Strong,BP6_Very_Strong,BS1,BS2",
      "acmg_by_gene": [
        {
          "score": -17,
          "benign_score": 20,
          "pathogenic_score": 3,
          "criteria": [
            "PM1",
            "PP2",
            "BP4_Strong",
            "BP6_Very_Strong",
            "BS1",
            "BS2"
          ],
          "verdict": "Benign",
          "transcript": "ENST00000304636.9",
          "gene_symbol": "COL3A1",
          "hgnc_id": 2201,
          "effects": [
            "missense_variant"
          ],
          "inheritance_mode": "AD,AR",
          "hgvs_c": "c.1804C>A",
          "hgvs_p": "p.Pro602Thr"
        }
      ],
      "clinvar_disease": " type 4,Ehlers-Danlos syndrome,Familial thoracic aortic aneurysm and aortic dissection,not provided,not specified",
      "clinvar_classification": "Benign/Likely benign",
      "clinvar_review_status": "criteria provided, multiple submitters, no conflicts",
      "clinvar_submissions_summary": "LB:4 B:11",
      "phenotype_combined": "not specified|Ehlers-Danlos syndrome, type 4|not provided|Familial thoracic aortic aneurysm and aortic dissection|Ehlers-Danlos syndrome",
      "pathogenicity_classification_combined": "Benign/Likely benign",
      "custom_annotations": null
    }
  ],
  "message": null
}