annotate samtools_index/samtools_index.xml @ 0:5bdc8418c378 draft

Uploaded
author jackcurragh
date Wed, 23 Mar 2022 12:51:35 +0000
parents
children d90d874e1d9e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
1 <tool id="samtools_index" name="Samtools index" version="2.0.4" profile="@PROFILE@">
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
2 <description>order of storing aligned sequences</description>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
3 <macros>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
4 <import>macros.xml</import>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
5 </macros>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
6 <expand macro="requirements"/>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
7 <expand macro="stdio"/>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
8 <expand macro="version_command"/>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
9 <command><![CDATA[
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
10 @ADDTHREADS@
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
11 @ADDMEMORY@
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
12 samtools index
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
13 -@ \$addthreads
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
14 -m \$addmemory"M"
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
15 $prim_key_cond.prim_key_select
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
16 '${input1}'
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
17 '${output1}'
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
18 ]]></command>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
19 <inputs>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
20 <param name="input1" type="data" format="sam,unsorted.bam,cram" label="BAM File" />
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
21 <conditional name="prim_key_cond">
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
22 <param name="prim_key_select" type="select" label="Index type">
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
23 <option value="-b" selected="True">BAI (-b)</option>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
24 <option value="-c" selected="True">CSI (-c)</option>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
25 </param>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
26 <when value="-b"/>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
27 <when value="-c"/>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
28 </conditional>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
29 </inputs>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
30 <outputs>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
31 <data name="output1" format="bam">
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
32 <change_format>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
33 <when input="prim_key_cond.prim_key_select" value="-b" format="bai" />
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
34 <when input="prim_key_cond.prim_key_select" value="-c" format="csi" />
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
35 </change_format>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
36 </data>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
37 </outputs>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
38 <tests>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
39 <test>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
40 <param name="input1" value="1.bam" ftype="bam" />
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
41 <param name="prim_key_cond.prim_key_select" value="-c" />
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
42 <output name="output1" file="1.bam.bai" ftype="bai" lines_diff="4" />
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
43 </test>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
44 </tests>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
45 <help>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
46 **What it does**
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
47
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
48 Indexes a BAM file
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
49 </help>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
50 <expand macro="citations"/>
5bdc8418c378 Uploaded
jackcurragh
parents:
diff changeset
51 </tool>