annotate SAINT_preprocessing_v5.xml @ 5:2b631809150b draft

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