annotate cmpress.xml @ 8:c9e29ac5d099 draft default tip

"planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit a812ed8de433ac4e8b42afd636e70cfbb180d2b9"
author bgruening
date Thu, 23 Sep 2021 19:38:58 +0000
parents 6e18e0b098cd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
c9e29ac5d099 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit a812ed8de433ac4e8b42afd636e70cfbb180d2b9"
bgruening
parents: 5
diff changeset
1 <tool id="infernal_cmpress" name="cmpress" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@">
5
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
2 <description> Prepare a covariance model database for cmscan</description>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
3 <macros>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
4 <import>macros.xml</import>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
5 </macros>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
6 <expand macro="requirements" />
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
7 <expand macro="stdio" />
8
c9e29ac5d099 "planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit a812ed8de433ac4e8b42afd636e70cfbb180d2b9"
bgruening
parents: 5
diff changeset
8 <expand macro="xrefs"/>
5
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
9 <command>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
10 <![CDATA[
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
11 ## CM file from the history or stored as database on disc
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
12 #if str($cm_opts.cm_opts_selector) == "db":
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
13 cmfile_path='$cm_opts.database.fields.path'
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
14 #else:
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
15 ##'$cm_opts.cmfile'
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
16 cmfile_path='$cmfile'
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
17 #end if
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
18 &&
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
19 cmpress -F "\$cmfile_path" &&
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
20 ##cmpress creates four files in the same directory of the cm file
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
21 cd `dirname "\$cmfile_path"` &&
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
22 tar -cvf '$outfile' `basename "\$cmfile_path"`.i1*
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
23 ]]>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
24 </command>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
25 <inputs>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
26 <conditional name="cm_opts">
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
27 <param name="cm_opts_selector" type="select" label="Subject covariance models &lt;cmdb&gt; ">
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
28 <option value="db" >Locally installed covariance models</option>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
29 <option value="histdb" selected="True">Covariance model from your history</option>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
30 </param>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
31 <when value="db">
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
32 <param name="database" type="select" label="Covariance models">
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
33 <options from_file="infernal.loc">
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
34 <column name="value" index="0"/>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
35 <column name="name" index="1"/>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
36 <column name="path" index="2"/>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
37 </options>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
38 </param>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
39 </when>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
40 <when value="histdb">
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
41 <param name="cmfile" type="data" format="cm" label="Covariance models file from the history."/>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
42 </when>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
43 </conditional>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
44
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
45 </inputs>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
46 <outputs>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
47 <data format="tar" name="outfile" label="cmpress on ${on_string}"/>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
48 </outputs>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
49
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
50 <tests>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
51 <test>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
52 <conditional name="cm_opts">
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
53 <param name="cm_opts_selector" value="histdb"/>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
54 <param name="cmfile" value="cmpress_input_minifam.cm"/>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
55 </conditional>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
56 <assert_stdout>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
57 <has_text text="Working... done."/>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
58 </assert_stdout>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
59
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
60 </test>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
61
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
62 </tests>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
63 <help>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
64 <![CDATA[
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
65
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
66
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
67 **What it does**
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
68
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
69 Starting from a CM database <cmfile> in standard Infernal-1.1 format, construct binary compressed datafiles for cm-
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
70 scan. The cmpress step is required for cmscan to work.
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
71
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
72 **Input format**
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
73
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
74 The <cmfile> must be have already been calibrated with cmcalibrate for cmpress to work.
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
75
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
76 **Output format**
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
77
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
78
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
79
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
80 For further questions please refere to the Infernal `Userguide <http://eddylab.org/infernal/Userguide.pdf>`_.
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
81
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
82
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
83 ]]>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
84 </help>
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
85
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
86 <expand macro="citations" />
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
87
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
88
6e18e0b098cd planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
diff changeset
89 </tool>