Mercurial > repos > bgruening > infernal
view cmstat.xml @ 9:1d74ed49cf41 draft default tip
planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/infernal commit 09c1d4ab75f5cd057ed57bf694217f0e355f785e
author | bgruening |
---|---|
date | Mon, 11 Nov 2024 10:27:19 +0000 |
parents | c9e29ac5d099 |
children |
line wrap: on
line source
<tool id="infernal_cmstat" name="cmstat" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@"> <description>Summary statistics for covariance model </description> <macros> <import>macros.xml</import> </macros> <expand macro="xrefs"/> <expand macro="requirements"/> <expand macro="stdio" /> <command> <![CDATA[ ## a temp file is needed, because the standard tabular output from infernal is not usefull in Galaxy ## it will be converted to a tab delimited file and piped to Galaxy ##temp_tabular_output=\$(mktemp); cmstat #if str($cm_opts.cm_opts_selector) == "db": $cm_opts.database.fields.path #else: $cm_opts.cmfile #end if > $outfile ]]> </command> <inputs> <expand macro="DB" /> </inputs> <outputs> <data format="tabular" name="outfile" label="cmstat on ${on_string}"/> </outputs> <tests> <test> <conditional name="cm_opts"> <param name="cm_opts_selector" value="histdb"/> <param name="cmfile" value="cmstat_input.cm"/> </conditional> <output name="outfile" > <assert_contents> <has_text text="idx"/> <has_text text="accession"/> <has_text text="nseq"/> </assert_contents> </output> </test> <test> <conditional name="cm_opts"> <param name="cm_opts_selector" value="db"/> <param name="database" value="cmstat_input.cm"/> </conditional> <output name="outfile" > <assert_contents> <has_text text="idx"/> <has_text text="accession"/> <has_text text="nseq"/> </assert_contents> </output> </test> </tests> <help> <![CDATA[ **What it does** The cmstat utility prints out a tabular file of summary statistics for each given covariance model. **Output format** By default, cmstat prints general statistics of the model and the alignment it was built from, one line per model in a tabular format. The columns are: (1) The index of this profile, numbering each on in the file starting from 1. (2) The name of the profile. (3) The optional accession of the profile, or ”-” if there is none. (4) The number of sequences that the profile was estimated from. (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. (6) The length of the model in consensus residues (match states). (7) The expected maximum length of a hit to the model. (8) The number of basepairs in the model. (9) The number of bifurcations in the model. (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”. (11) Mean relative entropy per match state, in bits. This is the expected (mean) score per con- sensus position. This is what the default entropy-weighting method for effective sequence number estimation focuses on, so for default Infernal, this value will often reflect the default target for entropy-weighting. If the ”model” field for this profile is ”hmm”, this field will be ”-”. (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 relative entropy, the more the model will rely on structural conservation relative sequence conservation when identifying homologs. For further questions please refere to the Infernal `Userguide <http://eddylab.org/infernal/Userguide.pdf>`_. ]]> </help> <expand macro="citations" /> </tool>