Mercurial > repos > scisjnu123 > test
comparison samtools/samtools_sort/samtools_sort.xml @ 38:4ea7e783c5ac draft default tip
Uploaded
| author | scisjnu123 |
|---|---|
| date | Fri, 04 Oct 2019 08:29:40 -0400 |
| parents | 81a543035990 |
| children | 1e25fd3231e7 |
comparison
equal
deleted
inserted
replaced
| 37:aba80e38756a | 38:4ea7e783c5ac |
|---|---|
| 1 <tool id="samtools_sort" name="Sort" version="2.0"> | |
| 2 <description>BAM dataset</description> | |
| 3 <macros> | |
| 4 <import>macros.xml</import> | |
| 5 </macros> | |
| 6 <expand macro="requirements"></expand> | |
| 7 <expand macro="stdio"></expand> | |
| 8 <expand macro="version_command"></expand> | |
| 9 <command>samtools sort $sort_mode -@ \${GALAXY_SLOTS:-1} -o "${output1}" -O bam -T dataset "${input1}"</command> | |
| 10 <inputs> | |
| 11 <param name="input1" type="data" format="bam" label="BAM File" /> | |
| 12 <param name="sort_mode" type="select" label="Sort by "> | |
| 13 <option value="" selected="True">Chromosomal coordinates</option> | |
| 14 <option value="-n">Read names (-n)</option> | |
| 15 </param> | |
| 16 </inputs> | |
| 17 <outputs> | |
| 18 <data name="output1" format="bam" /> | |
| 19 </outputs> | |
| 20 <tests> | |
| 21 <test> | |
| 22 <param name="input1" value="1.bam" ftype="bam" /> | |
| 23 <output name="output1" file="1_sort.bam" ftype="bam" sort="True"/> | |
| 24 </test> | |
| 25 <test> | |
| 26 <param name="input1" value="1.bam" ftype="bam" /> | |
| 27 <param name="sort_mode" value="-n"/> | |
| 28 <output name="output1" file="1_sort_read_names.bam" ftype="bam" sort="True"/> | |
| 29 </test> | |
| 30 </tests> | |
| 31 <help> | |
| 32 | |
| 33 **What it does** | |
| 34 | |
| 35 This tool uses ``samtools sort`` command to sort BAM datasets in coordinate or read name order. | |
| 36 | |
| 37 | |
| 38 </help> | |
| 39 <expand macro="citations"></expand> | |
| 40 </tool> |
