annotate samtools_sort.xml @ 1:4b4f4c252e34 draft

Uploaded
author jbrayet
date Wed, 18 Nov 2015 05:30:51 -0500
parents
children e95f34f52fc8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
1 <tool id="samtools_sort" name="Sort" version="2.0">
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
2 <description>BAM dataset</description>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
3 <macros>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
4 <import>macros.xml</import>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
5 </macros>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
6 <expand macro="requirements"></expand>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
7 <expand macro="stdio"></expand>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
8 <expand macro="version_command"></expand>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
9 <command>samtools sort $sort_mode -@ \${GALAXY_SLOTS:-1} -o "${output1}" -O bam -T dataset "${input1}"</command>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
10 <inputs>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
11 <param name="input1" type="data" format="bam" label="BAM File" />
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
12 <param name="sort_mode" type="select" label="Sort by ">
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
13 <option value="" selected="True">Chromosomal coordinates</option>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
14 <option value="-n">Read names (-n)</option>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
15 </param>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
16 </inputs>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
17 <outputs>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
18 <data name="output1" format="bam" />
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
19 </outputs>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
20
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
21 <help>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
22
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
23 **What it does**
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
24
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
25 This tool uses ``samtools sort`` command to sort BAM datasets in coordinate or read name order.
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
26
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
27
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
28 </help>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
29 <expand macro="citations"></expand>
4b4f4c252e34 Uploaded
jbrayet
parents:
diff changeset
30 </tool>