annotate tools/protein_analysis/psortb.xml @ 33:4fcc441269f5 draft

"This is v0.2.12 with black formating and Python 3 next fix etc"
author peterjc
date Thu, 17 Jun 2021 08:33:07 +0000
parents 20da7f48b56f
children 7a2e20baacee
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30
6d9d7cdf00fc v0.2.11 Job splitting fast-fail; RXLR tools supports HMMER2 from BioConda; Capture more version information; misc internal changes
peterjc
parents: 26
diff changeset
1 <tool id="Psortb" name="psortb" version="0.0.9">
26
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
2 <description>Determines sub-cellular localisation of bacterial/archaeal protein sequences</description>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
3 <!-- If job splitting is enabled, break up the query file into parts -->
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
4 <!-- Using 2000 chunks meaning 4 threads doing 500 each is ideal -->
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
5 <parallelism method="basic" split_inputs="fasta_file" split_mode="to_size" split_size="2000" merge_outputs="tabular_file"></parallelism>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
6 <requirements>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
7 <requirement type="package">psort</requirement>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
8 </requirements>
30
6d9d7cdf00fc v0.2.11 Job splitting fast-fail; RXLR tools supports HMMER2 from BioConda; Capture more version information; misc internal changes
peterjc
parents: 26
diff changeset
9 <version_command>
6d9d7cdf00fc v0.2.11 Job splitting fast-fail; RXLR tools supports HMMER2 from BioConda; Capture more version information; misc internal changes
peterjc
parents: 26
diff changeset
10 python $__tool_directory__/psortb.py --version
6d9d7cdf00fc v0.2.11 Job splitting fast-fail; RXLR tools supports HMMER2 from BioConda; Capture more version information; misc internal changes
peterjc
parents: 26
diff changeset
11 </version_command>
6d9d7cdf00fc v0.2.11 Job splitting fast-fail; RXLR tools supports HMMER2 from BioConda; Capture more version information; misc internal changes
peterjc
parents: 26
diff changeset
12 <command detect_errors="aggressive">
6d9d7cdf00fc v0.2.11 Job splitting fast-fail; RXLR tools supports HMMER2 from BioConda; Capture more version information; misc internal changes
peterjc
parents: 26
diff changeset
13 python $__tool_directory__/psortb.py "\$GALAXY_SLOTS" '$type' '$long' '$cutoff' '$divergent' '$sequence' '$outfile'
26
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
14 </command>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
15 <inputs>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
16 <param format="fasta" name="sequence" type="data"
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
17 label="Input sequences for which to predict localisation (protein FASTA format)" />
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
18 <param name="type" type="select"
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
19 label="Organism type (N.B. all sequences in the above file must be of the same type)" >
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
20 <option value="-p">Gram positive bacteria</option>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
21 <option value="-n">Gram negative bacteria</option>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
22 <option value="-a">Archaea</option>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
23 </param>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
24 <param name="long" type="select" label="Output type">
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
25 <option value="terse">Short (terse, tabular with 3 columns)</option>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
26 <!-- The normal output is text, not tabular - worth offering?
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
27 <option value="normal">Normal</option>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
28 -->
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
29 <option value="long">Long (verbose, tabular with about 30 columns, depending on organism type)</option>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
30 </param>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
31 <param name="cutoff" size="10" type="float" optional="true" value=""
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
32 label="Sets a cutoff value for reported results (e.g. 7.5)"
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
33 help="Leave blank or use zero for no cutoff." />
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
34 <param name="divergent" size="10" type="float" optional="true" value=""
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
35 label="Sets a cutoff value for the multiple localization flag (e.g. 4.5)"
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
36 help="Leave blank or use zero for no cutoff." />
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
37 </inputs>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
38 <outputs>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
39 <data format="tabular" name="outfile" />
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
40 </outputs>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
41 <tests>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
42 <test>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
43 <param name="sequence" value="empty.fasta" ftype="fasta"/>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
44 <param name="long" value="terse"/>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
45 <output name="outfile" file="empty_psortb_terse.tabular" ftype="tabular"/>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
46 </test>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
47 <test>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
48 <param name="sequence" value="k12_ten_proteins.fasta" ftype="fasta"/>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
49 <param name="long" value="terse"/>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
50 <output name="outfile" file="k12_ten_proteins_psortb_p_terse.tabular" ftype="tabular"/>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
51 </test>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
52 </tests>
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
53 <help>
8
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
54
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
55 **What it does**
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
56
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
57 This calls the command line tool PSORTb v3.0 for prediction of prokaryotic
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
58 localization sites. The input dataset needs to be protein FASTA sequences.
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
59 The default output is a simple tabular file with three columns, one row
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
60 per query sequence:
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
61
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
62 ====== ==============================
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
63 Column Description
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
64 ------ ------------------------------
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
65 1 Sequence identifier
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
66 2 Localisation, e.g. Cytoplasmic
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
67 3 Score
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
68 ====== ==============================
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
69
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
70 The long output is also tabular with one row per query sequence, but has
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
71 lots more columns (a different set for each supported organism type). In
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
72 both cases, a simple header line is included (starting with a hash, #,
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
73 so that Galaxy treats it as a comment) giving the column names.
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
74
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
75
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
76 **References**
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
77
20
a538e182fab3 Uploaded v0.2.5 preview 4, adding Cock et al. 2003 citation information.
peterjc
parents: 19
diff changeset
78 If you use this Galaxy tool in work leading to a scientific publication please
a538e182fab3 Uploaded v0.2.5 preview 4, adding Cock et al. 2003 citation information.
peterjc
parents: 19
diff changeset
79 cite the following papers:
a538e182fab3 Uploaded v0.2.5 preview 4, adding Cock et al. 2003 citation information.
peterjc
parents: 19
diff changeset
80
22
90e3d02f8013 Uploaded v0.2.5 preview 6, can use accents in <help> RST
peterjc
parents: 20
diff changeset
81 Peter J.A. Cock, Björn A. Grüning, Konrad Paszkiewicz and Leighton Pritchard (2013).
20
a538e182fab3 Uploaded v0.2.5 preview 4, adding Cock et al. 2003 citation information.
peterjc
parents: 19
diff changeset
82 Galaxy tools and workflows for sequence analysis with applications
a538e182fab3 Uploaded v0.2.5 preview 4, adding Cock et al. 2003 citation information.
peterjc
parents: 19
diff changeset
83 in molecular plant pathology. PeerJ 1:e167
32
20da7f48b56f "Check this is up to date with all 2020 changes"
peterjc
parents: 30
diff changeset
84 https://doi.org/10.7717/peerj.167
20
a538e182fab3 Uploaded v0.2.5 preview 4, adding Cock et al. 2003 citation information.
peterjc
parents: 19
diff changeset
85
8
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
86 N.Y. Yu, J.R. Wagner, M.R. Laird, G. Melli, S. Rey, R. Lo, P. Dao,
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
87 S.C. Sahinalp, M. Ester, L.J. Foster, F.S.L. Brinkman (2010)
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
88 PSORTb 3.0: Improved protein subcellular localization prediction with
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
89 refined localization subcategories and predictive capabilities for all
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
90 prokaryotes, Bioinformatics 26(13):1608-1615
32
20da7f48b56f "Check this is up to date with all 2020 changes"
peterjc
parents: 30
diff changeset
91 https://doi.org/10.1093/bioinformatics/btq249
8
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
92
20
a538e182fab3 Uploaded v0.2.5 preview 4, adding Cock et al. 2003 citation information.
peterjc
parents: 19
diff changeset
93 See also http://www.psort.org/documentation/index.html
8
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
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
26
20139cb4c844 planemo upload for repository https://github.com/peterjc/pico_galaxy/tools/protein_analysis commit 221d4187992cbb993e02dc3ea0ef0150c7916a4a-dirty
peterjc
parents: 25
diff changeset
97 </help>
25
41a42022f815 Uploaded v0.2.6, embedded citations
peterjc
parents: 22
diff changeset
98 <citations>
41a42022f815 Uploaded v0.2.6, embedded citations
peterjc
parents: 22
diff changeset
99 <citation type="doi">10.7717/peerj.167</citation>
41a42022f815 Uploaded v0.2.6, embedded citations
peterjc
parents: 22
diff changeset
100 <citation type="doi">10.1093/bioinformatics/btq249</citation>
41a42022f815 Uploaded v0.2.6, embedded citations
peterjc
parents: 22
diff changeset
101 </citations>
8
391a142c1e60 Uploaded
peterjc
parents:
diff changeset
102 </tool>