Mercurial > repos > devteam > sam_to_bam
annotate sam_to_bam.xml @ 11:1e69848b596f draft
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
author | iuc |
---|---|
date | Tue, 28 Sep 2021 16:11:24 +0000 |
parents | cf1ffd88f895 |
children | 9bd1568619cd |
rev | line source |
---|---|
11
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
1 <tool id="sam_to_bam" name="SAM-to-BAM" version="2.1.2" profile="@PROFILE@"> |
8
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
2 <description>convert SAM to BAM</description> |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
3 |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
4 <macros> |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
5 <import>macros.xml</import> |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
6 </macros> |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
7 <expand macro="requirements"/> |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
8 <expand macro="stdio"/> |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
9 <expand macro="version_command"/> |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
10 |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
11 <command><![CDATA[ |
11
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
12 @ADDTHREADS@ |
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
13 @ADDMEMORY@ |
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
14 @PREPARE_FASTA_IDX@ |
8
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
15 |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
16 samtools view |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
17 -b |
11
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
18 -@ \$addthreads |
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
19 -t '$reffai' |
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
20 '$input' | |
8
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
21 |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
22 samtools sort |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
23 -O bam |
11
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
24 -@ \$addthreads -m \$addmemory"M" |
8
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
25 -o '$output1' |
10
cf1ffd88f895
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 851f81495c875ac09d936537ffd2b32e6af2c8c5"
iuc
parents:
8
diff
changeset
|
26 -T "\${TMPDIR:-.}" |
8
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
27 ]]></command> |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
28 |
6 | 29 <inputs> |
11
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
30 <param name="input" type="data" format="sam" label="SAM file to convert"/> |
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
31 <expand macro="mandatory_reference" argument="-t"/> |
6 | 32 </inputs> |
33 <outputs> | |
8
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
34 <data name="output1" format="bam" label="${tool.name} on ${on_string}: converted BAM"> |
6 | 35 <actions> |
11
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
36 <conditional name="addref_cond.addref_select"> |
6 | 37 <when value="cached"> |
38 <action name="dbkey" type="metadata"> | |
11
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
39 <option name="input" param_attribute="dbkey" type="from_param" /> |
6 | 40 </action> |
41 </when> | |
42 <when value="history"> | |
43 <action name="dbkey" type="metadata"> | |
11
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
44 <option name="addref_cond.ref" param_attribute="dbkey" type="from_param" /> |
6 | 45 </action> |
46 </when> | |
47 </conditional> | |
48 </actions> | |
49 </data> | |
50 </outputs> | |
51 <tests> | |
52 <test> | |
11
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
53 <param name="addref_select" value="history" /> |
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
54 <param name="ref" ftype="fasta" dbkey="equCab2" value="chr_m.fasta" /> |
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
55 <param name="input" ftype="sam" value="sam_to_bam_in1.sam" /> |
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
56 <output name="output1" ftype="bam" file="sam_to_bam_out1.bam" lines_diff="4"/> |
8
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
57 </test> |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
58 <test> |
11
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
59 <param name="addref_select" value="cached" /> |
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
60 <param name="ref" value="equCab2chrM" /> |
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
61 <param name="input" ftype="sam" dbkey="equCab2" value="sam_to_bam_in1.sam" /> |
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
62 <output name="output1" ftype="bam" file="sam_to_bam_out2.bam" lines_diff="4"/> |
6 | 63 </test> |
7
881e16ad05c6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/samtools/sam_to_bam commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
6
diff
changeset
|
64 <test> |
11
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
65 <param name="addref_select" value="history" /> |
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
66 <param name="ref" ftype="fasta" dbkey="equCab2" value="chr_m.fasta" /> |
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
67 <param name="input" ftype="sam" value="sam_to_bam_noheader_in2.sam" /> |
1e69848b596f
"planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 0f75269223c0821c6c82acf98fde947d0f816f2b"
iuc
parents:
10
diff
changeset
|
68 <output name="output1" ftype="bam" file="sam_to_bam_out3.bam" lines_diff="4"/> |
7
881e16ad05c6
planemo upload for repository https://github.com/galaxyproject/tools-devteam/tree/master/tool_collections/samtools/sam_to_bam commit a1517c9d22029095120643bbe2c8fa53754dd2b7
devteam
parents:
6
diff
changeset
|
69 </test> |
6 | 70 </tests> |
8
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
71 <help><![CDATA[ |
0 | 72 **What it does** |
73 | |
8
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
74 Converts SAM dataset into its binary, BAM, representation using the ``samtools view`` and ``sort`` commands. |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
75 ]]></help> |
f7a0d41036c7
planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tool_collections/samtools/sam_to_bam commit 411130b45dc30f7f24f41cdeec5e148c5d8faf40
iuc
parents:
7
diff
changeset
|
76 <expand macro="citations"/> |
0 | 77 </tool> |