annotate samtools_sort.xml @ 1:cab3f8d35989 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
author iuc
date Tue, 09 May 2017 11:18:12 -0400
parents a430da4f04cd
children f56bdb93ae58
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
1 <tool id="samtools_sort" name="Sort" version="2.0.1">
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
2 <description>order of storing aligned sequences</description>
0
a430da4f04cd Uploaded
devteam
parents:
diff changeset
3 <macros>
1
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
4 <import>macros.xml</import>
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
5 </macros>
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
6 <expand macro="requirements"/>
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
7 <expand macro="stdio"/>
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
8 <expand macro="version_command"/>
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
9 <command><![CDATA[
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
10 samtools sort
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
11 $sort_mode
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
12 -@ \${GALAXY_SLOTS:-1}
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
13 -o '${output1}'
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
14 -O bam
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
15 -T dataset
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
16 '${input1}'
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
17 ]]></command>
0
a430da4f04cd Uploaded
devteam
parents:
diff changeset
18 <inputs>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
19 <param name="input1" type="data" format="bam" label="BAM File" />
a430da4f04cd Uploaded
devteam
parents:
diff changeset
20 <param name="sort_mode" type="select" label="Sort by ">
a430da4f04cd Uploaded
devteam
parents:
diff changeset
21 <option value="" selected="True">Chromosomal coordinates</option>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
22 <option value="-n">Read names (-n)</option>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
23 </param>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
24 </inputs>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
25 <outputs>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
26 <data name="output1" format="bam" />
a430da4f04cd Uploaded
devteam
parents:
diff changeset
27 </outputs>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
28 <tests>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
29 <test>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
30 <param name="input1" value="1.bam" ftype="bam" />
a430da4f04cd Uploaded
devteam
parents:
diff changeset
31 <output name="output1" file="1_sort.bam" ftype="bam" sort="True"/>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
32 </test>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
33 <test>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
34 <param name="input1" value="1.bam" ftype="bam" />
a430da4f04cd Uploaded
devteam
parents:
diff changeset
35 <param name="sort_mode" value="-n"/>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
36 <output name="output1" file="1_sort_read_names.bam" ftype="bam" sort="True"/>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
37 </test>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
38 </tests>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
39 <help>
a430da4f04cd Uploaded
devteam
parents:
diff changeset
40 **What it does**
a430da4f04cd Uploaded
devteam
parents:
diff changeset
41
a430da4f04cd Uploaded
devteam
parents:
diff changeset
42 This tool uses ``samtools sort`` command to sort BAM datasets in coordinate or read name order.
a430da4f04cd Uploaded
devteam
parents:
diff changeset
43 </help>
1
cab3f8d35989 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/samtools_sort commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents: 0
diff changeset
44 <expand macro="citations"/>
0
a430da4f04cd Uploaded
devteam
parents:
diff changeset
45 </tool>