annotate samtools_split.xml @ 2:51390195d350 draft

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