Mercurial > repos > devteam > samtools_sort
annotate samtools_sort.xml @ 6:191cec7b989b draft
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
| author | devteam |
|---|---|
| date | Tue, 13 Oct 2015 12:56:00 -0400 |
| parents | 346239545aa0 |
| children | 71d5c34fef4e |
| 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 | 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> | |
|
6
191cec7b989b
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
5
diff
changeset
|
14 <option value="-n">Read names (-n)</option> |
| 3 | 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> | |
|
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 | 30 </tests> |
| 31 <help> | |
| 32 | |
| 33 **What it does** | |
| 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 | 36 |
| 37 | |
| 38 </help> | |
|
6
191cec7b989b
planemo upload commit 33927a87ba2eee9bf0ecdd376a66241b17b3d734
devteam
parents:
5
diff
changeset
|
39 <expand macro="citations"></expand> |
| 3 | 40 </tool> |
