annotate samtools_sort.xml @ 7:4ab677d8c0de draft

planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/samtools/samtools_sort commit de7140295cce07e1bc1697e51dab4271c8d7a8a6
author devteam
date Fri, 18 Dec 2015 19:46:37 -0500
parents 191cec7b989b
children 71d5c34fef4e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
1 <tool id="samtools_sort" name="Sort" version="2.0">
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
2 <description>BAM dataset</description>
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
3 <macros>
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
4 <import>macros.xml</import>
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
5 </macros>
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
6 <expand macro="requirements"></expand>
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
7 <expand macro="stdio"></expand>
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
8 <expand macro="version_command"></expand>
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
9 <command>samtools sort $sort_mode -@ \${GALAXY_SLOTS:-1} -o "${output1}" -O bam -T dataset "${input1}"</command>
3
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
10 <inputs>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
11 <param name="input1" type="data" format="bam" label="BAM File" />
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
12 <param name="sort_mode" type="select" label="Sort by ">
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
13 <option value="" selected="True">Chromosomal coordinates</option>
6
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
14 <option value="-n">Read names (-n)</option>
3
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
15 </param>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
16 </inputs>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
17 <outputs>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
18 <data name="output1" format="bam" />
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
19 </outputs>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
20 <tests>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
21 <test>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
22 <param name="input1" value="1.bam" ftype="bam" />
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
23 <output name="output1" file="1_sort.bam" ftype="bam" sort="True"/>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
24 </test>
6
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
25 <test>
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
26 <param name="input1" value="1.bam" ftype="bam" />
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
27 <param name="sort_mode" value="-n"/>
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
28 <output name="output1" file="1_sort_read_names.bam" ftype="bam" sort="True"/>
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
29 </test>
3
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
30 </tests>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
31 <help>
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
32
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
33 **What it does**
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
34
6
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
35 This tool uses ``samtools sort`` command to sort BAM datasets in coordinate or read name order.
3
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
36
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
37
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
38 </help>
6
191cec7b989b planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents: 5
diff changeset
39 <expand macro="citations"></expand>
3
5e12c7427fa3 new initial commit
martenson <cech.marten@gmail.com>
parents:
diff changeset
40 </tool>