Mercurial > repos > bgruening > infernal
view cmpress.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_cmpress" name="cmpress" version="@TOOL_VERSION@+galaxy@VERSION_SUFFIX@" profile="23.0"> <description> Prepare a covariance model database for cmscan</description> <macros> <import>macros.xml</import> </macros> <expand macro="xrefs"/> <expand macro="requirements" /> <expand macro="stdio" /> <command detect_errors="aggressive"> <![CDATA[ mkdir -p ./cm_model && #if str($cm_opts.cm_opts_selector) == "db": ln -s '$cm_opts.database.fields.path' ./cm_model/ #else: ln -s '$cmfile' ./cm_model/ #end if && cmpress -F ./cm_model/* && cd ./cm_model/ && tar -cvf '$outfile' *.i1f *.i1i *.i1m *.i1p ]]> </command> <inputs> <expand macro="DB" /> </inputs> <outputs> <data format="tar" name="outfile" label="cmpress on ${on_string}"/> </outputs> <tests> <test> <conditional name="cm_opts"> <param name="cm_opts_selector" value="histdb"/> <param name="cmfile" value="cmpress_input_minifam.cm"/> </conditional> <assert_stdout> <has_text text="Working... done."/> </assert_stdout> </test> <test> <conditional name="cm_opts"> <param name="cm_opts_selector" value="db"/> <param name="database" value="cmpress_input_minifam.cm"/> </conditional> <assert_stdout> <has_text text="Working... done."/> </assert_stdout> </test> </tests> <help> <![CDATA[ **What it does** Starting from a CM database <cmfile> in standard Infernal-1.1 format, construct binary compressed datafiles for cm- scan. The cmpress step is required for cmscan to work. **Input format** The <cmfile> must be have already been calibrated with cmcalibrate for cmpress to work. **Output format** For further questions please refere to the Infernal `Userguide <http://eddylab.org/infernal/Userguide.pdf>`_. ]]> </help> <expand macro="citations" /> </tool>