-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #160 from compomics/update-documentation
Update tims2rescore documentation
- Loading branch information
Showing
4 changed files
with
85 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,61 +1,76 @@ | ||
.. _timsrescore: | ||
.. _tims2rescore: | ||
|
||
TIMS²Rescore User Guide | ||
======================= | ||
TIMS²Rescore | ||
============ | ||
|
||
Introduction | ||
------------ | ||
|
||
The `TIMS²Rescore` tool is a DDA-PASEF adapted version of `ms2rescore` that allows users to perform rescoring of peptide-spectrum matches (PSMs) acquired on Bruker instruments. This guide provides an overview of how to use `timsrescore` in `ms2rescore` effectively. | ||
`TIMS²Rescore` is a specialized version of `MS²Rescore` for timsTOF DDA-PASEF data. This guide | ||
provides an overview of how to use TIMS²Rescore effectively. | ||
|
||
Installation | ||
------------ | ||
|
||
Before using `timsrescore`, ensure that you have `ms2rescore` installed on your system. You can install `ms2rescore` using the following command: | ||
|
||
.. code-block:: bash | ||
Installing TIMS²Rescore | ||
----------------------- | ||
|
||
pip install ms2rescore | ||
TIMS²Rescore is part of the ``ms2rescore`` package. Check out the :ref:`installation` instructions | ||
to get started. | ||
|
||
Usage | ||
----- | ||
|
||
To use `timsrescore`, follow these steps: | ||
To use TIMS²Rescore, follow these steps: | ||
|
||
1. Prepare your input files: | ||
- Ensure that you have the necessary input files, including the PSM file spectrum files | ||
- Make sure that the PSM file format from a supported search engine or a standard format like .mzid(:external+psm_utils:ref:`supported file formats <supported file formats>`). | ||
- Spectrum files can directly be given as .d or minitdf files from Bruker instruments or first converted to .mzML format. | ||
|
||
2. Run `timsrescore`: | ||
- To boost DDA-PASEF peptide identifications, TIMS²Rescore requires the spectrum files from | ||
the timsTOF instrument and the PSM files with identifications from a supported search engine. | ||
- Make sure that the PSM file format comes from a supported search engine or is a standard | ||
format such as mzIdentML (See | ||
:external+psm_utils:ref:`supported file formats <supported file formats>`). | ||
- Spectrum files can directly be passed as ``.d`` or `miniTDF` raw data or can optionally be | ||
first converted to mzML or MGF. We recommend using the format that was passed to the search | ||
engine. | ||
|
||
2. Run ``tims2rescore``: | ||
- Open a terminal or command prompt. | ||
- Navigate to the directory where your input files are located. | ||
- Execute the following command: | ||
|
||
.. code-block:: bash | ||
timsrescore -p <path_to_psm_file> -s <path_to_spectrum_file> -o <path_to_output_file> | ||
tims2rescore -p <path_to_psm_file> -s <path_to_spectrum_file> | ||
Replace `<path_to_psm_file>`, `<path_to_tims_file>`, and `<path_to_output_file>` with the | ||
actual paths to your input and output files. | ||
|
||
Replace `<path_to_psm_file>`, `<path_to_tims_file>`, and `<path_to_output_file>` with the actual paths to your input and output files. | ||
_NOTE_ By default timsTOF specific models will be used for predictions. Optionally you can further configure settings through a configuration file. For more information on configuring `timsrescore`, refer to the :doc:`configuration` tab in the user guide. | ||
.. admonition:: note | ||
|
||
By default, specialized timsTOF models will be used for predictions. Optionally you can | ||
further configure TIMS²Rescore through a configuration file. For more information, refer | ||
to the :ref:`configuration` tab in the user guide. | ||
|
||
3. Review the results: | ||
- Once the `timsrescore` process completes, you will find the rescoring results in the specified output file or if not specified in the same directory as the input files | ||
- If you want a detailed overview of the performance, you can either give the set `write_report` to `True` in the configuration file, use the `--write_report` option in the command line or run the following command: | ||
|
||
- Once the ``tims2rescore`` process completes, you will find the rescoring results in the | ||
same directory as the input files. | ||
- If you want a detailed report of the rescoring performance, you can either give the set | ||
`write_report` to `True` in the configuration file, use the `--write_report` option in the | ||
``tims2rescore`` command line. Alternatively, run the following command after rescoring: | ||
|
||
.. code-block:: bash | ||
ms2rescore-report <output_prefix> | ||
Replace `<output_prefix>` with the actual output prefix of the result files to the output file. | ||
Replace `<output_prefix>` with the actual output prefix of the result files to the output | ||
file. For instance, if the output file is ``identifications.psms.tsv``, then the output | ||
prefix is ``identifications``. | ||
|
||
Additional Options | ||
Additional options | ||
------------------ | ||
|
||
`ms2rescore` provides additional options to customize the `timsrescore` process. You can explore these options by running the following command: | ||
`tims2rescore` provides additional options to customize rescoring. You can explore these options | ||
by running the following command: | ||
|
||
.. code-block:: bash | ||
timsrescore --help | ||
tims2rescore --help | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters