comparison berokka.xml @ 0:9a1626faa05c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/blob/master/tools/berokka commit 387f04ffbf5205aaaa7b46e9e3d518edb62a538f
author iuc
date Mon, 25 Mar 2019 12:55:16 -0400
parents
children f91f6054fca7
comparison
equal deleted inserted replaced
-1:000000000000 0:9a1626faa05c
1 <tool id="berokka" name="Berokka" version="0.2">
2 <description>Trim, circularise, orient and filter long read bacterial genome assemblies</description>
3 <requirements>
4 <requirement type="package" version="0.2">berokka</requirement>
5 </requirements>
6 <command detect_errors="exit_code"><![CDATA[
7 berokka
8 --outdir default '${input_file}'
9
10 #if $filter_fasta:
11 --filter '${filter_fasta}'
12 #end if
13
14 --readlen '${read_length}'
15
16 --fuzz '${fuzz}'
17
18 #unless $anno:
19 --noanno
20 #end unless
21
22 ]]></command>
23 <inputs>
24 <param name="input_file" type="data" format="fasta" label="Input (FASTA)" help="Should be completed long-read assemblies in FASTA format, such as those from CANU or HGAP"/>
25 <param name="filter_fasta" optional="true" type="data" format="fasta" label="Filter (FASTA)" help="Give a fasta to use as a filter."/>
26 <param name="read_length" type="integer" value="60000" min="28" label="Read Length" help="Approximate max read length (default '60000')"/>
27 <param name="fuzz" type="integer" value="5" label="Fuzz" help="Accept local alignment within X bp of global (default '5')"/>
28 <param name="anno" type="boolean" checked="true" label="Annotation" help="Annotate Trimmed FASTA"/>
29 </inputs>
30 <outputs>
31 <data name="trimmed" format="fasta" from_work_dir="default/02.trimmed.fa" label="${tool.name} on ${on_string}: Trimmed"/>
32 <data name="results" format="tabular" from_work_dir="default/03.results.tab" label="${tool.name} on ${on_string}: Results"/>
33 </outputs>
34 <tests>
35 <test>
36 <param name="input_file" value="berokka_test1.fasta"/>
37 <param name="read_length" value="60000"/>
38 <param name="fuzz" value="5"/>
39 <param name="anno" value="true"/>
40 <output name="trimmed" file="trimmed_1" ftype="fasta"/>
41 <output name="results" file="results_1" ftype="tabular"/>
42 </test>
43 <test>
44 <param name="input_file" value="berokka_test1.fasta"/>
45 <param name="filter_select" value="true"/>
46 <param name="filter_fasta" value="berokka_test1.fasta"/>
47 <param name="read_length" value="60000"/>
48 <param name="fuzz" value="5"/>
49 <param name="anno" value="true"/>
50 <output name="trimmed" file="trimmed_2" ftype="fasta"/>
51 <output name="results" file="results_2" ftype="tabular"/>
52 </test>
53 <test>
54 <param name="input_file" value="berokka_test1.fasta"/>
55 <param name="read_length" value="100"/>
56 <param name="fuzz" value="50"/>
57 <param name="anno" value="false"/>
58 <output name="trimmed" file="trimmed_3" ftype="fasta"/>
59 <output name="results" file="results_3" ftype="tabular"/>
60 </test>
61 </tests>
62 <help><![CDATA[
63 **Summary**
64
65 Trim, circularise, orient & filter long read bacterial genome assemblies
66 There is already a good piece of software to trim/circularise and orient genome assemblies called Circlator. Please try that first!
67
68 You should only try Berokka if:
69
70 1. You only have the contig files and do not have the corrected reads anymore
71 2. Your contigs are simple cases with clear overhang and could be done manually with BLAST
72 3. Circlator fails on your data even after troubleshooting
73
74 NOTE: orientation to dnaA or rep genes is not yet implemented.
75
76 **Input**
77
78 Input should be completed long-read assemblies in FASTA format, such as those from CANU or HGAP.
79
80 **Output**
81
82 1. trimmed: The (possibly) trimmed sequences (FASTA)
83
84 2. results: Summary of results (TSV)
85
86 **Options**
87
88 * `Filter <FASTA>` allows you to remove contigs which match 50% of sequences in this file. Berokka comes with the standard Pacbio control sequence. You can provide your own FASTA file using this option.
89
90 * `Read Length <LENGTH>` can be used for datasets that won't seem to circularise. It affects the length of the match it attempts to make using BLAST.
91
92 * `Fuzz` can be used to accept local alignment within X bp of global (default '5')
93
94 * `Annotation` can be set to "No" to ensure that the FASTA descriptions are not altered between the input and output FASTA files.
95
96 ]]></help>
97 <citations>
98 <citation type="bibtex">
99 @UNPUBLISHED{Seemann2016,
100 author = {Seemann, Torsten},
101 title = {Berokka: Faster Trim, circularise and orient long read bacterial genome assemblies},
102 year = {2016},
103 url = {https://github.com/tseemann/berokka},
104 }
105 </citation>
106 </citations>
107 </tool>