Mercurial > repos > peterjc > tmhmm_and_signalp
annotate tools/protein_analysis/psortb.xml @ 19:4cd848c5590b draft
Uploaded v0.2.5 preview 3, use $NSLOTS in the PSORT wrappers.
author | peterjc |
---|---|
date | Thu, 23 May 2013 12:49:18 -0400 |
parents | af3174637834 |
children | a538e182fab3 |
rev | line source |
---|---|
19
4cd848c5590b
Uploaded v0.2.5 preview 3, use $NSLOTS in the PSORT wrappers.
peterjc
parents:
17
diff
changeset
|
1 <tool id="Psortb" name="psortb" version="0.0.3"> |
8 | 2 <description>Determines sub-cellular localisation of bacterial/archaeal protein sequences</description> |
3 <!-- If job splitting is enabled, break up the query file into parts --> | |
4 <!-- Using 2000 chunks meaning 4 threads doing 500 each is ideal --> | |
5 <parallelism method="basic" split_inputs="fasta_file" split_mode="to_size" split_size="2000" merge_outputs="tabular_file"></parallelism> | |
6 <version_command interpreter="python">psortb.py --version</version_command> | |
19
4cd848c5590b
Uploaded v0.2.5 preview 3, use $NSLOTS in the PSORT wrappers.
peterjc
parents:
17
diff
changeset
|
7 <command interpreter="python"> |
4cd848c5590b
Uploaded v0.2.5 preview 3, use $NSLOTS in the PSORT wrappers.
peterjc
parents:
17
diff
changeset
|
8 psortb.py "\$NSLOTS" "$type" "$long" "$cutoff" "$divergent" "$sequence" "$outfile" |
4cd848c5590b
Uploaded v0.2.5 preview 3, use $NSLOTS in the PSORT wrappers.
peterjc
parents:
17
diff
changeset
|
9 ##I want the number of threads to be a Galaxy config option... |
4cd848c5590b
Uploaded v0.2.5 preview 3, use $NSLOTS in the PSORT wrappers.
peterjc
parents:
17
diff
changeset
|
10 ##Set the number of threads in the runner entry in universe_wsgi.ini |
4cd848c5590b
Uploaded v0.2.5 preview 3, use $NSLOTS in the PSORT wrappers.
peterjc
parents:
17
diff
changeset
|
11 ##which (on SGE at least) will set the $NSLOTS environment variable. |
4cd848c5590b
Uploaded v0.2.5 preview 3, use $NSLOTS in the PSORT wrappers.
peterjc
parents:
17
diff
changeset
|
12 ##If the environment variable isn't set, get "", and python wrapper |
4cd848c5590b
Uploaded v0.2.5 preview 3, use $NSLOTS in the PSORT wrappers.
peterjc
parents:
17
diff
changeset
|
13 ##defaults to four threads. |
4cd848c5590b
Uploaded v0.2.5 preview 3, use $NSLOTS in the PSORT wrappers.
peterjc
parents:
17
diff
changeset
|
14 </command> |
8 | 15 <stdio> |
16 <!-- Anything other than zero is an error --> | |
17 <exit_code range="1:" /> | |
18 <exit_code range=":-1" /> | |
19 </stdio> | |
20 <inputs> | |
21 <param format="fasta" name="sequence" type="data" | |
22 label="Input sequences for which to predict localisation (protein FASTA format)" /> | |
23 <param name="type" type="select" | |
24 label="Organism type (N.B. all sequences in the above file must be of the same type)" > | |
25 <option value="-p">Gram positive bacteria</option> | |
26 <option value="-n">Gram negative bacteria</option> | |
27 <option value="-a">Archaea</option> | |
28 </param> | |
29 <param name="long" type="select" label="Output type"> | |
30 <option value="terse">Short (terse, tabular with 3 columns)</option> | |
31 <!-- The normal output is text, not tabular - worth offering? | |
32 <option value="normal">Normal</option> | |
33 --> | |
34 <option value="long">Long (verbose, tabular with about 30 columns, depending on organism type)</option> | |
35 </param> | |
36 <param name="cutoff" size="10" type="float" optional="true" value="" | |
37 label="Sets a cutoff value for reported results (e.g. 7.5)" | |
38 help="Leave blank or use zero for no cutoff." /> | |
39 <param name="divergent" size="10" type="float" optional="true" value="" | |
40 label="Sets a cutoff value for the multiple localization flag (e.g. 4.5)" | |
41 help="Leave blank or use zero for no cutoff." /> | |
42 </inputs> | |
43 <outputs> | |
44 <data format="tabular" name="outfile" /> | |
45 </outputs> | |
46 <requirements> | |
47 <requirement type="binary">psort</requirement> | |
48 </requirements> | |
49 <tests> | |
50 <test> | |
11 | 51 <param name="sequence" value="empty.fasta" ftype="fasta"/> |
52 <param name="long" value="terse"/> | |
53 <output name="outfile" file="empty_psortb_terse.tabular" ftype="tabular"/> | |
54 </test> | |
55 <test> | |
8 | 56 <param name="sequence" value="k12_ten_proteins.fasta" ftype="fasta"/> |
57 <param name="long" value="terse"/> | |
58 <output name="outfile" file="k12_ten_proteins_psortb_p_terse.tabular" ftype="tabular"/> | |
59 </test> | |
60 </tests> | |
61 <help> | |
62 | |
63 **What it does** | |
64 | |
65 This calls the command line tool PSORTb v3.0 for prediction of prokaryotic | |
66 localization sites. The input dataset needs to be protein FASTA sequences. | |
67 The default output is a simple tabular file with three columns, one row | |
68 per query sequence: | |
69 | |
70 ====== ============================== | |
71 Column Description | |
72 ------ ------------------------------ | |
73 1 Sequence identifier | |
74 2 Localisation, e.g. Cytoplasmic | |
75 3 Score | |
76 ====== ============================== | |
77 | |
78 The long output is also tabular with one row per query sequence, but has | |
79 lots more columns (a different set for each supported organism type). In | |
80 both cases, a simple header line is included (starting with a hash, #, | |
81 so that Galaxy treats it as a comment) giving the column names. | |
82 | |
83 | |
84 **References** | |
85 | |
86 N.Y. Yu, J.R. Wagner, M.R. Laird, G. Melli, S. Rey, R. Lo, P. Dao, | |
87 S.C. Sahinalp, M. Ester, L.J. Foster, F.S.L. Brinkman (2010) | |
88 PSORTb 3.0: Improved protein subcellular localization prediction with | |
89 refined localization subcategories and predictive capabilities for all | |
90 prokaryotes, Bioinformatics 26(13):1608-1615 | |
91 http://dx.doi.org/10.1093/bioinformatics/btq249 | |
92 | |
93 http://www.psort.org/documentation/index.html | |
94 | |
17
af3174637834
Uploaded v0.2.5 preview 1, adding links to Tool Shed entry
peterjc
parents:
11
diff
changeset
|
95 This wrapper is available to install into other Galaxy Instances via the Galaxy |
af3174637834
Uploaded v0.2.5 preview 1, adding links to Tool Shed entry
peterjc
parents:
11
diff
changeset
|
96 Tool Shed at http://toolshed.g2.bx.psu.edu/view/peterjc/tmhmm_and_signalp |
8 | 97 </help> |
98 </tool> |