Mercurial > repos > devteam > samtools_split
annotate samtools_split.xml @ 3:ac469d103b51 draft
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_split commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
| author | iuc |
|---|---|
| date | Tue, 09 May 2017 11:16:29 -0400 |
| parents | 76449db9ee44 |
| children | 229681b8c662 |
| 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 | 9 <command><![CDATA[ |
| 10 samtools split -f 'Read_Group_%!.bam' | |
| 11 #if $header: | |
|
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
|
12 -u '${output}:${header}' |
| 0 | 13 #else: |
|
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
|
14 -u '${output}' |
| 0 | 15 #end if |
| 16 "${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
|
17 ]]></command> |
| 0 | 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" /> |
|
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
|
20 <param name="header" type="data" format="bam,sam" optional="True" label="Replace header in output file" /> |
| 0 | 21 </inputs> |
| 22 <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
|
23 <data name="output" format="bam" label="${tool.name} on ${on_string}"> |
| 0 | 24 <discover_datasets pattern="Read_Group_(?P<designation>.+)\.bam" ext="bam" visible="true" directory="" /> |
| 25 </data> | |
| 26 </outputs> | |
| 27 <tests> | |
| 28 <test> | |
| 29 <param name="input_bam" value="phiX.bam" ftype="bam" /> | |
| 30 <output name="output" file="samtools_split_out.bam"> | |
| 31 <discovered_dataset designation="Mouse" ftype="bam" file="phiX_Mouse.bam" /> | |
| 32 <discovered_dataset designation="Elephant" ftype="bam" file="phiX_Elephant.bam" /> | |
| 33 <discovered_dataset designation="Human" ftype="bam" file="phiX_Human.bam" /> | |
| 34 </output> | |
| 35 </test> | |
| 36 </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
|
37 <help><![CDATA[ |
| 0 | 38 **What it does** |
| 39 | |
|
1
76449db9ee44
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
0
diff
changeset
|
40 Splits BAM files on readgroups. |
| 0 | 41 |
|
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
|
42 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
|
43 ]]></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
|
44 <expand macro="citations"/> |
| 0 | 45 </tool> |
