comparison cmstat.xml @ 13:ffa96097e5b2 draft

Uploaded
author bgruening
date Fri, 13 Feb 2015 03:12:04 -0500
parents c17ed5a530d2
children 2f8a8962ae22
comparison
equal deleted inserted replaced
12:c17ed5a530d2 13:ffa96097e5b2
1 <tool id="infernal_cmstat" name="Summary statistics" version="1.1.0.1"> 1 <tool id="infernal_cmstat" name="Summary statistics" version="1.1.0.1">
2 <description>for covariance model (cmstat)</description> 2 <description>for covariance model (cmstat)</description>
3 <requirements> 3 <requirements>
4 <requirement type="package">infernal</requirement> 4 <requirement type="package">infernal</requirement>
5 <requirement type="package" version="1.1">infernal</requirement> 5 <requirement type="package" version="1.1">infernal</requirement>
6 <requirement type="package" version="8.21">gnu_coreutils</requirement> 6 <requirement type="package" version="8.22">gnu_coreutils</requirement>
7 </requirements> 7 </requirements>
8 <command> 8 <command>
9 <![CDATA[
9 ## a temp file is needed, because the standard tabular output from infernal is not usefull in Galaxy 10 ## a temp file is needed, because the standard tabular output from infernal is not usefull in Galaxy
10 ## it will be converted to a tab delimited file and piped to Galaxy 11 ## it will be converted to a tab delimited file and piped to Galaxy
11 temp_tabular_output=\$(mktemp); 12 temp_tabular_output=\$(mktemp);
12 13
13 cmstat 14 cmstat
23 24
24 ## 1. replace all lines starting # (comment lines) 25 ## 1. replace all lines starting # (comment lines)
25 ## 2. replace the first 18 spaces with tabs, 18th field is a free text field (can contain spaces) 26 ## 2. replace the first 18 spaces with tabs, 18th field is a free text field (can contain spaces)
26 sed -e 's/#.*$//' -e '/^$/d' -e 's/ /\t/g' -e 's/\t/ /18g' \$temp_tabular_output > $outfile 27 sed -e 's/#.*$//' -e '/^$/d' -e 's/ /\t/g' -e 's/\t/ /18g' \$temp_tabular_output > $outfile
27 28
29 ]]>
28 </command> 30 </command>
29 <inputs> 31 <inputs>
30 <conditional name="cm_opts"> 32 <conditional name="cm_opts">
31 <param name="cm_opts_selector" type="select" label="Subject covariance models"> 33 <param name="cm_opts_selector" type="select" label="Subject covariance models">
32 <option value="db" selected="True">Locally installed covariance models</option> 34 <option value="db" selected="True">Locally installed covariance models</option>
48 </inputs> 50 </inputs>
49 <outputs> 51 <outputs>
50 <data format="tabular" name="outfile" label="cmstat on ${on_string}"/> 52 <data format="tabular" name="outfile" label="cmstat on ${on_string}"/>
51 </outputs> 53 </outputs>
52 <help> 54 <help>
55 <![CDATA[
53 56
54 57
55 **What it does** 58 **What it does**
56 59
57 The cmstat utility prints out a tabular file of summary statistics for each given covariance model. 60 The cmstat utility prints out a tabular file of summary statistics for each given covariance model.
59 62
60 Output format 63 Output format
61 ------------- 64 -------------
62 65
63 By default, cmstat prints general statistics of the model and the alignment it was built from, one line per model in a 66 By default, cmstat prints general statistics of the model and the alignment it was built from, one line per model in a
64 tabular format. 67 tabular format.
65 68
66 The columns are: 69 The columns are:
67 70
68 (1) The index of this profile, numbering each on in the file starting from 1. 71 (1) The index of this profile, numbering each on in the file starting from 1.
69 (2) The name of the profile. 72 (2) The name of the profile.
89 92
90 93
91 How do I cite Infernal? 94 How do I cite Infernal?
92 ----------------------- 95 -----------------------
93 96
94 The Infernal 1.0 paper (Nawrocki et al., 2009) is the best paper to reference. 97 The recommended citation for using Infernal 1.1 is E. P. Nawrocki and S. R. Eddy, Infernal 1.1: 100-fold faster RNA homology searches , Bioinformatics 29:2933-2935 (2013).
95 If you’re writing for an enlightened (url-friendly) journal, you may want to cite the webpage
96 http://infernal.janelia.org/ because it is kept up-to-date. We hope to publish a paper related to
97 Infernal version 1.1 soon.
98 98
99 **Galaxy Wrapper Author**:: 99 **Galaxy Wrapper Author**::
100 100
101 * Bjoern Gruening, University of Freiburg 101 * Bjoern Gruening, University of Freiburg
102 102
103 ]]>
103 </help> 104 </help>
104 </tool> 105 </tool>