annotate samtools_split.xml @ 4:229681b8c662 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
author iuc
date Sun, 28 Jul 2019 14:50:28 -0400
parents ac469d103b51
children 3570a794565c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
ac469d103b51 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
1 <tool id="samtools_split" name="Split" version="@TOOL_VERSION@">
1
76449db9ee44 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
2 <description>BAM dataset on readgroups</description>
76449db9ee44 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
3 <macros>
76449db9ee44 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
4 <import>macros.xml</import>
76449db9ee44 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
5 </macros>
3
ac469d103b51 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
6 <expand macro="requirements"/>
ac469d103b51 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
7 <expand macro="stdio"/>
ac469d103b51 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
8 <expand macro="version_command"/>
0
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
9 <command><![CDATA[
4
229681b8c662 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 3
diff changeset
10 @ADDTHREADS@
229681b8c662 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 3
diff changeset
11 samtools split -f 'Read_Group_%!.bam'
229681b8c662 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 3
diff changeset
12 #if $header:
229681b8c662 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 3
diff changeset
13 -u '${output}:${header}'
229681b8c662 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 3
diff changeset
14 #else:
229681b8c662 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 3
diff changeset
15 -u '${output}'
229681b8c662 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 3
diff changeset
16 #end if
229681b8c662 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 3
diff changeset
17 -@ \$addthreads
229681b8c662 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 3
diff changeset
18 '$input_bam'
3
ac469d103b51 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
19 ]]></command>
0
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
20 <inputs>
1
76449db9ee44 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
21 <param name="input_bam" type="data" format="bam" label="BAM file" />
3
ac469d103b51 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
22 <param name="header" type="data" format="bam,sam" optional="True" label="Replace header in output file" />
0
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
23 </inputs>
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
24 <outputs>
3
ac469d103b51 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
25 <data name="output" format="bam" label="${tool.name} on ${on_string}">
4
229681b8c662 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 3
diff changeset
26 <discover_datasets pattern="Read_Group_(?P&lt;designation&gt;.+)\.bam" ext="bam" visible="true" directory="" assign_primary_output="false"/>
0
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
27 </data>
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
28 </outputs>
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
29 <tests>
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
30 <test>
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
31 <param name="input_bam" value="phiX.bam" ftype="bam" />
4
229681b8c662 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit a972815cbd43dea553b3c0e4ad548f35d0023228-dirty
iuc
parents: 3
diff changeset
32 <output name="output">
0
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
33 <discovered_dataset designation="Mouse" ftype="bam" file="phiX_Mouse.bam" />
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
34 <discovered_dataset designation="Elephant" ftype="bam" file="phiX_Elephant.bam" />
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
35 <discovered_dataset designation="Human" ftype="bam" file="phiX_Human.bam" />
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
36 </output>
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
37 </test>
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
38 </tests>
3
ac469d103b51 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
39 <help><![CDATA[
0
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
40 **What it does**
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
41
1
76449db9ee44 planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 0
diff changeset
42 Splits BAM files on readgroups.
0
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
43
3
ac469d103b51 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
44 This tool is based on ``samtools split`` command. It will generate multiple output datasets for each redagroup from the input dataset.
ac469d103b51 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
45 ]]></help>
ac469d103b51 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 1
diff changeset
46 <expand macro="citations"/>
0
5c2a97bb018b Uploaded initial tool definition.
devteam
parents:
diff changeset
47 </tool>