comparison lordec.xml @ 0:dd5398cf0eeb draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/tools/colibread commit a213833526146246d277ec7851165971449b501e
author iuc
date Fri, 20 Oct 2017 03:13:51 -0400
parents
children 51ffe0318eea
comparison
equal deleted inserted replaced
-1:000000000000 0:dd5398cf0eeb
1 <?xml version='1.0' encoding='utf-8'?>
2 <tool profile="16.04" id="lordec" name="Lordec" version="0.6">
3 <description>is a set a programs for correcting sequencing errors in PacBio reads</description>
4 <macros>
5 <import>macros.xml</import>
6 </macros>
7 <requirements>
8 <requirement type="package" version="0.6">lordec</requirement>
9 </requirements>
10 <command><![CDATA[
11
12 #if str( $program_type_choice.program_type ) == "correct"
13 lordec-correct
14 @lordec_inputs@
15 #if str( $program_type_choice.advanced_options.advanced_options_selector ) == "advanced"
16 -t ${program_type_choice.advanced_options.t}
17 -b ${program_type_choice.advanced_options.b}
18 -e ${program_type_choice.advanced_options.e}
19 -T ${program_type_choice.advanced_options.T}
20 #end if
21 -o '${corrected_read_file}'
22
23
24 #else if str( $program_type_choice.program_type ) == "trim"
25 #if $program_type_choice.split
26 lordec-trim-split
27 #else
28 lordec-trim
29 #end if
30 -i '${program_type_choice.i}'
31 -o '${trimmed_reads_file}'
32
33 #else
34 lordec-stat
35 @lordec_inputs@
36 -S '${stat_file}'
37 #end if
38
39
40 ]]></command>
41
42 <inputs>
43
44 <conditional name="program_type_choice">
45 <param name="program_type" type="select" label="Choose Lordec program">
46 <option value="correct">Lordec Correct</option>
47 <option value="trim">Lordec Trim</option>
48 <option value="stats">Lordec Statistics</option>
49 </param>
50
51 <when value="correct">
52 <expand macro="lordec_inputs" />
53 <conditional name="advanced_options">
54 <param name="advanced_options_selector" type="select" label="Lordec correct advanced options">
55 <option value="default" selected="true">Default</option>
56 <option value="advanced">Advanced</option>
57 </param>
58 <when value="default"></when>
59 <when value="advanced">
60 <param argument="-t" type="integer" label="Number of target k-mers" value="5" />
61 <param argument="-b" type="integer" label="Maximum number of branches to explore" value="200" />
62 <param argument="-e" type="float" label="Maximum error rate" value="0.4" />
63 <param argument="-T" type="integer" label="Number of threads" value="1" />
64 </when>
65 </conditional>
66 </when>
67
68 <when value="trim">
69 <param argument="-i" type="data" format="fasta,fastq.gz,fastq" label="Long read FASTA/Q file" help="PacBio reads files" />
70 <param name="split" type="boolean" label="Use the split option" help="Trim all weak regions and split the reads on inner weak regions" />
71 </when>
72
73 <when value="stats">
74 <expand macro="lordec_inputs" />
75 </when>
76
77 </conditional>
78
79 </inputs>
80
81 <outputs>
82 <data format="fasta" name="corrected_read_file" label="Corrected long reads with ${tool.name} on ${on_string}" >
83 <filter>program_type_choice['program_type'] == 'correct'</filter>
84 </data>
85 <data format="fasta" name="trimmed_reads_file" label="Trimmed reads file with ${tool.name} on ${on_string}" >
86 <filter>program_type_choice['program_type'] == 'trim'</filter>
87 </data>
88 <data format="tabular" name="stat_file" label="Stats with ${tool.name} on ${on_string}" >
89 <filter>program_type_choice['program_type'] == 'stats'</filter>
90 </data>
91 </outputs>
92
93 <tests>
94 <test>
95 <conditional name="program_type_choice">
96 <param name="program_type" value="correct" />
97 <param name="inputs" value="lordec/ill-test-5K-1.fa,lordec/ill-test-5K-2.fa" />
98 <param name="i" value="lordec/coli-pacbio-test-mini.fa" />
99 <param name="k" value="31" />
100 </conditional>
101 <output name="corrected_read_file" file="lordec/corrected_reads.fa"/>
102 </test>
103 <test>
104 <conditional name="program_type_choice">
105 <param name="program_type" value="trim" />
106 <param name="i" value="lordec/corrected_reads.fa" />
107 </conditional>
108 <output name="trimmed_reads_file" file="lordec/trimmed_reads.fa"/>
109 </test>
110 <test>
111 <conditional name="program_type_choice">
112 <param name="program_type" value="stats" />
113 <param name="inputs" value="lordec/ill-test-5K-1.fa,lordec/ill-test-5K-2.fa" />
114 <param name="i" value="lordec/coli-pacbio-test-mini.fa" />
115 </conditional>
116 <output name="stat_file" file="lordec/stat_file.txt"/>
117 </test>
118 </tests>
119 <help><![CDATA[
120
121 **Lordec Correct**
122
123 Program for correcting sequencing errors in PacBio reads using highly accurate short reads (e.g. Illumina).
124
125 LoRDEC outputs the corrected reads to the given file in FASTA format. The regions that remain weak after the correction are outputted in lower case characters and the solid regions are outputted in upper case characters.
126
127 -------
128
129 **Lordec Trim**
130
131 Program for trimming the weak regions from the beginning and end of the corrected reads.
132
133 -------
134
135 **Lordec Statistics**
136
137 Program to generate statistics on solid and weak k-mers.
138
139 -------
140
141 **Web site**
142
143 http://www.atgc-montpellier.fr/lordec/
144
145
146 ]]></help>
147 <expand macro="citations">
148 <citation type="doi">10.1093/bioinformatics/btu538</citation>
149 </expand>
150 </tool>