annotate searchgui.xml @ 0:8b99cb00e1c4 draft

planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
author jjohnson
date Tue, 15 May 2018 14:50:35 -0400
parents
children fa76abf69433
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
1 <tool id="search_gui" name="Search GUI" version="@SEARCHGUI_VERSION@.0">
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
2 <description>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
3 Perform protein identification using various search engines and prepare results for input to Peptide Shaker
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
4 </description>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
5 <macros>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
6 <import>macros_basic.xml</import>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
7 </macros>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
8 <requirements>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
9 <requirement type="package" version="@SEARCHGUI_VERSION@">searchgui</requirement>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
10 <requirement type="package" version="3.0">zip</requirement>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
11 <requirement type="package">JQ</requirement>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
12 </requirements>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
13 <expand macro="stdio" />
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
14 <command>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
15 <![CDATA[
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
16 #from datetime import datetime
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
17 #import json
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
18 #import os;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
19 #set $exp_str = "Galaxy_Experiment_%s" % datetime.now().strftime("%Y%m%d%H%M%s")
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
20 #set $samp_str = "Sample_%s" % datetime.now().strftime("%Y%m%d%H%M%s")
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
21 #set $temp_stderr = "searchgui_stderr"
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
22 #set $bin_dir = "bin"
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
23
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
24 mkdir output;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
25 mkdir output_reports;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
26 cwd=`pwd`;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
27 export HOME=\$cwd;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
28
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
29 ## echo the search engines to run
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
30 echo "$search_engines_options.engines";
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
31
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
32 ##Create a searchgui.properties file for the version, which will be added to the searchgui_results if not already present
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
33 echo "searchgui.version=@SEARCHGUI_VERSION@" >> searchgui.properties;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
34
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
35 #for $mgf in $peak_lists:
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
36 #set $input_name = $mgf.display_name.split('/')[-1].replace(".mgf", "") + ".mgf"
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
37 ln -s -f '${mgf}' '${input_name}';
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
38 #set $encoded_id = $__app__.security.encode_id($mgf.id)
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
39 echo "Spectrums:${mgf.display_name}(API:${encoded_id}) ";
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
40 #end for
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
41
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
42
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
43
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
44 ## Necessary for executing tests. The FASTA file has to be manually copied from the test-data folder to the working directory in order it can be found when using the PAR file.
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
45 cp '$__tool_directory__/test-data/searchgui_tinydb1_concatenated_target_decoy.fasta' "\$cwd/searchgui_tinydb1_concatenated_target_decoy.fasta";
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
46
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
47
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
48
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
49 ## copy the input .par file to the working folder
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
50 cp "${input_par}" "\$cwd/SEARCHGUI_IdentificationParameters.par";
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
51 echo "-.par source file:";
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
52 echo "${input_par}";
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
53
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
54 ## (local) PAR file points to a FASTA file with .dat extension, which gives problems with many search engines. We should rename it to a .fasta file before passing it to SearchGUI
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
55 #set $par_target_path = "$cwd/SEARCHGUI_IdentificationParameters.par";
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
56 echo "-.par target file:";
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
57 echo $par_target_path;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
58
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
59 ## reading from the original .par file the path of the source .dat (fasta) file to be used
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
60 content_par_target_path=`cat $par_target_path`;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
61 dat_path=`jq -r '.searchParameters.fastaFile.path' <<< "\$content_par_target_path"`;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
62 echo "-.dat file path from target .par: ";
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
63 echo "\$dat_path";
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
64
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
65 ## copy original .data fasta file to a local .fasta file
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
66 new_fasta_file_path="\$cwd/input_database.fasta";
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
67 cp "\$dat_path" "\$new_fasta_file_path";
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
68 echo "-new .fasta file path copied from source .dat file: ";
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
69 echo "\$new_fasta_file_path";
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
70
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
71 ## modifying the .par file!!
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
72 ## First we establish the new content for the path: .searchParameters.fastaFile.path
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
73 new_content_par_target_path=`jq '.searchParameters.fastaFile.path = \$newVal' --arg newVal "\$new_fasta_file_path" <<< "\$content_par_target_path"`;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
74 ## Secondly, for .proteinInferencePreferences.proteinSequenceDatabase.path
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
75 new_content_par_target_path=`jq '.proteinInferencePreferences.proteinSequenceDatabase.path = \$newVal' --arg newVal "\$new_fasta_file_path" <<< "\$new_content_par_target_path"`;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
76
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
77 ## we generate a new .par file filled with the new fasta path.
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
78 #set $new_par_target_path = "$cwd/SEARCHGUI_IdentificationParameters_new.par";
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
79 echo "\$new_content_par_target_path" >> $new_par_target_path;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
80 echo "-new par target path: ";
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
81 echo $new_par_target_path;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
82
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
83 ## As PeptideShaker waits for "SEARCHGUI_IdentificationParameters.par" name, we overwrite the original file with the "_new" file
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
84 ##mv "\$cwd/SEARCHGUI_IdentificationParameters_new.par" "\$cwd/SEARCHGUI_IdentificationParameters.par"
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
85 rm $par_target_path;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
86 mv $new_par_target_path $par_target_path;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
87
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
88
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
89 ################
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
90 ## Search CLI ##
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
91 ################
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
92 (searchgui -Djava.awt.headless=true eu.isas.searchgui.cmd.SearchCLI
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
93 --exec_dir="\$cwd/${bin_dir}"
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
94 -temp_folder `pwd`
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
95 -spectrum_files \$cwd
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
96 -output_folder \$cwd/output
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
97 -id_params $par_target_path
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
98
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
99 -threads "\${GALAXY_SLOTS:-12}"
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
100
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
101 #if $searchgui_advanced.searchgui_advanced_selector == 'advanced'
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
102 -correct_titles "${searchgui_advanced.correct_titles}"
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
103 $searchgui_advanced.missing_titles
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
104 -mgf_splitting "${searchgui_advanced.mgf_splitting}"
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
105 -mgf_spectrum_count "${searchgui_advanced.mgf_spectrum_count}"
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
106 #end if
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
107
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
108 ## Turn of the protein tree generation as it can produce errors if the search is finished before the tree is created
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
109 ## the tree is generated afterwards in PeptideShaker
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
110 ## -protein_index 0
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
111
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
112 ##-makeblastdb_folder \$BLAST_ROOT_DIR
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
113
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
114 #set $engines_list = str($search_engines_options.engines).split(',')
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
115 #if 'X!Tandem' in $engines_list:
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
116 -xtandem 1
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
117 #else
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
118 -xtandem 0
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
119 #end if
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
120
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
121 #if 'MyriMatch' in $engines_list:
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
122 -myrimatch 1
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
123 #else
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
124 -myrimatch 0
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
125 #end if
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
126
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
127 #if 'MSGF' in $engines_list:
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
128 -msgf 1
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
129 #else
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
130 -msgf 0
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
131 #end if
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
132
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
133 #if 'OMSSA' in $engines_list:
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
134 -omssa 1
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
135 #else
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
136 -omssa 0
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
137 #end if
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
138
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
139 #if 'Comet' in $engines_list:
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
140 -comet 1
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
141 #else
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
142 -comet 0
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
143 #end if
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
144
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
145 #if 'Tide' in $engines_list:
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
146 -tide 1
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
147 #else
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
148 -tide 0
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
149 #end if
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
150
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
151 #if 'MS_Amanda' in $engines_list:
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
152 -ms_amanda 1
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
153 #else
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
154 -ms_amanda 0
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
155 #end if
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
156
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
157 #if 'Andromeda' in $engines_list:
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
158 -andromeda 1
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
159 #else
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
160 -andromeda 0
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
161 #end if
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
162
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
163 #if 'Novor' in $engines_list:
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
164 -novor 1
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
165 #else
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
166 -novor 0
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
167 #end if
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
168
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
169 #if 'DirecTag' in $engines_list:
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
170 -directag 1
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
171 #else
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
172 -directag 0
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
173 #end if
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
174
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
175 ## single zip file
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
176 -output_option 0
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
177
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
178 ## mgf and database in output
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
179 -output_data 1
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
180
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
181 2>> $temp_stderr)
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
182
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
183 &&
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
184
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
185 (mv output/searchgui_out.zip searchgui_out.zip 2>> $temp_stderr)
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
186
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
187 &&
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
188
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
189 (zip -u searchgui_out.zip searchgui.properties 2>> $temp_stderr);
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
190
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
191 exit_code_for_galaxy=\$?;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
192 cat $temp_stderr 2>&1;
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
193 (exit \$exit_code_for_galaxy)
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
194 ]]>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
195 </command>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
196 <inputs>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
197 <param format="par" name="input_par" type="data" label="Identification Parameters file"
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
198 help="Select PAR file from history"/>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
199
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
200 <param name="peak_lists" format="mgf" type="data" multiple="true" label="Input Peak Lists (mgf)"
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
201 help="Select appropriate MGF dataset(s) from history" />
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
202
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
203 <!-- Search Engine Selection -->
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
204 <section name="search_engines_options" expanded="true" title="Search Engine Options">
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
205 <param name="engines" type="select" display="checkboxes" multiple="True" label="DB-Search Engines">
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
206 <help>Comet and Tide shouldn't both be selected since they use a similar algoritm.</help>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
207 <option value="X!Tandem" selected="True">X!Tandem</option>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
208 <option value="MSGF" selected="True">MS-GF+</option>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
209 <option value="OMSSA" selected="True">OMSSA</option>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
210 <option value="Comet">Comet</option>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
211 <option value="Tide">Tide</option>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
212 <option value="MyriMatch">MyriMatch</option>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
213 <option value="MS_Amanda">MS_Amanda</option>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
214 <!-- Windows only
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
215 <option value="Andromeda">Andromeda</option>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
216 -->
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
217 <!-- New with version 3.0
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
218 -->
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
219 <!--working in tests
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
220 -->
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
221 <option value="DirecTag">DirecTag</option>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
222 <option value="Novor">Novor (Select for non-commercial use only)</option>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
223 <validator type="no_options" message="Please select at least one output file" />
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
224 </param>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
225 </section>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
226
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
227 <conditional name="searchgui_advanced">
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
228 <param name="searchgui_advanced_selector" type="select" label="SearchGUI Options">
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
229 <option value="basic" selected="True">Default</option>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
230 <option value="advanced">Advanced</option>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
231 </param>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
232 <when value="basic" />
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
233 <when value="advanced">
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
234 <param name="correct_titles" type="select" label="How should PeptideShaker deal with duplicate spectra?"
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
235 help="Unless you suspect some input files to be genuine duplicates then rename spectra is the safest option">
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
236 <option value="0">no correction</option>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
237 <option value="1" selected="True">rename spectra</option>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
238 <option value="2">delete spectra</option>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
239 </param>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
240
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
241 <param name="missing_titles" type="boolean" checked="false" truevalue="-missing_titles 1" falsevalue="-missing_titles 0"
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
242 label="Add missing spectrum titles" help="(-missing_titles)"/>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
243
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
244 <param name="mgf_splitting" type="integer" value="1000" label="The maximum mgf file size in MB before splitting the mgf"
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
245 help="Choose a smaller value if you are running on a machine with limited memory"/>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
246
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
247 <param name="mgf_spectrum_count" type="integer" value="25000" label="The maximum number of spectra per mgf file when splitting"
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
248 help="Choose a smaller value if you are running on a machine with limited memory"/>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
249 </when>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
250 </conditional>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
251
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
252 </inputs>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
253 <outputs>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
254 <data name="searchgui_results" format="searchgui_archive" from_work_dir="searchgui_out.zip" label="${tool.name} on ${on_string}" />
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
255 </outputs>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
256 <tests>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
257
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
258 <!-- Test that specifying non-default search engines works -->
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
259 <test>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
260 <param name="peak_lists" value="searchgui_tinyspectra1.mgf"/>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
261 <param name="input_par" value="Identification_Parameters_specific.par"/>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
262 <param name="engines" value="X!Tandem,MSGF,MyriMatch,OMSSA,Comet"/>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
263 <output name="output" file="tiny_searchgui_result1.zip" ftype="searchgui_archive" compare="sim_size" delta="30000" />
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
264 </test>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
265 <!-- Test that search works with MSAmanda -->
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
266 <test>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
267 <param name="peak_lists" value="searchgui_smallspectra.mgf"/>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
268 <param name="input_par" value="Identification_Parameters_default.par"/>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
269 <param name="engines" value="MS_Amanda"/>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
270 <output name="output" file="smallsearch_result_amandaonly.zip" ftype="searchgui_archive" compare="sim_size" delta="5000" />
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
271 </test>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
272
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
273 </tests>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
274 <help>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
275 **What it does**
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
276
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
277 Runs multiple search engines on any number of MGF peak lists using the SearchGUI.
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
278
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
279 Default: X! Tandem, OMSSA and MS-GF+ are executed.
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
280
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
281 Optional: MyriMatch, MS-Amanda, Comet and Tide can be executed.
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
282
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
283 </help>
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
284 <expand macro="citations" />
8b99cb00e1c4 planemo upload for repository https://github.com/galaxyproteomics/tools-galaxyp/tree/master/tools/peptideshaker commit 3c83b8f8ca60d6399bc5dd7096b830ca1f1c457e-dirty
jjohnson
parents:
diff changeset
285 </tool>