---
type: "firecrawl-provider"
description: "Genebass (Broad Institute; Karczewski et al., Cell Genomics 2022) through the API behind its public browser: association summary statistics from 394,841 UK Biobank whole exomes across 4,529 phenotypes. Gene-based rare-variant burden tests (SAIGE-GENE: SKAT-O, burden and SKAT) for four burden sets (pLoF, missense|LC, synonymous, pLoF|missense|LC) and single-variant tests (SAIGE), with Genebass's phenotype and gene QC flags applied as its browser applies them. Look up every phenotype a gene was tested against (gene PheWAS), the strongest genes for a phenotype, phenotypes by name or UK Biobank field ID, and the single-variant PheWAS of an exome variant. One biobank (UK Biobank, mostly European ancestry, GRCh38), summary statistics only, no individual-level data. Outputs carry Ensembl and HGNC gene IDs, UK Biobank field IDs with Showcase links, Genebass page links, and the CC BY 4.0 attribution, citation and UK Biobank acknowledgement."
use_when: "Genebass (Broad Institute; Karczewski et al., Cell Genomics 2022) through the API behind its public browser: association summary statistics from 394,841 UK Biobank whole exomes across 4,529 phenotypes. Gene-based rare-variant burden tests (SAIGE-GENE: SKAT-O, burden and SKAT) for four burden sets (pLoF, missense|LC, synonymous, pLoF|missense|LC) and single-variant tests (SAIGE), with Genebass's phenotype and gene QC flags applied as its browser applies them. Look up every phenotype a gene was tested against (gene PheWAS), the strongest genes for a phenotype, phenotypes by name or UK Biobank field ID, and the single-variant PheWAS of an exome variant. One biobank (UK Biobank, mostly European ancestry, GRCh38), summary statistics only, no individual-level data. Outputs carry Ensembl and HGNC gene IDs, UK Biobank field IDs with Showcase links, Genebass page links, and the CC BY 4.0 attribution, citation and UK Biobank acknowledgement.\n\nGenebass (Broad Institute; Karczewski et al., Cell Genomics 2022) through the API behind its public browser: association summary statistics from 394,841 UK Biobank whole exomes across 4,529 phenotypes. Gene-based rare-variant burden tests (SAIGE-GENE: SKAT-O, burden and SKAT) for four burden sets (pLoF, missense|LC, synonymous, pLoF|missense|LC) and single-variant tests (SAIGE), with Genebass's phenotype and gene QC flags applied as its browser applies them. Look up every phenotype a gene was tested against (gene PheWAS), the strongest genes for a phenotype, phenotypes by name or UK Biobank field ID, and the single-variant PheWAS of an exome variant. One biobank (UK Biobank, mostly European ancestry, GRCh38), summary statistics only, no individual-level data. Outputs carry Ensembl and HGNC gene IDs, UK Biobank field IDs with Showcase links, Genebass page links, and the CC BY 4.0 attribution, citation and UK Biobank acknowledgement.\n\nGenebass (Broad Institute; Karczewski et al., Cell Genomics 2022) through the API behind its public browser: association summary statistics from 394,841 UK Biobank whole exomes across 4,529 phenotypes. Gene-based rare-variant burden tests (SAIGE-GENE: SKAT-O, burden and SKAT) for four burden sets (pLoF, missense|LC, synonymous, pLoF|missense|LC) and single-variant tests (SAIGE), with Genebass's phenotype and gene QC flags applied as its browser applies them. Look up every phenotype a gene was tested against (gene PheWAS), the strongest genes for a phenotype, phenotypes by name or UK Biobank field ID, and the single-variant PheWAS of an exome variant. One biobank (UK Biobank, mostly European ancestry, GRCh38), summary statistics only, no individual-level data. Outputs carry Ensembl and HGNC gene IDs, UK Biobank field IDs with Showcase links, Genebass page links, and the CC BY 4.0 attribution, citation and UK Biobank acknowledgement."
categories: "Health"
capabilities: 4
credits_per_call: 5
---
# Genebass: UK Biobank exome gene burden and variant PheWAS on Firecrawl Alexandria

Genebass (Broad Institute; Karczewski et al., Cell Genomics 2022) through the API behind its public browser: association summary statistics from 394,841 UK Biobank whole exomes across 4,529 phenotypes. Gene-based rare-variant burden tests (SAIGE-GENE: SKAT-O, burden and SKAT) for four burden sets (pLoF, missense|LC, synonymous, pLoF|missense|LC) and single-variant tests (SAIGE), with Genebass's phenotype and gene QC flags applied as its browser applies them. Look up every phenotype a gene was tested against (gene PheWAS), the strongest genes for a phenotype, phenotypes by name or UK Biobank field ID, and the single-variant PheWAS of an exome variant. One biobank (UK Biobank, mostly European ancestry, GRCh38), summary statistics only, no individual-level data. Outputs carry Ensembl and HGNC gene IDs, UK Biobank field IDs with Showcase links, Genebass page links, and the CC BY 4.0 attribution, citation and UK Biobank acknowledgement.

