8
|
1 <tool id="samtools_sort" name="Sort" version="0.1">
|
1
|
2 <description>BAM dataset</description>
|
5
|
3 <requirements>
|
|
4 <requirement type="package" version="0.1">docker_samtools</requirement>
|
9
|
5 <container type="docker">viv1/samtools:1.2</container>
|
5
|
6 </requirements>
|
1
|
7 <command>samtools sort $sort_mode -@ \${GALAXY_SLOTS:-1} -o "${output1}" -O bam -T dataset "${input1}"</command>
|
|
8 <inputs>
|
|
9 <param name="input1" type="data" format="bam" label="BAM File" />
|
|
10 <param name="sort_mode" type="select" label="Sort by ">
|
|
11 <option value="" selected="True">Chromosomal coordinates</option>
|
|
12 <option value="-n">Read names (-n)</option>
|
|
13 </param>
|
|
14 </inputs>
|
|
15 <outputs>
|
|
16 <data name="output1" format="bam" />
|
|
17 </outputs>
|
|
18 <help>
|
|
19
|
|
20 **What it does**
|
|
21
|
|
22 This tool uses ``samtools sort`` command to sort BAM datasets in coordinate or read name order.
|
|
23 </help>
|
|
24 </tool>
|