crispr_analyze_screen
Call HITS from a pooled CRISPR screen: per-guide read counts in, a gene-level Bayes factor and a precision/recall curve out.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"read_counts": "<read_counts>",
"essential_genes": "<essential_genes>",
"non_essential_genes": "<non_essential_genes>",
"control_columns": "<control_columns>"
},
"name": "crispr_analyze_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _files | No | The project: record references shaped like _subject. Their records become library documents a tool names in sequences/parts/document; a trace or alignment is found by file name. | |
| fdr_cut | No | the false-discovery rate the hit list is cut at. A DISPLAY threshold read off the computed curve, not a parameter of the estimator. | |
| _subject | No | The record to act on: exactly one of sequence, accession (+source), sample (an id from list_samples) or file ({name, text} or {name, base64}); record_index picks one record of several. | |
| min_reads | No | drop a reagent whose SUMMED control count is below this (upstream's -m). Applied after the pseudocount, exactly as upstream applies it. | |
| read_counts | Yes | the count table: a header line, then one row per reagent — identifier, gene, then one column per sequenced sample. Tab- or comma-separated. Counts may be written as decimals, as upstream's own files are. | |
| pseudo_count | No | added to every count before normalising to 10,000,000 reads per column. Advanced. | |
| sample_columns | No | which sample column names to score. Leave empty to score every column that is not a control. | |
| control_columns | Yes | the T0 / plasmid column NAMES, exactly as the header spells them. Summed before the fold change, so a two-replicate T0 is one control and not two. | |
| essential_genes | Yes | reference ESSENTIAL gene symbols, one per line (extra columns ignored). BAGEL2's CEGv2 is the usual choice; the editor panel ships it and the mouse set beside it. | |
| equalise_replicates | No | scale every Bayes factor as if the screen had this many replicates (upstream's -p), 0 to leave it off. A BF is a SUM over replicates, so two screens of different replicate counts are not comparable until this is set. Advanced. | |
| non_essential_genes | Yes | reference NON-ESSENTIAL gene symbols, one per line. BAGEL2's NEGv1 is the usual choice. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fit | Yes | the fitted line the Bayes factor is scored against: slope, intercept and the fold-change window | |
| hits | Yes | genes at or above the Bayes factor the FDR cut lands on | |
| curve | Yes | the precision/recall curve, one row per gene | |
| genes | Yes | every gene with its Bayes factor, standard deviation and observation count, ranked | |
| hitBf | Yes | the Bayes factor the cut lands on (0 when nothing clears the FDR) | |
| training | Yes | reference essential and non-essential genes FOUND in this library, against the number supplied — the check that the symbols match |