xiSEARCH is a search engine for the identification of crosslinked spectra matches in crosslinking mass spectrometry experiments
Allocate an interactive session and run the program.
Sample session (user input in bold):
[user@biowulf]$ sinteractive
salloc.exe: Pending job allocation 46116226
salloc.exe: job 46116226 queued and waiting for resources
salloc.exe: job 46116226 has been allocated resources
salloc.exe: Granted job allocation 46116226
salloc.exe: Waiting for resource configuration
salloc.exe: Nodes cn3144 are ready for job
[user@cn3144 ~]$ module load xisearch
[user@cn3144 ~]$ xisearch --help
java -cp Xlink.jar rappsilber.applications.Xi --config=[config-file] --peaks=[path to peaklist] --fasta=[path to fasta file] --conf=[some xi-parameters] --output=[csv-file] --peaksout=[csv-file] --exampleconfig=[path] --help
--config a config file to read in
can be repeated - later options add to or
overwrite previous options
--peaks peaklist to read
.apl or .mgf are accepted or zipped versions
can be repeated
--fasta a fasta file against wich the peaklists are
searched
can be repeated
--decoyfasta proteins in this fasta file are considered decoys
can be repeated
--output where to write the csv-output
- will output to stdout
can be repeated
--xiconf add an additional option to the config
--exampleconfig writes out an example config and exits
--log displays a logging window
--help shows this message
--gui forwards the arguments to the xi-gui
--dbgui opens the database bound gui
--peaksout write out annotated peaks
--locale what local to use for writingh out numbers
--version display version
--versiongui display version in a window
--changes display change log
If no arguments are gvien the GUI is shown.
[user@cn3144 ~]$ exit
salloc.exe: Relinquishing job allocation 46116226
[user@biowulf ~]$
Create a batch input file (e.g. xisearch.sh). For example:
#!/bin/bash set -e module load xisearch xisearch --fasta=sequence_database.fasta --peaks=./peakfiles.zip --config=config.conf --output=output_name.csv
Submit this job using the Slurm sbatch command.
sbatch [--cpus-per-task=#] [--mem=#] xisearch.sh
Create a swarmfile (e.g. xisearch.swarm). For example:
xisearch --fasta=sequence_database.fasta --peaks=./peakfiles1.zip --config=config.conf --output=output_name1.csv xisearch --fasta=sequence_database.fasta --peaks=./peakfiles2.zip --config=config.conf --output=output_name2.csv xisearch --fasta=sequence_database.fasta --peaks=./peakfiles3.zip --config=config.conf --output=output_name3.csv xisearch --fasta=sequence_database.fasta --peaks=./peakfiles4.zip --config=config.conf --output=output_name4.csv
Submit this job using the swarm command.
swarm -f xisearch.swarm [-g #] [-t #] --module xisearchwhere
| -g # | Number of Gigabytes of memory required for each process (1 line in the swarm command file) |
| -t # | Number of threads/CPUs required for each process (1 line in the swarm command file). |
| --module xisearch | Loads the xiSEARCH module for each subjob in the swarm |