annotate SAINT_preprocessing_v5.xml @ 17:40c88c39f8d7 draft

Uploaded
author bornea
date Tue, 17 Nov 2015 12:14:10 -0500
parents f6a27a99e874
children 3894870fb1e0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
15
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
1 <tool id="SAINT_preprocessing_v5" name="SAINT pre-processing">
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
2 <description></description>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
3 <command interpreter="python">
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
4 #if (str($type) == 'Scaffold'):
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
5 SAINT_preprocessing_v6.py $input $preybool $fasta_db $Inter_file $Prey_file
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
6 "
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
7 #for $ba in $bait
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
8 ${ba.bait1}
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
9 ${ba.assign}
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
10 ${ba.T_C}
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
11 #end for
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
12 "
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
13 $Bait_file \$INSTALL_RUN_PATH/
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
14 #elif (str($type) == 'MaxQuant'):
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
15 SAINT_preprocessing_v6_mq_pep.py $input $preybool $fasta_db $Inter_file $Prey_file
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
16 "
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
17 #for $ba in $bait
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
18 ${ba.bait1}
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
19 ${ba.assign}
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
20 ${ba.T_C}
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
21 #end for
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
22 "
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
23 $Bait_file \$INSTALL_RUN_PATH/
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
24 #end if
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
25 </command>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
26 <requirements>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
27 <requirement type="set_environment">INSTALL_RUN_PATH</requirement>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
28 </requirements>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
29 <inputs>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
30 <param type="select" name="type" label="MaxQuant or Scaffold">
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
31 <option value="MaxQuant">MaxQuant</option>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
32 <option value="Scaffold">Scaffold</option>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
33 </param>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
34 <param format="dat" name="input" type="data" label="Scaffold or MaxQuant proteinGroup Output"/>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
35 <param type="boolean" name="preybool" checked="true" label="Create Prey File"/>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
36 <param type="data" name="fasta_db" format="fasta" label="Provide Uniprot Fasta database" optional="true"/>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
37 <repeat name="bait" title="Bait Create">
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
38 <param name="bait1" type="text" size="100"/>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
39 <param name="assign" type="text" size="100"/>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
40 <param name="T_C" type="boolean" checked="true" label="Is this a Control?"/>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
41 </repeat>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
42 </inputs>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
43 <outputs>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
44 <data format="txt" name="Inter_file" label="Inter File"/>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
45 <data format="txt" name="Prey_file" label="Prey File" />
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
46 <data format="txt" name="Bait_file" label="Bait File" />
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
47 </outputs>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
48 <stdio>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
49 <regex match="error"
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
50 source="stdout"
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
51 level="fatal"
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
52 description="Unknown error"/>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
53 <regex match="Error: bad bait"
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
54 source="stdout"
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
55 level="fatal"
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
56 description="Error: bad bait"/>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
57 </stdio>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
58
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
59 <tests>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
60 <test>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
61 <param name="input" value="fa_gc_content_input.fa"/>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
62 <output name="out_file1" file="fa_gc_content_output.txt"/>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
63 </test>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
64 </tests>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
65 <help>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
66 Pre-processing:
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
67 APOSTL is able to recognize either a Scaffold "Samples Report" file (tab-delimited
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
68 txt file) or the "peptides.txt" file output in the maxquant "txt" output folder. No
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
69 modifications should be made to these files. Using the "Bait Create" tool, you can
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
70 create your "bait.txt" file. It is important that the individual bait names match the
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
71 bait names within your scaffold or maxquant output. APOSTL uses the bait file to find
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
72 the user's baits of interest. Additionally there is an option to make the prey file (Y/N).
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
73 When making a prey file, APOSTL queries uniprot in order to extract protein amino acid
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
74 lengths and gene names. This takes several minutes depending on your internet connection.
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
75 Some users may want to run SAINTexpress using the same data set while changing which baits
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
76 are considered test or control. It is useful to toggle "Make Prey" off in order to save
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
77 time by circumventing this step as the same prey file can be used for both SAINTexpress
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
78 runs.
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
79
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
80 INPUTS:
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
81
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
82 Scaffold file:
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
83
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
84 - Scaffold "Samples Report" output (tab-delimited txt file)
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
85
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
86
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
87 Maxquant file:
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
88
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
89 - maxquant "peptides.txt" file (tab-delimited txt file)
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
90 </help>
f6a27a99e874 Uploaded
bornea
parents:
diff changeset
91 </tool>