comparison SAINT_preprocessing.xml @ 5:3953103b56f9 draft

Uploaded
author bornea
date Tue, 15 Mar 2016 15:59:32 -0400
parents
children 0ac97a6298c2
comparison
equal deleted inserted replaced
4:019e60bd3f7f 5:3953103b56f9
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>
35 <param format="dat" name="input" type="data" label="Scaffold or MaxQuant proteinGroup Output"/>
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>
53 <regex match="Error|error"
54 source="stdout"
55 level="fatal"
56 description="Unknown error"/>
57 <regex match="Error|error"
58 source="stderr"
59 level="fatal"
60 description="Unknown error"/>
61 <regex match="Error: bad bait"
62 source="stdout"
63 level="fatal"
64 description="Error: bad bait"/>
65 </stdio>
66
67 <tests>
68 <test>
69 <param name="input" value="fa_gc_content_input.fa"/>
70 <output name="out_file1" file="fa_gc_content_output.txt"/>
71 </test>
72 </tests>
73 <help>
74
75 Pre-processing:
76
77 APOSTL is able to recognize either a Scaffold "Samples Report" file (tab-delimited txt file) or the "peptides.txt" file output in the MaxQuant "txt" output folder. No modifications should be made to these files. Using the "Bait Create" tool, you can create your "bait.txt" file. It is important that the individual bait names match the bait names within your scaffold or MaxQuant output. APOSTL uses the bait file to findthe user's baits of interest. Additionally there is an option to make the prey file (Y/N). When making a prey file, APOSTL queries Uniprot ( http://www.uniprot.org ) in order to extract protein amino acidlengths and gene names. This takes several minutes depending on your internet connection. Some users may want to run SAINTexpress using the same data set while changing which baits are considered test or control It is useful to toggle "Make Prey" off in order to save time by circumventing this step as the same prey file can be used for both SAINTexpress runs.
78
79 INPUTS:
80
81 Scaffold file:
82
83 - Scaffold "Samples Report" output (tab-delimited txt file)
84
85
86 MaxQuant file:
87
88 - MaxQuant "peptides.txt" file (tab-delimited txt file)
89 </help>
90 </tool>