cluster_spectra_extractor

cluster_spectra_extractor

This tool extracts the spectra of a specified cluster from the original source peak list files and writes all of a cluster’s spectra in a single MGF file.

Usage:
cluster_spectra_extractor –output_directory=</path/to/results> –clustering_file=<result.clustering>
[–add_consensus_spectrum] –peaklist_directory=</path/to/dir>… <cluster_id>…

cluster_spectra_extractor –build_index <mgf_files>… cluster_spectra_extractor (–help | –version)

Options:
-o, --output_directory=</path/to/results>
 Path to the directory where the MGF files will be created. The files will have the cluster’s id as a name.
-c, --clustering_file=<result.clustering>
 Path to the .clustering result file.
-p, --peaklist_directory=</path/to/dir>
 Path to a directory holding the original MGF files. Multiple directories can be specified by specifying this parameter multiple times.
-i, --build_index
 If set, the passed MGF files are indexed.
--add_consensus_spectrum
 If set, the cluster’s consensus spectrum is written to the MGF file as the first spectrum.
-h, --help Displays this help.
-v, --version Displays the tool’s version.