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