- Categories: Health
- Category index: [Health category](https://alexandria.firecrawl.dev/agents/categories/health)
- Provider key: `genebass-org`
- Access: Firecrawl credits
- Cost: 5 credits per call

## More

- [Human guide](https://www.firecrawl.dev/app/alexandria/genebass-org)
- [OpenAPI spec](https://alexandria.firecrawl.dev/agents/providers/genebass-org/openapi.json)

## Capabilities

- [Gene phewas](https://alexandria.firecrawl.dev/agents/providers/genebass-org/associations/gene_phewas): Gene-based PheWAS from Genebass: every UK Biobank phenotype one gene's rare coding variants were tested against in 394,841 exomes, strongest first. Takes an HGNC symbol (BHLHE41) or Ensembl gene ID, a burden set (pLoF by default, missense|LC, synonymous or pLoF|missense|LC) and the test that ranks rows (SKAT-O by default, burden or SKAT). Each row: Genebass analysis ID, phenotype name, coding, UK Biobank category, trait type, UK Biobank field ID, cases and controls, SKAT-O, burden and SKAT p-values, the burden effect (beta), the variant count and the Genebass page. Filters: trait types, category (Sleep) and max_p. Phenotypes failing Genebass QC for the test are left out by default, as in the browser, and counted in qc_excluded; gene_qc carries the gene's own QC flags and highlights counts rows under the browser's p-value highlights.
- [Phenotype top genes](https://alexandria.firecrawl.dev/agents/providers/genebass-org/associations/phenotype_top_genes): The genes whose rare-variant burden associates most strongly with one UK Biobank phenotype in Genebass's 394,841 exomes. Takes a Genebass analysis ID, a phenocode or a UK Biobank field ID (30780 for LDL direct, 1160 for sleep duration), narrowed by coding, trait type or sex when the field has several analyses; a burden set (pLoF by default) and the ranking test (SKAT-O by default). Returns the phenotype (name, category, cases and controls, Genebass QC flags and genomic inflation, Showcase and Genebass links) and genes lowest p-value first: symbol, Ensembl ID, position, SKAT-O, burden and SKAT p-values, burden beta, the gene's QC flags and the Genebass page. Genes failing gene QC (test, coverage or variant count) are left out by default, as in the browser's top hits, and counted in qc_excluded. Filters: max_p.
- [Search phenotypes](https://alexandria.firecrawl.dev/agents/providers/genebass-org/phenotypes/search_phenotypes): Search the 4,529 UK Biobank phenotypes Genebass analysed, by words in their name, coding, notes or category, or by analysis ID, phenocode or UK Biobank field ID. Returns each analysis with its Genebass analysis ID, name, coding, UK Biobank category path, trait type, phenocode, UK Biobank field ID and Showcase link, sex, modifier, cases and controls, notes, SAIGE version, Genebass QC flags per test and the Genebass page; best match first (identifier, name, notes, category), then larger samples. Filters: trait types and category.
- [Variant phewas](https://alexandria.firecrawl.dev/agents/providers/genebass-org/variants/variant_phewas): Single-variant PheWAS from Genebass: the UK Biobank phenotypes one exome variant was tested against (SAIGE, 394,841 exomes), strongest first. Takes a GRCh38 variant (chromosome-position-ref-alt) or an rsID. Returns the variant (gene, consequence, HGVS, LOFTEE call, QC filters and region flags, rsID) and rows of analysis ID, phenotype name, coding, category, trait type, UK Biobank field ID, cases and controls, p-value, effect (beta) and the Genebass page. Filters: trait types, category and max_p; highlights counts rows under the browser's variant p-value highlights. Allele counts are left out because Genebass's own sources disagree on them.

## 1. Choose this provider when

Genebass (Broad Institute; Karczewski et al., Cell Genomics 2022) through the API behind its public browser: association summary statistics from 394,841 UK Biobank whole exomes across 4,529 phenotypes. Gene-based rare-variant burden tests (SAIGE-GENE: SKAT-O, burden and SKAT) for four burden sets (pLoF, missense|LC, synonymous, pLoF|missense|LC) and single-variant tests (SAIGE), with Genebass's phenotype and gene QC flags applied as its browser applies them. Look up every phenotype a gene was tested against (gene PheWAS), the strongest genes for a phenotype, phenotypes by name or UK Biobank field ID, and the single-variant PheWAS of an exome variant. One biobank (UK Biobank, mostly European ancestry, GRCh38), summary statistics only, no individual-level data. Outputs carry Ensembl and HGNC gene IDs, UK Biobank field IDs with Showcase links, Genebass page links, and the CC BY 4.0 attribution, citation and UK Biobank acknowledgement.

Genebass (Broad Institute; Karczewski et al., Cell Genomics 2022) through the API behind its public browser: association summary statistics from 394,841 UK Biobank whole exomes across 4,529 phenotypes. Gene-based rare-variant burden tests (SAIGE-GENE: SKAT-O, burden and SKAT) for four burden sets (pLoF, missense|LC, synonymous, pLoF|missense|LC) and single-variant tests (SAIGE), with Genebass's phenotype and gene QC flags applied as its browser applies them. Look up every phenotype a gene was tested against (gene PheWAS), the strongest genes for a phenotype, phenotypes by name or UK Biobank field ID, and the single-variant PheWAS of an exome variant. One biobank (UK Biobank, mostly European ancestry, GRCh38), summary statistics only, no individual-level data. Outputs carry Ensembl and HGNC gene IDs, UK Biobank field IDs with Showcase links, Genebass page links, and the CC BY 4.0 attribution, citation and UK Biobank acknowledgement.

Genebass (Broad Institute; Karczewski et al., Cell Genomics 2022) through the API behind its public browser: association summary statistics from 394,841 UK Biobank whole exomes across 4,529 phenotypes. Gene-based rare-variant burden tests (SAIGE-GENE: SKAT-O, burden and SKAT) for four burden sets (pLoF, missense|LC, synonymous, pLoF|missense|LC) and single-variant tests (SAIGE), with Genebass's phenotype and gene QC flags applied as its browser applies them. Look up every phenotype a gene was tested against (gene PheWAS), the strongest genes for a phenotype, phenotypes by name or UK Biobank field ID, and the single-variant PheWAS of an exome variant. One biobank (UK Biobank, mostly European ancestry, GRCh38), summary statistics only, no individual-level data. Outputs carry Ensembl and HGNC gene IDs, UK Biobank field IDs with Showcase links, Genebass page links, and the CC BY 4.0 attribution, citation and UK Biobank acknowledgement.

## 2. Minimal request

Call `POST https://api.firecrawl.dev/v2/scrape` with `{ alexandria: { provider, capability, options } }`. For a batch, send `{ alexandria: [...] }` with up to 10 calls.

```json
{
  "provider": "genebass-org",
  "capability": "associations/gene_phewas",
  "options": {
    "gene": "PCSK9",
    "limit": 5
  }
}
```

## 3. Add provider options

Use only the options needed for the task:

- `burden_set` (string): Variants in the gene burden: pLoF (predicted loss of function, default), missense|LC (missense and low-confidence pLoF), synonymous, or pLoF|missense|LC. Example: `pLoF`
- `category` (string): Keep phenotypes whose UK Biobank category path contains this, case-insensitive (Sleep, Blood biochemistry, Medications). Example: `<category>`
- `gene` (string, required): Human gene: current HGNC symbol (BHLHE41, any case) or Ensembl gene ID (ENSG00000123095, version ignored). Aliases and previous symbols are not matched. Pattern: ^\s*[A-Za-z0-9][A-Za-z0-9._-]*\s*$. Example: `<gene>`
- `include_qc_failed` (boolean): Keep rows that fail Genebass QC for the test (hidden by default, as in the browser). Example: `false`
- `limit` (number): Rows to return, strongest first (1 to 500). Example: `25`
- `max_p` (number): Keep rows whose p-value for the test is at most this. Example: `1`
- `test` (string): Test whose p-value ranks, filters and QC-gates rows: skato (SKAT-O, default, as the Genebass browser), burden or skat. Example: `skato`
- `trait_types` (string[]): Keep these trait types: continuous, categorical, icd_first_occurrence (UK Biobank first-occurrence fields) or icd10. Example: `[]`

## 4. Request through your preferred interface

### JavaScript

```javascript
const result = await firecrawl.scrape({
  alexandria: {
    provider: "genebass-org",
    capability: "associations/gene_phewas",
    options: {
      gene: "PCSK9",
      limit: 5,
    },
  },
});
```

### Python

```python
result = firecrawl.scrape_alexandria({
  "provider": "genebass-org",
  "capability": "associations/gene_phewas",
  "options": {
    "gene": "PCSK9",
    "limit": 5
  }
})
```

### cURL

```sh
curl https://api.firecrawl.dev/v2/scrape \
  -H "Authorization: Bearer $FIRECRAWL_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "alexandria": {
    "provider": "genebass-org",
    "capability": "associations/gene_phewas",
    "options": {
      "gene": "PCSK9",
      "limit": 5
    }
  }
}'
```

### CLI

```sh
firecrawl scrape 'genebass-org/associations/gene_phewas' \
  --options '{"gene":"PCSK9","limit":5}'
```


### MCP

Call the FCX MCP retrieve tool with this object:

```json
{
  "provider": "genebass-org",
  "capability": "associations/gene_phewas",
  "options": {
    "gene": "PCSK9",
    "limit": 5
  }
}
```

Ask for only the returned fields needed by the task.

## 5. Full request shape

```json
{
  "provider": "genebass-org",
  "capability": "associations/gene_phewas",
  "options": {
    "gene": "PCSK9",
    "limit": 5
  }
}
```

## 6. Response data

The response includes `success`, `provider`, `capability`, `creditsCost` and `data`. This example shows the provider payload in `data`:

```json
{
  "associations": [
    {
      "analysis_id": "continuous-30780-both_sexes--irnt",
      "beta_burden": -0.0388672485138252,
      "category": "Biological samples > Assay results > Blood assays > Blood biochemistry",
      "coding": null,
      "coding_description": null,
      "description": "LDL direct",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/continuous-30780-both_sexes--irnt?burdenSet=pLoF",
      "modifier": "irnt",
      "n_cases": 376106,
      "n_controls": null,
      "p_burden": 3.5816007334609e-132,
      "p_skat": 1.9950433178751e-85,
      "p_skato": 2.00332847593804e-134,
      "p_value": 2.00332847593804e-134,
      "pheno_sex": "both_sexes",
      "phenocode": "30780",
      "phenotype_qc_pass": true,
      "rank": 1,
      "total_variants": 58,
      "trait_type": "continuous",
      "ukb_field_id": "30780"
    },
    {
      "analysis_id": "continuous-30640-both_sexes--irnt",
      "beta_burden": -0.0381784610515656,
      "category": "Biological samples > Assay results > Blood assays > Blood biochemistry",
      "coding": null,
      "coding_description": null,
      "description": "Apolipoprotein B",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/continuous-30640-both_sexes--irnt?burdenSet=pLoF",
      "modifier": "irnt",
      "n_cases": 374968,
      "n_controls": null,
      "p_burden": 3.08673104347569e-125,
      "p_skat": 1.20515958296688e-75,
      "p_skato": 8.20612361661204e-126,
      "p_value": 8.20612361661204e-126,
      "pheno_sex": "both_sexes",
      "phenocode": "30640",
      "phenotype_qc_pass": true,
      "rank": 2,
      "total_variants": 58,
      "trait_type": "continuous",
      "ukb_field_id": "30640"
    },
    {
      "analysis_id": "continuous-30690-both_sexes--irnt",
      "beta_burden": -0.0333883910423338,
      "category": "Biological samples > Assay results > Blood assays > Blood biochemistry",
      "coding": null,
      "coding_description": null,
      "description": "Cholesterol",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/continuous-30690-both_sexes--irnt?burdenSet=pLoF",
      "modifier": "irnt",
      "n_cases": 376808,
      "n_controls": null,
      "p_burden": 1.7848396117344e-101,
      "p_skat": 1.12300527556562e-64,
      "p_skato": 1.18239098848587e-102,
      "p_value": 1.18239098848587e-102,
      "pheno_sex": "both_sexes",
      "phenocode": "30690",
      "phenotype_qc_pass": true,
      "rank": 3,
      "total_variants": 58,
      "trait_type": "continuous",
      "ukb_field_id": "30690"
    },
    {
      "analysis_id": "icd_first_occurrence-130814-both_sexes--",
      "beta_burden": -0.0285151489851784,
      "category": "Health-related outcomes > First occurrences > Endocrine, nutritional and metabolic diseases",
      "coding": null,
      "coding_description": null,
      "description": "Date E78 first reported (disorders of lipoprotein metabolism and other lipidaemias)",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/icd_first_occurrence-130814-both_sexes--?burdenSet=pLoF",
      "modifier": null,
      "n_cases": 81328,
      "n_controls": 313513,
      "p_burden": 2.07374065630851e-12,
      "p_skat": 1.41077761806052e-7,
      "p_skato": 1.2916355952731199e-11,
      "p_value": 1.2916355952731199e-11,
      "pheno_sex": "both_sexes",
      "phenocode": "130814",
      "phenotype_qc_pass": true,
      "rank": 4,
      "total_variants": 58,
      "trait_type": "icd_first_occurrence",
      "ukb_field_id": "130814"
    },
    {
      "analysis_id": "continuous-total_fatty_acids-both_sexes--custom",
      "beta_burden": -0.0219480755370184,
      "category": "Biological samples > Assay results > Blood assays > Biological samples > NMR metabolomics",
      "coding": null,
      "coding_description": null,
      "description": "Total fatty acids",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/continuous-total_fatty_acids-both_sexes--custom?burdenSet=pLoF",
      "modifier": "custom",
      "n_cases": 94910,
      "n_controls": null,
      "p_burden": 2.1456950410604497e-11,
      "p_skat": 2.8949850135074e-9,
      "p_skato": 1.81836848927838e-11,
      "p_value": 1.81836848927838e-11,
      "pheno_sex": "both_sexes",
      "phenocode": "total_fatty_acids",
      "phenotype_qc_pass": true,
      "rank": 5,
      "total_variants": 58,
      "trait_type": "continuous",
      "ukb_field_id": null
    }
  ],
  "burden_set": "pLoF",
  "dataset": {
    "biobank": "UK Biobank",
    "data": "UK Biobank whole-exome sequencing, gene-based (SAIGE-GENE: SKAT-O, burden, SKAT) and single-variant (SAIGE) association tests",
    "genome_build": "GRCh38",
    "name": "Genebass",
    "phenotypes": 4529,
    "saige_versions": [
      "SAIGE_0.44.5"
    ],
    "samples": 394841
  },
  "filters": {
    "category": null,
    "max_p": null,
    "trait_types": []
  },
  "gene": {
    "chromosome": "1",
    "end": 55064853,
    "ensembl_gene_id": "ENSG00000169174",
    "hgnc_id": "HGNC:20001",
    "name": "proprotein convertase subtilisin/kexin type 9",
    "omim_id": "607786",
    "previous_symbols": [
      "HCHOLA3"
    ],
    "start": 55039549,
    "strand": "+",
    "symbol": "PCSK9",
    "synonyms": [
      "NARC-1",
      "FH3"
    ]
  },
  "gene_qc": {
    "coverage_pass": true,
    "cumulative_allele_frequency": 0.0010094866162283376,
    "mean_coverage": 41.51044172838374,
    "pass": true,
    "test_pass": true,
    "variant_count_pass": true
  },
  "highlights": {
    "strong": 9,
    "strong_p": 0.0000025,
    "suggestive": 13,
    "suggestive_p": 0.0001
  },
  "include_qc_failed": false,
  "license": {
    "attribution": "Association results from Genebass (genebass.org), available under CC BY 4.0. Cite Karczewski et al., Cell Genomics 2022, acknowledge the UK Biobank, and link back to the Genebass page in source_url.",
    "citation": "Karczewski KJ, Solomonson M, Chao KR, et al. Systematic single-variant and gene-based association testing of thousands of phenotypes in 394,841 UK Biobank exomes. Cell Genomics 2, 100168 (2022). https://doi.org/10.1016/j.xgen.2022.100168",
    "name": "CC BY 4.0",
    "no_reidentification": "Summary statistics only. Under the Genebass terms of use every user agrees to not attempt to re-identify participants, and use of the data is bound by all terms of usage of the UK Biobank.",
    "terms_url": "https://app.genebass.org/terms",
    "uk_biobank_acknowledgement": "This research has been conducted using summary statistics generated from the UK Biobank resource (under application 26041 and 48511).",
    "url": "https://creativecommons.org/licenses/by/4.0/"
  },
  "matching": 4457,
  "observed_at_ms": 1795535969146,
  "qc_excluded": {
    "count": 72,
    "strongest": {
      "analysis_id": "categorical-41210-both_sexes-Z899-",
      "coding_description": "Z89.9 Arm NEC",
      "description": "Operative procedures - secondary OPCS4",
      "p_value": 0.000438677166142765
    }
  },
  "query": "PCSK9",
  "source_url": "https://app.genebass.org/gene/ENSG00000169174?burdenSet=pLoF",
  "test": "skato",
  "total_phenotypes": 4529
}
```

## API reference-derived contract

The following capability contract is generated from the same normalized Alexandria API reference exposed in the API spec.

### Gene phewas

- Capability: `associations/gene_phewas`
- Description: Gene-based PheWAS from Genebass: every UK Biobank phenotype one gene's rare coding variants were tested against in 394,841 exomes, strongest first. Takes an HGNC symbol (BHLHE41) or Ensembl gene ID, a burden set (pLoF by default, missense|LC, synonymous or pLoF|missense|LC) and the test that ranks rows (SKAT-O by default, burden or SKAT). Each row: Genebass analysis ID, phenotype name, coding, UK Biobank category, trait type, UK Biobank field ID, cases and controls, SKAT-O, burden and SKAT p-values, the burden effect (beta), the variant count and the Genebass page. Filters: trait types, category (Sleep) and max_p. Phenotypes failing Genebass QC for the test are left out by default, as in the browser, and counted in qc_excluded; gene_qc carries the gene's own QC flags and highlights counts rows under the browser's p-value highlights.
- Instructions: Which phenotypes a gene's rare coding variants associate with in UK Biobank exomes ("what is PCSK9 loss of function associated with": LDL direct, p 2e-134), or whether a gene shows any rare-variant signal for a trait family (BHLHE41 with category Sleep). UK Biobank only; it holds no FinnGen, BioBank Japan or Million Veteran Program results. Prefer gnomad-broadinstitute-org for population allele frequencies, platform-opentargets-org for target-disease evidence across sources, clinvar-ncbi-nlm-nih-gov for clinical variant classifications, and genenames-org to turn an alias into a current symbol: Genebass matches current HGNC symbols and Ensembl IDs only, so DEC2 is not_found (it is BHLHE41). A gene without results for the burden set is not_found naming the sets it has.
- Cost: 5 credits per call
- Capability file: [Gene phewas](https://alexandria.firecrawl.dev/agents/providers/genebass-org/associations/gene_phewas)

Accepted options:
- `burden_set` (string): Variants in the gene burden: pLoF (predicted loss of function, default), missense|LC (missense and low-confidence pLoF), synonymous, or pLoF|missense|LC. Example: `pLoF`
- `category` (string): Keep phenotypes whose UK Biobank category path contains this, case-insensitive (Sleep, Blood biochemistry, Medications). Example: `<category>`
- `gene` (string, required): Human gene: current HGNC symbol (BHLHE41, any case) or Ensembl gene ID (ENSG00000123095, version ignored). Aliases and previous symbols are not matched. Pattern: ^\s*[A-Za-z0-9][A-Za-z0-9._-]*\s*$. Example: `<gene>`
- `include_qc_failed` (boolean): Keep rows that fail Genebass QC for the test (hidden by default, as in the browser). Example: `false`
- `limit` (number): Rows to return, strongest first (1 to 500). Example: `25`
- `max_p` (number): Keep rows whose p-value for the test is at most this. Example: `1`
- `test` (string): Test whose p-value ranks, filters and QC-gates rows: skato (SKAT-O, default, as the Genebass browser), burden or skat. Example: `skato`
- `trait_types` (string[]): Keep these trait types: continuous, categorical, icd_first_occurrence (UK Biobank first-occurrence fields) or icd10. Example: `[]`

Response schema example:
```json
{
  "associations": [
    {
      "analysis_id": "continuous-30780-both_sexes--irnt",
      "beta_burden": -0.0388672485138252,
      "category": "Biological samples > Assay results > Blood assays > Blood biochemistry",
      "coding": null,
      "coding_description": null,
      "description": "LDL direct",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/continuous-30780-both_sexes--irnt?burdenSet=pLoF",
      "modifier": "irnt",
      "n_cases": 376106,
      "n_controls": null,
      "p_burden": 3.5816007334609e-132,
      "p_skat": 1.9950433178751e-85,
      "p_skato": 2.00332847593804e-134,
      "p_value": 2.00332847593804e-134,
      "pheno_sex": "both_sexes",
      "phenocode": "30780",
      "phenotype_qc_pass": true,
      "rank": 1,
      "total_variants": 58,
      "trait_type": "continuous",
      "ukb_field_id": "30780"
    },
    {
      "analysis_id": "continuous-30640-both_sexes--irnt",
      "beta_burden": -0.0381784610515656,
      "category": "Biological samples > Assay results > Blood assays > Blood biochemistry",
      "coding": null,
      "coding_description": null,
      "description": "Apolipoprotein B",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/continuous-30640-both_sexes--irnt?burdenSet=pLoF",
      "modifier": "irnt",
      "n_cases": 374968,
      "n_controls": null,
      "p_burden": 3.08673104347569e-125,
      "p_skat": 1.20515958296688e-75,
      "p_skato": 8.20612361661204e-126,
      "p_value": 8.20612361661204e-126,
      "pheno_sex": "both_sexes",
      "phenocode": "30640",
      "phenotype_qc_pass": true,
      "rank": 2,
      "total_variants": 58,
      "trait_type": "continuous",
      "ukb_field_id": "30640"
    },
    {
      "analysis_id": "continuous-30690-both_sexes--irnt",
      "beta_burden": -0.0333883910423338,
      "category": "Biological samples > Assay results > Blood assays > Blood biochemistry",
      "coding": null,
      "coding_description": null,
      "description": "Cholesterol",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/continuous-30690-both_sexes--irnt?burdenSet=pLoF",
      "modifier": "irnt",
      "n_cases": 376808,
      "n_controls": null,
      "p_burden": 1.7848396117344e-101,
      "p_skat": 1.12300527556562e-64,
      "p_skato": 1.18239098848587e-102,
      "p_value": 1.18239098848587e-102,
      "pheno_sex": "both_sexes",
      "phenocode": "30690",
      "phenotype_qc_pass": true,
      "rank": 3,
      "total_variants": 58,
      "trait_type": "continuous",
      "ukb_field_id": "30690"
    },
    {
      "analysis_id": "icd_first_occurrence-130814-both_sexes--",
      "beta_burden": -0.0285151489851784,
      "category": "Health-related outcomes > First occurrences > Endocrine, nutritional and metabolic diseases",
      "coding": null,
      "coding_description": null,
      "description": "Date E78 first reported (disorders of lipoprotein metabolism and other lipidaemias)",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/icd_first_occurrence-130814-both_sexes--?burdenSet=pLoF",
      "modifier": null,
      "n_cases": 81328,
      "n_controls": 313513,
      "p_burden": 2.07374065630851e-12,
      "p_skat": 1.41077761806052e-7,
      "p_skato": 1.2916355952731199e-11,
      "p_value": 1.2916355952731199e-11,
      "pheno_sex": "both_sexes",
      "phenocode": "130814",
      "phenotype_qc_pass": true,
      "rank": 4,
      "total_variants": 58,
      "trait_type": "icd_first_occurrence",
      "ukb_field_id": "130814"
    },
    {
      "analysis_id": "continuous-total_fatty_acids-both_sexes--custom",
      "beta_burden": -0.0219480755370184,
      "category": "Biological samples > Assay results > Blood assays > Biological samples > NMR metabolomics",
      "coding": null,
      "coding_description": null,
      "description": "Total fatty acids",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/continuous-total_fatty_acids-both_sexes--custom?burdenSet=pLoF",
      "modifier": "custom",
      "n_cases": 94910,
      "n_controls": null,
      "p_burden": 2.1456950410604497e-11,
      "p_skat": 2.8949850135074e-9,
      "p_skato": 1.81836848927838e-11,
      "p_value": 1.81836848927838e-11,
      "pheno_sex": "both_sexes",
      "phenocode": "total_fatty_acids",
      "phenotype_qc_pass": true,
      "rank": 5,
      "total_variants": 58,
      "trait_type": "continuous",
      "ukb_field_id": null
    }
  ],
  "burden_set": "pLoF",
  "dataset": {
    "biobank": "UK Biobank",
    "data": "UK Biobank whole-exome sequencing, gene-based (SAIGE-GENE: SKAT-O, burden, SKAT) and single-variant (SAIGE) association tests",
    "genome_build": "GRCh38",
    "name": "Genebass",
    "phenotypes": 4529,
    "saige_versions": [
      "SAIGE_0.44.5"
    ],
    "samples": 394841
  },
  "filters": {
    "category": null,
    "max_p": null,
    "trait_types": []
  },
  "gene": {
    "chromosome": "1",
    "end": 55064853,
    "ensembl_gene_id": "ENSG00000169174",
    "hgnc_id": "HGNC:20001",
    "name": "proprotein convertase subtilisin/kexin type 9",
    "omim_id": "607786",
    "previous_symbols": [
      "HCHOLA3"
    ],
    "start": 55039549,
    "strand": "+",
    "symbol": "PCSK9",
    "synonyms": [
      "NARC-1",
      "FH3"
    ]
  },
  "gene_qc": {
    "coverage_pass": true,
    "cumulative_allele_frequency": 0.0010094866162283376,
    "mean_coverage": 41.51044172838374,
    "pass": true,
    "test_pass": true,
    "variant_count_pass": true
  },
  "highlights": {
    "strong": 9,
    "strong_p": 0.0000025,
    "suggestive": 13,
    "suggestive_p": 0.0001
  },
  "include_qc_failed": false,
  "license": {
    "attribution": "Association results from Genebass (genebass.org), available under CC BY 4.0. Cite Karczewski et al., Cell Genomics 2022, acknowledge the UK Biobank, and link back to the Genebass page in source_url.",
    "citation": "Karczewski KJ, Solomonson M, Chao KR, et al. Systematic single-variant and gene-based association testing of thousands of phenotypes in 394,841 UK Biobank exomes. Cell Genomics 2, 100168 (2022). https://doi.org/10.1016/j.xgen.2022.100168",
    "name": "CC BY 4.0",
    "no_reidentification": "Summary statistics only. Under the Genebass terms of use every user agrees to not attempt to re-identify participants, and use of the data is bound by all terms of usage of the UK Biobank.",
    "terms_url": "https://app.genebass.org/terms",
    "uk_biobank_acknowledgement": "This research has been conducted using summary statistics generated from the UK Biobank resource (under application 26041 and 48511).",
    "url": "https://creativecommons.org/licenses/by/4.0/"
  },
  "matching": 4457,
  "observed_at_ms": 1795535969146,
  "qc_excluded": {
    "count": 72,
    "strongest": {
      "analysis_id": "categorical-41210-both_sexes-Z899-",
      "coding_description": "Z89.9 Arm NEC",
      "description": "Operative procedures - secondary OPCS4",
      "p_value": 0.000438677166142765
    }
  },
  "query": "PCSK9",
  "source_url": "https://app.genebass.org/gene/ENSG00000169174?burdenSet=pLoF",
  "test": "skato",
  "total_phenotypes": 4529
}
```

### Phenotype top genes

- Capability: `associations/phenotype_top_genes`
- Description: The genes whose rare-variant burden associates most strongly with one UK Biobank phenotype in Genebass's 394,841 exomes. Takes a Genebass analysis ID, a phenocode or a UK Biobank field ID (30780 for LDL direct, 1160 for sleep duration), narrowed by coding, trait type or sex when the field has several analyses; a burden set (pLoF by default) and the ranking test (SKAT-O by default). Returns the phenotype (name, category, cases and controls, Genebass QC flags and genomic inflation, Showcase and Genebass links) and genes lowest p-value first: symbol, Ensembl ID, position, SKAT-O, burden and SKAT p-values, burden beta, the gene's QC flags and the Genebass page. Genes failing gene QC (test, coverage or variant count) are left out by default, as in the browser's top hits, and counted in qc_excluded. Filters: max_p.
- Instructions: Which genes carry rare-variant signal for a trait in UK Biobank exomes ("which genes drive LDL cholesterol": APOB, PCSK9, ANGPTL3, LDLR), or confirming there is none (sleep duration has no gene below 2.5e-6). Find the phenotype first with search_phenotypes when you only have a name. UK Biobank only; for common-variant GWAS loci use platform-opentargets-org. A field with several analyses (insomnia 1200: continuous and categorical) is invalid_input listing them; an unknown one is not_found. Reads about 19 MB upstream, so expect a few seconds.
- Cost: 5 credits per call
- Capability file: [Phenotype top genes](https://alexandria.firecrawl.dev/agents/providers/genebass-org/associations/phenotype_top_genes)

Accepted options:
- `burden_set` (string): Variants in the gene burden: pLoF (predicted loss of function, default), missense|LC (missense and low-confidence pLoF), synonymous, or pLoF|missense|LC. Example: `pLoF`
- `coding` (string): Coding within a categorical field (1616 for 20002 insomnia), to pick one analysis. Example: `<coding>`
- `include_qc_failed` (boolean): Keep genes that fail Genebass gene QC for the test (left out by default, as in the browser's top hits). Example: `false`
- `limit` (number): Rows to return, strongest first (1 to 500). Example: `25`
- `max_p` (number): Keep rows whose p-value for the test is at most this. Example: `1`
- `phenotype` (string, required): Genebass analysis ID (continuous-30780-both_sexes--irnt), phenocode (30780, insomnia_1200_quant) or UK Biobank field ID (1160). Use search_phenotypes to find one by name. Pattern: ^\s*[A-Za-z0-9_.-]+\s*$. Example: `<phenotype>`
- `sex` (string): Sex the analysis was run in, to pick one analysis. Example: `both_sexes`
- `test` (string): Test whose p-value ranks, filters and QC-gates rows: skato (SKAT-O, default, as the Genebass browser), burden or skat. Example: `skato`
- `trait_type` (string): Trait type, to pick one analysis (insomnia 1200 has continuous and categorical). Example: `continuous`

Response schema example:
```json
{
  "burden_set": "pLoF",
  "dataset": {
    "biobank": "UK Biobank",
    "data": "UK Biobank whole-exome sequencing, gene-based (SAIGE-GENE: SKAT-O, burden, SKAT) and single-variant (SAIGE) association tests",
    "genome_build": "GRCh38",
    "name": "Genebass",
    "phenotypes": 4529,
    "saige_versions": [
      "SAIGE_0.44.5"
    ],
    "samples": 394841
  },
  "genes": [
    {
      "beta_burden": -0.0465076946215134,
      "chromosome": "2",
      "ensembl_gene_id": "ENSG00000084674",
      "gene_qc": {
        "coverage_pass": true,
        "cumulative_allele_frequency": 0.0012055637456858657,
        "mean_coverage": 34.893862334186295,
        "pass": true,
        "test_pass": true,
        "variant_count_pass": true
      },
      "gene_symbol": "APOB",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000084674/phenotype/continuous-30780-both_sexes--irnt?burdenSet=pLoF",
      "p_burden": 1.80159708958447e-299,
      "p_skat": 5.45011546547258e-41,
      "p_skato": 1.26111796270913e-298,
      "p_value": 1.26111796270913e-298,
      "position": 21001656,
      "rank": 1
    },
    {
      "beta_burden": -0.0388672485138252,
      "chromosome": "1",
      "ensembl_gene_id": "ENSG00000169174",
      "gene_qc": {
        "coverage_pass": true,
        "cumulative_allele_frequency": 0.0004470567670153236,
        "mean_coverage": 41.51044172838374,
        "pass": true,
        "test_pass": true,
        "variant_count_pass": true
      },
      "gene_symbol": "PCSK9",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/continuous-30780-both_sexes--irnt?burdenSet=pLoF",
      "p_burden": 3.5816007334609e-132,
      "p_skat": 1.9950433178751e-85,
      "p_skato": 2.00332847593804e-134,
      "p_value": 2.00332847593804e-134,
      "position": 55039736,
      "rank": 2
    },
    {
      "beta_burden": -0.0148005480474266,
      "chromosome": "1",
      "ensembl_gene_id": "ENSG00000132855",
      "gene_qc": {
        "coverage_pass": true,
        "cumulative_allele_frequency": 0.00101385202017048,
        "mean_coverage": 27.557716583213264,
        "pass": true,
        "test_pass": true,
        "variant_count_pass": true
      },
      "gene_symbol": "ANGPTL3",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000132855/phenotype/continuous-30780-both_sexes--irnt?burdenSet=pLoF",
      "p_burden": 1.29117323410224e-26,
      "p_skat": 4.86084279397996e-19,
      "p_skato": 9.038212638715701e-26,
      "p_value": 9.038212638715701e-26,
      "position": 62597479,
      "rank": 3
    },
    {
      "beta_burden": 0.0345080783560737,
      "chromosome": "19",
      "ensembl_gene_id": "ENSG00000130164",
      "gene_qc": {
        "coverage_pass": true,
        "cumulative_allele_frequency": 0.00013427230590015656,
        "mean_coverage": 31.81967849942304,
        "pass": true,
        "test_pass": true,
        "variant_count_pass": true
      },
      "gene_symbol": "LDLR",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000130164/phenotype/continuous-30780-both_sexes--irnt?burdenSet=pLoF",
      "p_burden": 1.15540548606212e-19,
      "p_skat": 9.744373096618889e-13,
      "p_skato": 1.45661112172792e-21,
      "p_value": 1.45661112172792e-21,
      "position": 11089485,
      "rank": 4
    },
    {
      "beta_burden": -0.0225974728287563,
      "chromosome": "7",
      "ensembl_gene_id": "ENSG00000146830",
      "gene_qc": {
        "coverage_pass": true,
        "cumulative_allele_frequency": 0.00017350644384519842,
        "mean_coverage": 36.9909260732025,
        "pass": true,
        "test_pass": true,
        "variant_count_pass": true
      },
      "gene_symbol": "GIGYF1",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000146830/phenotype/continuous-30780-both_sexes--irnt?burdenSet=pLoF",
      "p_burden": 6.45291983935795e-13,
      "p_skat": 0.0000568709879058549,
      "p_skato": 4.51704388755056e-12,
      "p_value": 4.51704388755056e-12,
      "position": 100676229,
      "rank": 5
    },
    {
      "beta_burden": 0.0240780918267164,
      "chromosome": "4",
      "ensembl_gene_id": "ENSG00000163631",
      "gene_qc": {
        "coverage_pass": true,
        "cumulative_allele_frequency": 0.00014951915719485414,
        "mean_coverage": 28.943836817990977,
        "pass": true,
        "test_pass": true,
        "variant_count_pass": true
      },
      "gene_symbol": "ALB",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000163631/phenotype/continuous-30780-both_sexes--irnt?burdenSet=pLoF",
      "p_burden": 1.4526722641156598e-11,
      "p_skat": 0.000052023205395324,
      "p_skato": 1.01687058488096e-10,
      "p_value": 1.01687058488096e-10,
      "position": 73404285,
      "rank": 6
    },
    {
      "beta_burden": 0.0118436721566774,
      "chromosome": "2",
      "ensembl_gene_id": "ENSG00000138075",
      "gene_qc": {
        "coverage_pass": true,
        "cumulative_allele_frequency": 0.0005408905371800362,
        "mean_coverage": 32.475961244563415,
        "pass": true,
        "test_pass": true,
        "variant_count_pass": true
      },
      "gene_symbol": "ABCG5",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000138075/phenotype/continuous-30780-both_sexes--irnt?burdenSet=pLoF",
      "p_burden": 2.54170878370953e-10,
      "p_skat": 0.0000306896611099727,
      "p_skato": 2.0663859512382001e-10,
      "p_value": 2.0663859512382001e-10,
      "position": 43809660,
      "rank": 7
    },
    {
      "beta_burden": -0.0354835820268339,
      "chromosome": "7",
      "ensembl_gene_id": "ENSG00000106633",
      "gene_qc": {
        "coverage_pass": true,
        "cumulative_allele_frequency": 0.000049387244251783174,
        "mean_coverage": 32.32073117604575,
        "pass": true,
        "test_pass": true,
        "variant_count_pass": true
      },
      "gene_symbol": "GCK",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000106633/phenotype/continuous-30780-both_sexes--irnt?burdenSet=pLoF",
      "p_burden": 4.60808657898326e-8,
      "p_skat": 0.00003471424973156,
      "p_skato": 1.10958379151427e-8,
      "p_value": 1.10958379151427e-8,
      "position": 44139451,
      "rank": 8
    },
    {
      "beta_burden": 0.00522753080634283,
      "chromosome": "3",
      "ensembl_gene_id": "ENSG00000010327",
      "gene_qc": {
        "coverage_pass": true,
        "cumulative_allele_frequency": 0.0022908603447170457,
        "mean_coverage": 43.54311401309826,
        "pass": true,
        "test_pass": true,
        "variant_count_pass": true
      },
      "gene_symbol": "STAB1",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000010327/phenotype/continuous-30780-both_sexes--irnt?burdenSet=pLoF",
      "p_burden": 3.43316679529693e-8,
      "p_skat": 0.0352280583894204,
      "p_skato": 5.26588643801063e-8,
      "p_value": 5.26588643801063e-8,
      "position": 52490593,
      "rank": 9
    },
    {
      "beta_burden": -0.00846065973925247,
      "chromosome": "7",
      "ensembl_gene_id": "ENSG00000015520",
      "gene_qc": {
        "coverage_pass": true,
        "cumulative_allele_frequency": 0.0006990653330192028,
        "mean_coverage": 31.983975619427515,
        "pass": true,
        "test_pass": true,
        "variant_count_pass": true
      },
      "gene_symbol": "NPC1L1",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000015520/phenotype/continuous-30780-both_sexes--irnt?burdenSet=pLoF",
      "p_burden": 2.80226834514785e-7,
      "p_skat": 0.00532298887076887,
      "p_skato": 7.75600501268237e-7,
      "p_value": 7.75600501268237e-7,
      "position": 44513384,
      "rank": 10
    }
  ],
  "highlights": {
    "strong": 13,
    "strong_p": 0.0000025,
    "suggestive": 23,
    "suggestive_p": 0.0001
  },
  "include_qc_failed": false,
  "license": {
    "attribution": "Association results from Genebass (genebass.org), available under CC BY 4.0. Cite Karczewski et al., Cell Genomics 2022, acknowledge the UK Biobank, and link back to the Genebass page in source_url.",
    "citation": "Karczewski KJ, Solomonson M, Chao KR, et al. Systematic single-variant and gene-based association testing of thousands of phenotypes in 394,841 UK Biobank exomes. Cell Genomics 2, 100168 (2022). https://doi.org/10.1016/j.xgen.2022.100168",
    "name": "CC BY 4.0",
    "no_reidentification": "Summary statistics only. Under the Genebass terms of use every user agrees to not attempt to re-identify participants, and use of the data is bound by all terms of usage of the UK Biobank.",
    "terms_url": "https://app.genebass.org/terms",
    "uk_biobank_acknowledgement": "This research has been conducted using summary statistics generated from the UK Biobank resource (under application 26041 and 48511).",
    "url": "https://creativecommons.org/licenses/by/4.0/"
  },
  "matching": 14946,
  "max_p": null,
  "observed_at_ms": 1795535985720,
  "phenotype": {
    "analysis_id": "continuous-30780-both_sexes--irnt",
    "category": "Biological samples > Assay results > Blood assays > Blood biochemistry",
    "coding": null,
    "coding_description": null,
    "description": "LDL direct",
    "description_more": "Measured by enzymatic protective selection analysis on a Beckman Coulter AU5800",
    "genebass_url": "https://app.genebass.org/phenotype/continuous-30780-both_sexes--irnt?burdenSet=pLoF",
    "modifier": "irnt",
    "n_cases": 376106,
    "n_controls": null,
    "pheno_sex": "both_sexes",
    "phenocode": "30780",
    "qc": {
      "burden": true,
      "lambda_gc": {
        "burden": 1.1398163989563606,
        "skat": 1.3477015486789328,
        "skato": 1.181882385929233
      },
      "skat": true,
      "skato": true
    },
    "saige_version": "SAIGE_0.44.5",
    "trait_type": "continuous",
    "ukb_field_id": "30780",
    "ukb_showcase_url": "https://biobank.ndph.ox.ac.uk/showcase/field.cgi?id=30780"
  },
  "qc_excluded": {
    "count": 3299,
    "strongest": {
      "ensembl_gene_id": "ENSG00000110245",
      "gene_symbol": "APOC3",
      "p_value": 7.96972587811292e-14
    }
  },
  "query": "30780",
  "source_url": "https://app.genebass.org/phenotype/continuous-30780-both_sexes--irnt?burdenSet=pLoF",
  "test": "skato",
  "total_genes": 18245
}
```

### Search phenotypes

- Capability: `phenotypes/search_phenotypes`
- Description: Search the 4,529 UK Biobank phenotypes Genebass analysed, by words in their name, coding, notes or category, or by analysis ID, phenocode or UK Biobank field ID. Returns each analysis with its Genebass analysis ID, name, coding, UK Biobank category path, trait type, phenocode, UK Biobank field ID and Showcase link, sex, modifier, cases and controls, notes, SAIGE version, Genebass QC flags per test and the Genebass page; best match first (identifier, name, notes, category), then larger samples. Filters: trait types and category.
- Instructions: Finding the Genebass analysis ID for a trait before phenotype_top_genes, or listing what UK Biobank measured on a topic ("sleep duration": continuous-sleep_duration_1160-both_sexes--custom; category Sleep lists every sleep trait). Names follow UK Biobank wording (Insomnia, LDL direct). No matches is a success with an empty list and a warning.
- Cost: 5 credits per call
- Capability file: [Search phenotypes](https://alexandria.firecrawl.dev/agents/providers/genebass-org/phenotypes/search_phenotypes)

Accepted options:
- `category` (string): Keep phenotypes whose UK Biobank category path contains this, case-insensitive (Sleep, Blood biochemistry, Medications). Example: `<category>`
- `limit` (number): Rows to return, strongest first (1 to 200). Example: `25`
- `query` (string, required): Words matched against phenotype names, codings, notes and categories (sleep duration, LDL, insomnia), or an analysis ID, phenocode or UK Biobank field ID (1160). Example: `<query>`
- `trait_types` (string[]): Keep these trait types: continuous, categorical, icd_first_occurrence (UK Biobank first-occurrence fields) or icd10. Example: `[]`

Response schema example:
```json
{
  "dataset": {
    "biobank": "UK Biobank",
    "data": "UK Biobank whole-exome sequencing, gene-based (SAIGE-GENE: SKAT-O, burden, SKAT) and single-variant (SAIGE) association tests",
    "genome_build": "GRCh38",
    "name": "Genebass",
    "phenotypes": 4529,
    "saige_versions": [
      "SAIGE_0.44.5"
    ],
    "samples": 394841
  },
  "filters": {
    "category": null,
    "trait_types": []
  },
  "license": {
    "attribution": "Association results from Genebass (genebass.org), available under CC BY 4.0. Cite Karczewski et al., Cell Genomics 2022, acknowledge the UK Biobank, and link back to the Genebass page in source_url.",
    "citation": "Karczewski KJ, Solomonson M, Chao KR, et al. Systematic single-variant and gene-based association testing of thousands of phenotypes in 394,841 UK Biobank exomes. Cell Genomics 2, 100168 (2022). https://doi.org/10.1016/j.xgen.2022.100168",
    "name": "CC BY 4.0",
    "no_reidentification": "Summary statistics only. Under the Genebass terms of use every user agrees to not attempt to re-identify participants, and use of the data is bound by all terms of usage of the UK Biobank.",
    "terms_url": "https://app.genebass.org/terms",
    "uk_biobank_acknowledgement": "This research has been conducted using summary statistics generated from the UK Biobank resource (under application 26041 and 48511).",
    "url": "https://creativecommons.org/licenses/by/4.0/"
  },
  "observed_at_ms": 1795536003338,
  "phenotypes": [
    {
      "analysis_id": "continuous-sleep_duration_1160-both_sexes--custom",
      "category": "UK Biobank Assessment Centre > Touchscreen > Lifestyle and environment > Sleep",
      "coding": null,
      "coding_description": null,
      "description": "Sleep duration (quantitative)",
      "description_more": "\"Sleep duration was adjusted for smoking status, alcohol intake status, BMI and BMI squared.\"",
      "genebass_url": "https://app.genebass.org/phenotype/continuous-sleep_duration_1160-both_sexes--custom?burdenSet=pLoF",
      "match": "description",
      "modifier": "custom",
      "n_cases": 389668,
      "n_controls": null,
      "pheno_sex": "both_sexes",
      "phenocode": "sleep_duration_1160",
      "qc": {
        "burden": true,
        "skat": true,
        "skato": true
      },
      "saige_version": "SAIGE_0.44.5",
      "trait_type": "continuous",
      "ukb_field_id": "1160",
      "ukb_showcase_url": "https://biobank.ndph.ox.ac.uk/showcase/field.cgi?id=1160"
    }
  ],
  "query": "sleep duration",
  "source_url": "https://app.genebass.org/",
  "total_matches": 1
}
```

### Variant phewas

- Capability: `variants/variant_phewas`
- Description: Single-variant PheWAS from Genebass: the UK Biobank phenotypes one exome variant was tested against (SAIGE, 394,841 exomes), strongest first. Takes a GRCh38 variant (chromosome-position-ref-alt) or an rsID. Returns the variant (gene, consequence, HGVS, LOFTEE call, QC filters and region flags, rsID) and rows of analysis ID, phenotype name, coding, category, trait type, UK Biobank field ID, cases and controls, p-value, effect (beta) and the Genebass page. Filters: trait types, category and max_p; highlights counts rows under the browser's variant p-value highlights. Allele counts are left out because Genebass's own sources disagree on them.
- Instructions: What a specific coding variant associates with in UK Biobank exomes ("PCSK9 R46L rs11591147": E78 lipid disorders first reported, p 2.7e-101), or checking a known variant against a trait family (BHLHE41 P384R 12-26122364-G-C with category Sleep). Only variants Genebass tested are found; a variant outside them is not_found. Prefer snp-ncbi-nlm-nih-gov for rsID annotation, gnomad-broadinstitute-org for allele frequencies across populations and clinvar-ncbi-nlm-nih-gov for clinical significance. Genebass's list for a variant can lack some phenotypes it tested genes on (R46L has no LDL direct row).
- Cost: 5 credits per call
- Capability file: [Variant phewas](https://alexandria.firecrawl.dev/agents/providers/genebass-org/variants/variant_phewas)

Accepted options:
- `category` (string): Keep phenotypes whose UK Biobank category path contains this, case-insensitive (Sleep, Blood biochemistry, Medications). Example: `<category>`
- `limit` (number): Rows to return, strongest first (1 to 500). Example: `25`
- `max_p` (number): Keep rows whose p-value for the test is at most this. Example: `1`
- `trait_types` (string[]): Keep these trait types: continuous, categorical, icd_first_occurrence (UK Biobank first-occurrence fields) or icd10. Example: `[]`
- `variant` (string, required): GRCh38 variant as chromosome-position-ref-alt (12-26122364-G-C; chr12:26122364:G:C and chr12-26122364-G>C also read) or a dbSNP rsID (rs11591147). Example: `<variant>`

Response schema example:
```json
{
  "associations": [
    {
      "analysis_id": "icd_first_occurrence-130814-both_sexes--",
      "beta": -0.417529077588381,
      "category": "Health-related outcomes > First occurrences > Endocrine, nutritional and metabolic diseases",
      "coding": null,
      "coding_description": null,
      "description": "Date E78 first reported (disorders of lipoprotein metabolism and other lipidaemias)",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/icd_first_occurrence-130814-both_sexes--/variant/1-55039974-G-T?resultIndex=variant-phewas",
      "modifier": null,
      "n_cases": 81328,
      "n_controls": 313513,
      "p_value": 2.65380272102356e-101,
      "pheno_sex": "both_sexes",
      "phenocode": "130814",
      "rank": 1,
      "trait_type": "icd_first_occurrence",
      "ukb_field_id": "130814"
    },
    {
      "analysis_id": "categorical-20002-both_sexes-1473-",
      "beta": -0.433148345861637,
      "category": "UK Biobank Assessment Centre > Verbal interview > Medical conditions",
      "coding": "1473",
      "coding_description": "high cholesterol",
      "description": "Non-cancer illness code, self-reported",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/categorical-20002-both_sexes-1473-/variant/1-55039974-G-T?resultIndex=variant-phewas",
      "modifier": null,
      "n_cases": 48438,
      "n_controls": 346345,
      "p_value": 6.52190426225207e-73,
      "pheno_sex": "both_sexes",
      "phenocode": "20002",
      "rank": 2,
      "trait_type": "categorical",
      "ukb_field_id": "20002"
    },
    {
      "analysis_id": "categorical-6177-both_sexes-1-",
      "beta": -0.434657359920323,
      "category": "UK Biobank Assessment Centre > Touchscreen > Health and medical history > Medication",
      "coding": "1",
      "coding_description": "Cholesterol lowering medication",
      "description": "Medication for cholesterol, blood pressure or diabetes",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/categorical-6177-both_sexes-1-/variant/1-55039974-G-T?resultIndex=variant-phewas",
      "modifier": null,
      "n_cases": 41662,
      "n_controls": 137885,
      "p_value": 5.00260901895802e-51,
      "pheno_sex": "both_sexes",
      "phenocode": "6177",
      "rank": 3,
      "trait_type": "categorical",
      "ukb_field_id": "6177"
    },
    {
      "analysis_id": "categorical-20003-both_sexes-1140861958-",
      "beta": -0.309852573248388,
      "category": "UK Biobank Assessment Centre > Verbal interview > Medications",
      "coding": "1140861958",
      "coding_description": "simvastatin",
      "description": "Treatment/medication code",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/categorical-20003-both_sexes-1140861958-/variant/1-55039974-G-T?resultIndex=variant-phewas",
      "modifier": null,
      "n_cases": 45015,
      "n_controls": 349768,
      "p_value": 5.2358256772204094e-33,
      "pheno_sex": "both_sexes",
      "phenocode": "20003",
      "rank": 4,
      "trait_type": "categorical",
      "ukb_field_id": "20003"
    },
    {
      "analysis_id": "categorical-6153-both_sexes-1-",
      "beta": -0.303358323071413,
      "category": "UK Biobank Assessment Centre > Touchscreen > Health and medical history > Medication",
      "coding": "1",
      "coding_description": "Cholesterol lowering medication",
      "description": "Medication for cholesterol, blood pressure, diabetes, or take exogenous hormones",
      "genebass_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/categorical-6153-both_sexes-1-/variant/1-55039974-G-T?resultIndex=variant-phewas",
      "modifier": null,
      "n_cases": 26921,
      "n_controls": 185712,
      "p_value": 2.12000234994131e-19,
      "pheno_sex": "both_sexes",
      "phenocode": "6153",
      "rank": 5,
      "trait_type": "categorical",
      "ukb_field_id": "6153"
    }
  ],
  "dataset": {
    "biobank": "UK Biobank",
    "data": "UK Biobank whole-exome sequencing, gene-based (SAIGE-GENE: SKAT-O, burden, SKAT) and single-variant (SAIGE) association tests",
    "genome_build": "GRCh38",
    "name": "Genebass",
    "phenotypes": 4529,
    "saige_versions": [
      "SAIGE_0.44.5"
    ],
    "samples": 394841
  },
  "filters": {
    "category": null,
    "max_p": null,
    "trait_types": []
  },
  "highlights": {
    "strong": 15,
    "strong_p": 3.5e-7,
    "suggestive": 19,
    "suggestive_p": 0.000001
  },
  "license": {
    "attribution": "Association results from Genebass (genebass.org), available under CC BY 4.0. Cite Karczewski et al., Cell Genomics 2022, acknowledge the UK Biobank, and link back to the Genebass page in source_url.",
    "citation": "Karczewski KJ, Solomonson M, Chao KR, et al. Systematic single-variant and gene-based association testing of thousands of phenotypes in 394,841 UK Biobank exomes. Cell Genomics 2, 100168 (2022). https://doi.org/10.1016/j.xgen.2022.100168",
    "name": "CC BY 4.0",
    "no_reidentification": "Summary statistics only. Under the Genebass terms of use every user agrees to not attempt to re-identify participants, and use of the data is bound by all terms of usage of the UK Biobank.",
    "terms_url": "https://app.genebass.org/terms",
    "uk_biobank_acknowledgement": "This research has been conducted using summary statistics generated from the UK Biobank resource (under application 26041 and 48511).",
    "url": "https://creativecommons.org/licenses/by/4.0/"
  },
  "matching": 4526,
  "observed_at_ms": 1795536014674,
  "query": "1-55039974-G-T",
  "source_url": "https://app.genebass.org/gene/ENSG00000169174/phenotype/icd_first_occurrence-130814-both_sexes--/variant/1-55039974-G-T?resultIndex=variant-phewas",
  "total_phenotypes": 4526,
  "variant": {
    "alt": "T",
    "chromosome": "1",
    "consequence": "missense_variant",
    "filters": [],
    "gene_id": "ENSG00000169174",
    "gene_symbol": "PCSK9",
    "hgvs": "p.Arg46Leu",
    "hgvsc": "ENST00000302118.5:c.137G>T",
    "hgvsp": "ENSP00000303208.5:p.Arg46Leu",
    "lof": null,
    "lof_filter": null,
    "lof_flags": null,
    "position": 55039974,
    "ref": "G",
    "region_flags": {
      "fail_interval_qc": false,
      "low_complexity_region": false,
      "outside_capture_region": false,
      "segmental_duplication": false
    },
    "rsid": null,
    "variant_id": "1-55039974-G-T"
  }
}
```
