Mercurial > repos > bgruening > infernal
annotate cmstat.xml @ 16:0ac29b4bb1cb draft
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
| author | bgruening |
|---|---|
| date | Sat, 21 Jan 2017 17:34:00 -0500 |
| parents | 2f8a8962ae22 |
| children | 94cc7ef25867 |
| rev | line source |
|---|---|
|
16
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
1 <tool id="infernal_cmstat" name="cmstat" version="@VERSION@.0"> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
2 <description>Summary statistics for covariance model </description> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
3 <macros> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
4 <import>macros.xml</import> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
5 </macros> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
6 <expand macro="requirements"/> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
7 <expand macro="stdio" /> |
| 9 | 8 <command> |
| 13 | 9 <![CDATA[ |
| 9 | 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 | |
|
16
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
12 ##temp_tabular_output=\$(mktemp); |
| 9 | 13 |
| 14 cmstat | |
| 11 | 15 #if str($cm_opts.cm_opts_selector) == "db": |
| 9 | 16 $cm_opts.database.fields.path |
| 17 #else: | |
| 18 $cm_opts.cmfile | |
| 19 #end if | |
| 20 | |
|
16
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
21 > $outfile |
| 9 | 22 |
| 23 | |
| 13 | 24 ]]> |
| 9 | 25 </command> |
| 26 <inputs> | |
| 27 <conditional name="cm_opts"> | |
| 28 <param name="cm_opts_selector" type="select" label="Subject covariance models"> | |
| 29 <option value="db" selected="True">Locally installed covariance models</option> | |
| 30 <option value="histdb">Covariance model from your history</option> | |
| 31 </param> | |
| 32 <when value="db"> | |
| 33 <param name="database" type="select" label="Covariance models"> | |
| 34 <options from_file="infernal.loc"> | |
| 35 <column name="value" index="0"/> | |
| 36 <column name="name" index="1"/> | |
| 37 <column name="path" index="2"/> | |
| 38 </options> | |
| 39 </param> | |
| 40 </when> | |
| 41 <when value="histdb"> | |
| 42 <param name="cmfile" type="data" format="cm" label="Covariance models file from the history."/> | |
| 43 </when> | |
| 44 </conditional> | |
| 45 </inputs> | |
| 46 <outputs> | |
| 11 | 47 <data format="tabular" name="outfile" label="cmstat on ${on_string}"/> |
| 9 | 48 </outputs> |
|
16
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
49 <tests> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
50 <test> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
51 <conditional name="cm_opts"> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
52 <param name="cm_opts_selector" value="histdb"/> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
53 <param name="cmfile" value="cmstat_input.cm"/> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
54 </conditional> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
55 <output name="outfile" > |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
56 <assert_contents> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
57 <has_text text="idx"/> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
58 <has_text text="accession"/> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
59 <has_text text="nseq"/> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
60 </assert_contents> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
61 </output> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
62 </test> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
63 </tests> |
| 9 | 64 <help> |
| 13 | 65 <![CDATA[ |
| 9 | 66 |
| 67 | |
| 68 **What it does** | |
| 69 | |
| 70 The cmstat utility prints out a tabular file of summary statistics for each given covariance model. | |
| 71 | |
| 72 | |
|
14
2f8a8962ae22
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
13
diff
changeset
|
73 **Output format** |
|
2f8a8962ae22
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 9eeedfaf35c069d75014c5fb2e42046106bf813c-dirty
bgruening
parents:
13
diff
changeset
|
74 |
| 9 | 75 |
| 76 By default, cmstat prints general statistics of the model and the alignment it was built from, one line per model in a | |
| 13 | 77 tabular format. |
| 9 | 78 |
| 79 The columns are: | |
| 80 | |
| 81 (1) The index of this profile, numbering each on in the file starting from 1. | |
| 82 (2) The name of the profile. | |
| 83 (3) The optional accession of the profile, or ”-” if there is none. | |
| 84 (4) The number of sequences that the profile was estimated from. | |
| 85 (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. | |
| 86 (6) The length of the model in consensus residues (match states). | |
| 87 (7) The expected maximum length of a hit to the model. | |
| 88 (8) The number of basepairs in the model. | |
| 89 (9) The number of bifurcations in the model. | |
| 90 (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”. | |
| 91 (11) Mean relative entropy per match state, in bits. This is the expected (mean) score per con- | |
| 92 sensus position. This is what the default entropy-weighting method for effective sequence | |
| 93 number estimation focuses on, so for default Infernal, this value will often reflect the default | |
| 94 target for entropy-weighting. If the ”model” field for this profile is ”hmm”, this field will be ”-”. | |
| 95 (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 | |
| 96 relative entropy, the more the model will rely on structural conservation relative sequence conservation when identifying homologs. | |
| 97 | |
| 98 | |
|
16
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
99 For further questions please refere to the Infernal `Userguide <http://eddylab.org/infernal/Userguide.pdf>`_. |
| 9 | 100 |
| 13 | 101 ]]> |
| 9 | 102 </help> |
|
16
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
103 <expand macro="citations" /> |
|
0ac29b4bb1cb
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 80c721dcfe02a2b8baf8e2c64b76cbcd71b23d86
bgruening
parents:
14
diff
changeset
|
104 |
| 9 | 105 </tool> |
