fasta_lake.search#
fasta_lake.search
#
Sage DDA settings: cleavage and precursor mass window are independent choices.
Upstream search engine: https://github.com/lazear/sage; Lazear (2023), https://doi.org/10.1021/acs.jproteome.3c00486. FastaLake writes explicit search settings; Sage performs spectrum matching, scoring and its native confidence estimation. Search q-values are not whole adaptive-workflow FDR calibration.
sage_config
#
sage_config(fasta, mzml, output, *, digestion='tryptic', search_mode='closed', min_length=5, max_length=50)
Build the complete configuration for one Sage v0.14.7 acquisition.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
fasta
|
path - like
|
Selected target database, one measured acquisition, and its new search directory. Sage generates decoys; input FASTA must contain targets only. |
required |
mzml
|
path - like
|
Selected target database, one measured acquisition, and its new search directory. Sage generates decoys; input FASTA must contain targets only. |
required |
output
|
path - like
|
Selected target database, one measured acquisition, and its new search directory. Sage generates decoys; input FASTA must contain targets only. |
required |
digestion
|
(tryptic, semi - tryptic, unspecific)
|
Require two, one, or no tryptic termini. Protein termini are valid enzymatic boundaries. Permissiveness does not establish protease activity. |
"tryptic"
|
search_mode
|
(closed, open)
|
Closed uses ±20 ppm. Open uses [-500, +100] Da, no variable modifications, no isotope-error expansion, and no RT prediction. |
"closed"
|
min_length
|
int
|
Search peptide lengths, independent of the de novo evidence filter. |
5
|
max_length
|
int
|
Search peptide lengths, independent of the de novo evidence filter. |
5
|
Returns:
| Type | Description |
|---|---|
dict
|
A fresh JSON-compatible config. LFQ and target/decoy generation are retained. Every actual search saves these settings in its JSON. |