-
Notifications
You must be signed in to change notification settings - Fork 0
SLM Transform Beta (Comet)
Muhammad Haseeb edited this page Dec 1, 2018
·
1 revision
Welcome to the SLM-Transform (beta) wiki!
This wiki contains detailed information on how to use SLM-Index Beta.
This is the beta implementation of SLM-Index and does not contain full features. The purpose of this implementation is to demonstrate the integratability of SLM-Index as well as to benchmark SLM-Index memory footprint and query speed.
- make
- cmake
- libdivsufsort
- Windows: MinGW
- Get libdivsufsort from here: https://github.com/y-256/libdivsufsort
- libdivsufsort can be configured to use OpenMP by modifying CMakeLists.txt.
- Follow the instructions to install the libdivsufsort.
Assuming /lds is the path to libdivsufsort home,
- Navigate to /lds/build/lib/CMakeFiles/divsufsort.dir
- Execute the command:
ar rcs libdivsufsort.a
- Copy the libdivsufsort.a to /slmindexbeta/CometSearch/libdivsufsort
- Also copy the divsufsort.h, config.h and lfs.h from the installed directory to /slmindexbeta/CometSearch/libdivsufsort
You will need Eclipse C/C++ IDE and MinGW GCC/G++ to build a SLM-Transform compatible libdivsufsort.
- open Windows Powershell
- Navigate to /lds and execute
mkdir build
and thencd build
- Navigate to /lds and execute
cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="../../" -G "Eclipse CDT4 - MinGW Makefiles" ..
- Open Eclipse, right click anywhere in the "Project Explorer" and "Import".
- Put the path to /lds/build and import the project.
- Right click on the project and build the project.
- Copy the built lib/libdivsufsort.dll.a and paste as /slmindexbeta/CometSearch/libdivsufsort/Windows/libdivsufsort.a
- Also copy the include/lfs.h, config.h and divsufsort.h to /slmindexbeta/CometSearch/libdivsufsort/Windows
- Open the Cygwin shell or Git Bash shell.
- Navigate to SLM-Transform home directory
- Execute the following command:
make -j<JOBS>
- Note that in above command, you can skip the
-j <JOBS>
if working with Linux.
- Unzip the /slmindexbeta/samples/rat.tar.gz -> ratNew2cleavages.fasta
- Traverse to /slmindexbeta>/output/bin directory and execute:
cp ../../samples/comet.params ./
- Run:
./comet.exe ../../samples/*.ms2
- The results (PIN and PEPXML) files will be placed in /samples directory
- Digest the proteome database using Protein Digestion Simulator or OpenMS.
- Remove the redundant peptide sequences in the digested database using DBToolkit.
- Optional: The decoy database can be generated and appended to the target database using DBToolkit
- Add the path to the database file.
- Configure the number and types of modifications that should be added to SLM-Index Beta.
- Configure the digestion parameters for SLM-Index to validate the sequences in the database file.
- Configure the result and output format.
- Configure the capacity of modified peptides that could be added to SLM-Index Beta.
- If capacity is smaller than the number of modified peptides generated from the normal peptides, SLM-Index Beta will exit and throw a error message for the user to either increase the capacity or reduce the number/types of modifications to be added.
- If the set capacity is greater than the spectra/peptides in the index, the extra memory will automatically be released while construction of index.
- The max fragment charge: 3
- Max digestion mass: 65kDa
- The num_threads paramter controls the number of threads that can be used for indexing. The querying is restricted to 1 core.
- The key-value sort for SLM Ion Index construction is handled by libdivsufsort. Please enable OpenMP when building libdivsufsort to enable parallel sort operation.
Please cite us if you use our work