Skip to content

Commit e65cc43

Browse files
update docs
1 parent 7cbd7cf commit e65cc43

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Generate a spectral library for [Spectronaut](https://biognosys.com/software/spe
1111
- Install python 3.7+: [https://www.python.org/downloads/](https://www.python.org/downloads/)
1212
- Install requirements: `pip install -r requirements.txt`
1313
- Export MS Annika CSMs from Proteome Discoverer to Microsoft Excel format. Filter out decoys beforehand and filter for high-confidence CSMs (see below).
14-
- Convert any RAW files to *.mgf format, e.g. using [ThermoRawFileParser](https://github.com/compomics/ThermoRawFileParser).
14+
- Convert any RAW files to *.mgf or *.mzML format, e.g. using [ThermoRawFileParser](https://github.com/compomics/ThermoRawFileParser).
1515
- Set your desired parameters in `config.py` (see below).
1616
- Run `python create_spectral_library.py`.
1717
- If the script successfully finishes, the target spectral library should be generated with the extension `_spectralLibrary.csv`.
@@ -44,7 +44,7 @@ The following parameters need to be adjusted for your needs in the `config.py` f
4444
```python
4545
##### PARAMETERS #####
4646

47-
# name of the mgf file containing the MS2 spectra
47+
# name of the mgf or mzML file(s) containing the MS2 spectra
4848
SPECTRA_FILE = ["20220215_Eclipse_LC6_PepMap50cm-cartridge_mainlib_DSSO_3CV_stepHCD_OT_001.mgf"]
4949
# you can process multiple files like this:
5050
# SPECTRA_FILE = ["20220215_Eclipse_LC6_PepMap50cm-cartridge_mainlib_DSSO_3CV_stepHCD_OT_001.mgf", "20220215_Eclipse_LC6_PepMap50cm-cartridge_mainlib_DSSO_3CV_stepHCD_OT_002.mgf"]
@@ -82,9 +82,9 @@ In case you have more than one `SPECTRA_FILE` you can specify that like this:
8282
```python
8383
##### PARAMETERS #####
8484

85-
# name of the mgf file containing the MS2 spectra
86-
SPECTRA_FILE = ["20220215_Eclipse_LC6_PepMap50cm-cartridge_mainlib_DSSO_3CV_stepHCD_OT_001.mgf",
87-
"20220215_Eclipse_LC6_PepMap50cm-cartridge_mainlib_DSSO_3CV_stepHCD_OT_002.mgf"]
85+
# name of the mgf or mzML file(s) containing the MS2 spectra
86+
SPECTRA_FILE = ["20220215_Eclipse_LC6_PepMap50cm-cartridge_mainlib_DSSO_3CV_stepHCD_OT_001.mzML",
87+
"20220215_Eclipse_LC6_PepMap50cm-cartridge_mainlib_DSSO_3CV_stepHCD_OT_002.mzML"]
8888
# name of the CSM file exported from Proteome Discoverer
8989
## <code omitted> ##
9090
```

config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
##### PARAMETERS #####
22

3-
# name of the mgf file containing the MS2 spectra
3+
# name of the mgf or mzML file(s) containing the MS2 spectra
44
SPECTRA_FILE = ["20220215_Eclipse_LC6_PepMap50cm-cartridge_mainlib_DSSO_3CV_stepHCD_OT_001.mgf"]
55
# you can process multiple files like this:
66
# SPECTRA_FILE = ["20220215_Eclipse_LC6_PepMap50cm-cartridge_mainlib_DSSO_3CV_stepHCD_OT_001.mgf", "20220215_Eclipse_LC6_PepMap50cm-cartridge_mainlib_DSSO_3CV_stepHCD_OT_002.mgf"]

0 commit comments

Comments
 (0)