5
|
1 <tool id="SAINT_preprocessing_v5" name="SAINT pre-processing">
|
|
2 <description></description>
|
|
3 <command interpreter="python">
|
|
4 #if (str($type) == 'Scaffold'):
|
|
5 SAINT_preprocessing.py $input $preybool $fasta_db $Inter_file $Prey_file
|
|
6 "
|
|
7 #for $ba in $bait
|
|
8 ${ba.bait1}
|
|
9 ${ba.assign}
|
|
10 ${ba.T_C}
|
|
11 #end for
|
|
12 "
|
|
13 $Bait_file \$INSTALL_RUN_PATH/ $bait_bool $bait_file_in
|
|
14 #elif (str($type) == 'MaxQuant'):
|
|
15 SAINT_preprocessing_mq_pep.py $input $preybool $fasta_db $Inter_file $Prey_file
|
|
16 "
|
|
17 #for $ba in $bait
|
|
18 ${ba.bait1}
|
|
19 ${ba.assign}
|
|
20 ${ba.T_C}
|
|
21 #end for
|
|
22 "
|
|
23 $Bait_file \$INSTALL_RUN_PATH/ $bait_bool $bait_file_in
|
|
24 #end if
|
|
25 </command>
|
|
26 <requirements>
|
|
27 <requirement type="set_environment">INSTALL_RUN_PATH</requirement>
|
|
28 <requirement type="package" version="3.2.1">package_r_3_2_1</requirement>
|
|
29 </requirements>
|
|
30 <inputs>
|
|
31 <param type="select" name="type" label="MaxQuant or Scaffold">
|
|
32 <option value="MaxQuant">MaxQuant</option>
|
|
33 <option value="Scaffold">Scaffold</option>
|
|
34 </param>
|
52
|
35 <param format="dat" name="input" type="data" label="Scaffold or MaxQuant peptides Output"/>
|
5
|
36 <param type="boolean" name="preybool" checked="true" label="Create Prey File"/>
|
|
37 <param type="data" name="fasta_db" format="fasta" label="Provide Uniprot Fasta database" optional="true"/>
|
|
38 <param name="bait_bool" type="boolean" checked="true" label="Are You Providing Your Own bait file?"/>
|
|
39 <param type="data" format="dat" name="bait_file_in" label="Bait File" optional="true"/>
|
|
40 <repeat name="bait" title="Bait Create">
|
|
41 <param name="bait1" type="text" size="100" label="Bait"/>
|
|
42 <param name="assign" type="text" size="100" label="Group Assignment"/>
|
|
43 <param name="T_C" type="boolean" checked="true" label="Is this a Control?"/>
|
|
44 </repeat>
|
|
45
|
|
46 </inputs>
|
|
47 <outputs>
|
|
48 <data format="txt" name="Inter_file" label="Inter File"/>
|
|
49 <data format="txt" name="Prey_file" label="Prey File" />
|
|
50 <data format="txt" name="Bait_file" label="Bait File" />
|
|
51 </outputs>
|
|
52 <stdio>
|
52
|
53 <regex match="Error: bad bait"
|
|
54 source="stdout"
|
|
55 level="fatal"
|
|
56 description="Error: bad bait"/>
|
|
57 <regex match="IOError: [Errno 2] No such file or directory: './tukeys_output.txt'"
|
|
58 source="stderr"
|
|
59 level="fatal"
|
|
60 description="Error: Scaffold/MaxQuant mismatch. Check job settings."/>
|
|
61 <regex match="bait_temp_file = open(sys.argv[10], 'r')"
|
|
62 source="stderr"
|
|
63 level="fatal"
|
|
64 description="Error: Bait create settings mismatch. Check job settings."/>
|
5
|
65 <regex match="Error|error"
|
|
66 source="stdout"
|
|
67 level="fatal"
|
|
68 description="Unknown error"/>
|
|
69 <regex match="Error|error"
|
|
70 source="stderr"
|
|
71 level="fatal"
|
|
72 description="Unknown error"/>
|
|
73 </stdio>
|
|
74
|
|
75 <tests>
|
|
76 <test>
|
|
77 <param name="input" value="fa_gc_content_input.fa"/>
|
|
78 <output name="out_file1" file="fa_gc_content_output.txt"/>
|
|
79 </test>
|
|
80 </tests>
|
|
81 <help>
|
21
|
82 Pre-Processing
|
25
|
83 ^^^^^^^^^^^^^^
|
20
|
84
|
21
|
85 This tool will read in a Scaffold *Samples Report* file (tab-delimited
|
|
86 txt file) or a MaxQuant *peptides.txt* file and process them to generate
|
|
87 a *Bait File, Prey File,* and *Inter File* for SAINTexpress analysis.
|
20
|
88
|
25
|
89 --------------
|
|
90
|
27
|
91 **1) MaxQuant or Scaffold**
|
20
|
92
|
21
|
93 APOSTL is able to recognize either a Scaffold *Samples Report* file
|
|
94 (tab-delimited txt file) or the *peptides.txt* file output in the
|
|
95 MaxQuant *txt* output folder. No modifications should be made to these
|
|
96 files. Please designate which one is being provided.
|
20
|
97
|
27
|
98 **2) Scaffold or MaxQuant File Input**
|
20
|
99
|
21
|
100 Select the corresponding *Samples Report* or *peptides.txt* here.
|
|
101
|
27
|
102 **3) Create Prey File**
|
5
|
103
|
20
|
104 Select whether or not you would like APOSTL to generate a prey file.
|
|
105
|
21
|
106 When making a prey file, APOSTL queries a user provided FASTA database
|
|
107 (see below) in order to extract protein amino acid lengths and gene
|
|
108 names. This may take several minutes depending on your computer and if
|
|
109 your Galaxy distribution is cluster enabled. Some users may want to run
|
|
110 SAINTexpress using the same data set while changing which baits are
|
|
111 considered test or control. It is useful to toggle **Create Prey File**
|
|
112 off in order to save time by circumventing this step as the same prey
|
|
113 file can be used for both SAINTexpress runs.
|
20
|
114
|
27
|
115 **4) Provide Uniprot FASTA database**
|
20
|
116
|
21
|
117 Please specify a FASTA file containing the protein sequence. You can
|
|
118 download the latest release of Uniprot's reviewed sequences (Swiss-Prot)
|
24
|
119 http://www.uniprot.org/downloads. For computing efficiency,
|
21
|
120 please limit your FASTA file to your species of interest. It is
|
|
121 generally advised to use the same FASTA database that was used for your
|
|
122 database searches during peptide and protein ID.
|
5
|
123
|
27
|
124 **5) Are You Providing Your Own Bait File?**
|
20
|
125
|
21
|
126 Users have two options for providing a *Bait* file. If you would like to
|
|
127 create your own *Bait* file, select Yes and designate the file below. If
|
|
128 you would like to use the **Bait Create** tool to create a *Bait* file
|
|
129 within Galaxy, please select No and proceed to the **Bait Create** tool.
|
20
|
130
|
27
|
131 **6) Bait File**
|
21
|
132
|
|
133 If you selected Yes above, please specify the *Bait* file you would like
|
|
134 to provide. If you selected No above, ignore this argument and proceed
|
|
135 to the **Bait Create** tool.
|
5
|
136
|
21
|
137 **Note:** Individual bait names must match to the sample names
|
|
138 within your Scaffold or MaxQuant output exactly and must contain no
|
|
139 whitespace characters (e.g. spaces) or dashes.
|
5
|
140
|
27
|
141 **7) Bait Create**
|
21
|
142
|
|
143 Using the **Bait Create** tool, you can create your *bait.txt* file.
|
20
|
144
|
21
|
145 **Note:** Individual bait names must match to the sample names
|
|
146 within your Scaffold or MaxQuant output exactly and must contain no
|
|
147 whitespace characters (e.g. spaces) or dashes.
|
5
|
148
|
21
|
149 APOSTL uses this bait file to find the user's baits of interest within a
|
|
150 *Samples Report* or *peptides.txt* file and when preparing the
|
|
151 *inter.txt* file.
|
20
|
152
|
21
|
153 --------------
|
20
|
154
|
21
|
155 Once your parameters have been finalized, please press the Execute
|
|
156 button to start processing. This may take a few minutes. Once your
|
|
157 process has been completed, you will see your *Bait File, Prey File,*
|
|
158 and *Inter File* on the right hand side of your panel highlighted in
|
|
159 green.
|
5
|
160 </help>
|
|
161 </tool>
|