Mercurial > repos > yhoogstrate > segmentation_fold
view scan-for-segments.xml @ 2:22d7b6019372 draft
planemo upload for repository https://github.com/ErasmusMC-Bioinformatics/segmentation_fold_galaxy_wrapper commit 7e54643d9af0065268d5cde2f2fc9872d2de8fa9
author | yhoogstrate |
---|---|
date | Thu, 31 Mar 2016 04:16:21 -0400 |
parents | |
children | cd1bba1c66b3 |
line wrap: on
line source
<tool id="scan_for_segments" name="scan-for-segments" version="1.6.3-0"> <description>Scan for the presence of segments in sequences using segmentation-fold</description> <requirements> <requirement type="package" version="1.6.3">segmentation-fold</requirement> <requirement type="package" version="2.7.10">python</requirement> </requirements> <stdio></stdio> <version_command>segmentation-fold --version | head -n 2 | tail -n 1 | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'</version_command> <command><![CDATA[ scan-for-segments -T \${GALAXY_SLOTS:-4} -x #if str($parameters.use_custom_xml) == "true" "${parameters.input_xml}" #else "\$SEGMENTATION_FOLD_DEFAULT_XML" #end if -p "in-depth" "${input_fasta}" > $output_list ]]></command> <inputs> <param name="input_fasta" type="data" format="fasta" argument="-f" label="Fasta file with RNA-sequece" /> <conditional name="parameters"> <param name="use_custom_xml" type="boolean" truevalue="true" falsevalue="false" selected="false" label="Use segment definition from history" /> <when value="false" /> <when value="true"> <param name="input_xml" type="data" format="xml" multiple="false" argument="-x" label="Custom 'segments.xml'-syntaxed file" /> </when> </conditional> </inputs> <outputs> <data format="text" name="output_list" label="${tool.name} on ${str($input_fasta.hid) + ': ' + $input_fasta.name}" /> </outputs> <tests> <test> <param name="input_fasta" value="SNORD13-revised.fa" ftype="fasta" /> <param name="use_custom_xml" value="false" ftype="fasta" /> <output name="output_list" file="SNORD13-revised.scan-for-segments.txt" /> </test> <test> <param name="input_fasta" value="SNORD48-revised.fa" ftype="fasta" /> <param name="use_custom_xml" value="false" ftype="fasta" /> <output name="output_list" file="SNORD48-revised.scan-for-segments.txt" /> </test> <test> <param name="input_fasta" value="SNORD114-4-revised.fa" ftype="fasta" /> <param name="use_custom_xml" value="false" ftype="fasta" /> <output name="output_list" file="SNORD114-4-revised.scan-for-segments.txt" /> </test> <test> <param name="input_fasta" value="SNORD118-revised.fa" ftype="fasta" /> <param name="use_custom_xml" value="false" ftype="fasta" /> <output name="output_list" file="SNORD118-revised.scan-for-segments.txt" /> </test> </tests> <help><![CDATA[ This is an utility of the segmentation-fold package that allows to scan for the presence of certain segments. If present, it will also scan for the Gibbs free energy necessairy the segment has to provide to contribute to the optimal structure. ]]></help> <citations> <citation type="bibtex"> @mastersthesis{mastersthesis, author = {Youri Hoogstrate}, title = {An algorithm for predicting RNA 2D structures including K-turns}, school = {University of Technology Delft, Leiden University}, year = 2012, address = {}, month = 11, note = {Research assignment for Master Computer-science}, url = { https://yh-kt-fold.googlecode.com/files/Report.pdf } } </citation> </citations> </tool>