annotate SAINT_preprocessing_v5.xml @ 24:3894870fb1e0 draft

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