Mercurial > repos > bgruening > infernal
annotate cmstat.xml @ 4:c47a7c52ac4f draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 236abfe2af8034017994daea08079887e64b68c8
author | bgruening |
---|---|
date | Mon, 19 Dec 2016 15:27:06 -0500 |
parents | 2c2c5e5e495b |
children | 6e18e0b098cd |
rev | line source |
---|---|
0 | 1 <tool id="infernal_cmstat" name="Summary statistics" version="1.1.0.1"> |
2 <description>for covariance model (cmstat)</description> | |
3 <requirements> | |
4 <requirement type="package">infernal</requirement> | |
5 <requirement type="package" version="1.1">infernal</requirement> | |
2 | 6 <requirement type="package" version="8.22">gnu_coreutils</requirement> |
0 | 7 </requirements> |
8 <command> | |
2 | 9 <![CDATA[ |
0 | 10 ## a temp file is needed, because the standard tabular output from infernal is not usefull in Galaxy |
11 ## it will be converted to a tab delimited file and piped to Galaxy | |
12 temp_tabular_output=\$(mktemp); | |
13 | |
14 cmstat | |
15 | |
16 #if str($cm_opts.cm_opts_selector) == "db": | |
17 $cm_opts.database.fields.path | |
18 #else: | |
19 $cm_opts.cmfile | |
20 #end if | |
21 | |
22 > \$temp_tabular_output | |
23 ; | |
24 | |
25 ## 1. replace all lines starting # (comment lines) | |
26 ## 2. replace the first 18 spaces with tabs, 18th field is a free text field (can contain spaces) | |
27 sed -e 's/#.*$//' -e '/^$/d' -e 's/ /\t/g' -e 's/\t/ /18g' \$temp_tabular_output > $outfile | |
28 | |
2 | 29 ]]> |
0 | 30 </command> |
31 <inputs> | |
32 <conditional name="cm_opts"> | |
33 <param name="cm_opts_selector" type="select" label="Subject covariance models"> | |
34 <option value="db" selected="True">Locally installed covariance models</option> | |
35 <option value="histdb">Covariance model from your history</option> | |
36 </param> | |
37 <when value="db"> | |
38 <param name="database" type="select" label="Covariance models"> | |
39 <options from_file="infernal.loc"> | |
40 <column name="value" index="0"/> | |
41 <column name="name" index="1"/> | |
42 <column name="path" index="2"/> | |
43 </options> | |
44 </param> | |
45 </when> | |
46 <when value="histdb"> | |
47 <param name="cmfile" type="data" format="cm" label="Covariance models file from the history."/> | |
48 </when> | |
49 </conditional> | |
50 </inputs> | |
51 <outputs> | |
52 <data format="tabular" name="outfile" label="cmstat on ${on_string}"/> | |
53 </outputs> | |
54 <help> | |
2 | 55 <![CDATA[ |
0 | 56 |
57 | |
58 **What it does** | |
59 | |
60 The cmstat utility prints out a tabular file of summary statistics for each given covariance model. | |
61 | |
62 | |
3
2c2c5e5e495b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
2
diff
changeset
|
63 **Output format** |
2c2c5e5e495b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
2
diff
changeset
|
64 |
0 | 65 |
66 By default, cmstat prints general statistics of the model and the alignment it was built from, one line per model in a | |
2 | 67 tabular format. |
0 | 68 |
69 The columns are: | |
70 | |
71 (1) The index of this profile, numbering each on in the file starting from 1. | |
72 (2) The name of the profile. | |
73 (3) The optional accession of the profile, or ”-” if there is none. | |
74 (4) The number of sequences that the profile was estimated from. | |
75 (5) The effective number of sequences that the profile was estimated from, after Infernal applied an effective sequence number calculation such as the default entropy weighting. | |
76 (6) The length of the model in consensus residues (match states). | |
77 (7) The expected maximum length of a hit to the model. | |
78 (8) The number of basepairs in the model. | |
79 (9) The number of bifurcations in the model. | |
80 (10) What type of model will be used by default in cmsearch and cmscan for this profile, either ”cm” or ”hmm”. For profiles with 0 basepairs, this will be ”hmm” (unless the --nohmmonly option is used). For all other profiles, this will be ”cm”. | |
81 (11) Mean relative entropy per match state, in bits. This is the expected (mean) score per con- | |
82 sensus position. This is what the default entropy-weighting method for effective sequence | |
83 number estimation focuses on, so for default Infernal, this value will often reflect the default | |
84 target for entropy-weighting. If the ”model” field for this profile is ”hmm”, this field will be ”-”. | |
85 (12) Mean relative entropy per match state, in bits, if the CM were transformed into an HMM (information from structure is ignored). The larger the difference between the CM and HMM | |
86 relative entropy, the more the model will rely on structural conservation relative sequence conservation when identifying homologs. | |
87 | |
88 | |
3
2c2c5e5e495b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
2
diff
changeset
|
89 For further questions please refere to the Infernal `Userguide <http://selab.janelia.org/software/infernal/Userguide.pdf>`_. |
0 | 90 |
2 | 91 ]]> |
0 | 92 </help> |
3
2c2c5e5e495b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
2
diff
changeset
|
93 <citations> |
2c2c5e5e495b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
2
diff
changeset
|
94 <citation type="doi">10.1093/bioinformatics/btt509</citation> |
2c2c5e5e495b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
2
diff
changeset
|
95 <citation type="bibtex"> |
2c2c5e5e495b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
2
diff
changeset
|
96 @ARTICLE{bgruening_galaxytools, |
2c2c5e5e495b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
2
diff
changeset
|
97 Author = {Björn Grüning, Cameron Smith, Torsten Houwaart, Nicola Soranzo, Eric Rasche}, |
2c2c5e5e495b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
2
diff
changeset
|
98 keywords = {bioinformatics, ngs, galaxy, cheminformatics, rna}, |
2c2c5e5e495b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
2
diff
changeset
|
99 title = {{Galaxy Tools - A collection of bioinformatics and cheminformatics tools for the Galaxy environment}}, |
2c2c5e5e495b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
2
diff
changeset
|
100 url = {https://github.com/bgruening/galaxytools} |
2c2c5e5e495b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
2
diff
changeset
|
101 } |
2c2c5e5e495b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
2
diff
changeset
|
102 </citation> |
2c2c5e5e495b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
2
diff
changeset
|
103 </citations> |
2c2c5e5e495b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
2
diff
changeset
|
104 |
2c2c5e5e495b
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
2
diff
changeset
|
105 |
0 | 106 </tool> |