annotate do-partition.xml @ 3:e4e4e69e12ae draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 6eaf4336ff90294e503dedf930ccbe31f8b4efe9
author iuc
date Thu, 03 Dec 2015 18:40:53 -0500
parents 69180013f797
children c72a41a26c7d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
1 <tool id="khmer_partition" name="Sequence partition all-in-one" version="@WRAPPER_VERSION@.0">
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
2 <description>Load, partition, and annotate FAST[AQ] sequences</description>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
3 <macros>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
4 <token name="@BINARY@">do-partition.py</token>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
5 <import>macros.xml</import>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
6 </macros>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
7 <expand macro="requirements" />
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
8 <expand macro="stdio" />
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
9 <expand macro="version" />
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
10 <command><![CDATA[
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
11 set -xu &&
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
12 #for $num, $input in enumerate($inputs)
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
13 ln -s ${input} sequence-${num} &&
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
14 #end for
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
15 mkdir -p output && cd output &&
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
16 @BINARY@
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
17 @TABLEPARAMS@
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
18 @THREADS@
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
19 output
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
20 ../sequence-*
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
21 ]]>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
22 </command>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
23 <inputs>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
24 <expand macro="input_sequences_filenames" />
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
25 <expand macro="tableinputs" />
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
26 </inputs>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
27 <outputs>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
28 <data name="information" format="txt" from_work_dir="output.info" label="${tool.name} summary." />
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
29 <collection name="annotated_sequence_files" type="list">
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
30 <discover_datasets pattern="__name__" directory="output" />
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
31 </collection>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
32 </outputs>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
33 <tests>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
34 <test>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
35 <param name="inputs" value="random-20-a.fa"/>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
36 <output_collection name="annotated_sequence_files" type="list">
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
37 <element name="sequence-0.part" file="random-20-a.fa.part" />
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
38 </output_collection>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
39 </test>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
40 </tests>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
41 <help><![CDATA[
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
42 Load in a set of sequences, partition them, merge the partitions, and
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
43 annotate the original sequences files with the partition information.
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
44
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
45 This script combines the functionality of `load-graph.py`,
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
46 `partition-graph.py`, `merge-partitions.py`, and
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
47 `annotate-partitions.py` into one script. This is convenient
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
48 but should probably not be used for large data sets, because
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
49 `do-partition.py` doesn't provide save/resume functionality.
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
50 ]]>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
51 </help>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
52 <citations>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
53 <expand macro="software-citation" />
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
54 <expand macro="graph-citation" />
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
55 </citations>
69180013f797 planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/khmer/ commit 72078bced0c08685219c6e80e42ce07458822391
iuc
parents:
diff changeset
56 </tool>