Mercurial > repos > yhoogstrate > segmentation_fold
comparison 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 |
comparison
equal
deleted
inserted
replaced
1:27f670a42ba2 | 2:22d7b6019372 |
---|---|
1 <tool id="scan_for_segments" name="scan-for-segments" version="1.6.3-0"> | |
2 <description>Scan for the presence of segments in sequences using segmentation-fold</description> | |
3 | |
4 <requirements> | |
5 <requirement type="package" version="1.6.3">segmentation-fold</requirement> | |
6 <requirement type="package" version="2.7.10">python</requirement> | |
7 </requirements> | |
8 | |
9 <stdio></stdio> | |
10 | |
11 <version_command>segmentation-fold --version | head -n 2 | tail -n 1 | sed -e 's/^[[:space:]]*//' -e 's/[[:space:]]*$//'</version_command> | |
12 | |
13 <command><![CDATA[ | |
14 scan-for-segments | |
15 -T \${GALAXY_SLOTS:-4} | |
16 -x | |
17 #if str($parameters.use_custom_xml) == "true" | |
18 "${parameters.input_xml}" | |
19 #else | |
20 "\$SEGMENTATION_FOLD_DEFAULT_XML" | |
21 #end if | |
22 -p "in-depth" | |
23 "${input_fasta}" | |
24 | |
25 > $output_list | |
26 ]]></command> | |
27 | |
28 <inputs> | |
29 <param name="input_fasta" | |
30 type="data" | |
31 format="fasta" | |
32 argument="-f" | |
33 label="Fasta file with RNA-sequece" /> | |
34 | |
35 <conditional name="parameters"> | |
36 <param name="use_custom_xml" | |
37 type="boolean" | |
38 truevalue="true" | |
39 falsevalue="false" | |
40 selected="false" | |
41 label="Use segment definition from history" /> | |
42 | |
43 <when value="false" /> | |
44 <when value="true"> | |
45 <param name="input_xml" | |
46 type="data" | |
47 format="xml" | |
48 multiple="false" | |
49 argument="-x" | |
50 label="Custom 'segments.xml'-syntaxed file" /> | |
51 </when> | |
52 </conditional> | |
53 </inputs> | |
54 | |
55 <outputs> | |
56 <data format="text" name="output_list" label="${tool.name} on ${str($input_fasta.hid) + ': ' + $input_fasta.name}" /> | |
57 </outputs> | |
58 | |
59 <tests> | |
60 <test> | |
61 <param name="input_fasta" value="SNORD13-revised.fa" ftype="fasta" /> | |
62 <param name="use_custom_xml" value="false" ftype="fasta" /> | |
63 | |
64 <output name="output_list" file="SNORD13-revised.scan-for-segments.txt" /> | |
65 </test> | |
66 <test> | |
67 <param name="input_fasta" value="SNORD48-revised.fa" ftype="fasta" /> | |
68 <param name="use_custom_xml" value="false" ftype="fasta" /> | |
69 | |
70 <output name="output_list" file="SNORD48-revised.scan-for-segments.txt" /> | |
71 </test> | |
72 <test> | |
73 <param name="input_fasta" value="SNORD114-4-revised.fa" ftype="fasta" /> | |
74 <param name="use_custom_xml" value="false" ftype="fasta" /> | |
75 | |
76 <output name="output_list" file="SNORD114-4-revised.scan-for-segments.txt" /> | |
77 </test> | |
78 <test> | |
79 <param name="input_fasta" value="SNORD118-revised.fa" ftype="fasta" /> | |
80 <param name="use_custom_xml" value="false" ftype="fasta" /> | |
81 | |
82 <output name="output_list" file="SNORD118-revised.scan-for-segments.txt" /> | |
83 </test> | |
84 </tests> | |
85 | |
86 <help><![CDATA[ | |
87 This is an utility of the segmentation-fold package that allows to scan for the presence of certain segments. | |
88 If present, it will also scan for the Gibbs free energy necessairy the segment has to provide to contribute to the optimal structure. | |
89 ]]></help> | |
90 | |
91 <citations> | |
92 <citation type="bibtex"> | |
93 @mastersthesis{mastersthesis, | |
94 author = {Youri Hoogstrate}, | |
95 title = {An algorithm for predicting RNA 2D structures including K-turns}, | |
96 school = {University of Technology Delft, Leiden University}, | |
97 year = 2012, | |
98 address = {}, | |
99 month = 11, | |
100 note = {Research assignment for Master Computer-science}, | |
101 url = { https://yh-kt-fold.googlecode.com/files/Report.pdf } | |
102 } | |
103 </citation> | |
104 </citations> | |
105 </tool> |