comparison racon.xml @ 0:51fd3136069d draft

planemo upload for repository https://github.com/bgruening/galaxytools/tree/master/tools/racon commit f6dd7c41a45584b478b8af48df5294e3c39f5203
author bgruening
date Mon, 11 Jun 2018 16:47:50 -0400
parents
children 4df02149a270
comparison
equal deleted inserted replaced
-1:000000000000 0:51fd3136069d
1 <tool id="racon" name="Racon" version="1.3.1">
2 <description>Consensus module for raw de novo DNA assembly of long uncorrected reads.</description>
3 <macros>
4 <import>macros.xml</import>
5 </macros>
6 <expand macro="requirements" />
7 <version_command>racon --version</version_command>
8 <command detect_errors="exit_code"><![CDATA[
9 ln -s '$reads' reads.${reads.ext} &&
10 ln -s '$overlaps' overlaps.${overlaps.ext} &&
11 ln -s '$corrected_reads' corrected_reads.${corrected_reads.ext} &&
12
13 racon
14 reads.${reads.ext}
15 overlaps.${overlaps.ext}
16 corrected_reads.${corrected_reads.ext}
17 -t \${GALAXY_SLOTS:-4}
18 $u
19 $f
20 -w $w
21 -q $q
22 -e $e
23 -m $m
24 -x $x
25 -g $g
26 > racon_polished_consensus.fa
27 ]]></command>
28 <inputs>
29 <param type="data" name="reads" format="fasta,fasta.gz,fastq,fastq.gz" label="Sequences"/>
30 <param type="data" name="overlaps" format="sam" label="Overlaps"/>
31 <param type="data" name="corrected_reads" format="fasta,fasta.gz,fastq,fastq.gz" label="Target sequences"/>
32
33 <param argument="-u" type="boolean" truevalue="-u" falsevalue="" label="output unpolished target sequences" />
34 <param argument="-f" type="boolean" truevalue="-f" falsevalue="" label="perform fragment correction instead of contig polishing" />
35 <param argument="-w" type="integer" value="500" label="Size of window on which POA is performed" />
36 <param argument="-q" type="float" value="10.0" label="Threshold for average base quality of windows used in poa" />
37 <param argument="-e" type="float" value="0.3" label="Maximum allowed error rate used for filtering overlaps" />
38 <param argument="-m" type="integer" value="5" label="Score for matching bases" />
39 <param argument="-x" type="integer" value="-4" label="Score for mismatching bases" />
40 <param argument="-g" type="integer" value="-8" max="0" label="Gap penalty" />
41
42 </inputs>
43 <outputs>
44 <data name="consensus" format="fasta" from_work_dir="racon_polished_consensus.fa" />
45 </outputs>
46 <tests>
47 <test>
48 <param name="reads" ftype="fasta" value="sample_reads.fasta"/>
49 <param name="overlaps" ftype="sam" value="sample_overlaps.sam"/>
50 <param name="corrected_reads" ftype="fasta" value="sample_layout.fasta"/>
51 <param name="u" value="true"/>
52 <param name="f" value="true"/>
53 <param name="w" value="800"/>
54 <param name="e" value="0.2"/>
55 <output name="consensus" ftype="fasta" file="consensus_result2.fasta"/>
56 </test>
57 </tests>
58 <help><![CDATA[
59
60 **What it does**
61
62 Consensus module for raw de novo DNA assembly of long uncorrected reads.
63
64 Racon is intended as a standalone consensus module to correct raw contigs generated by rapid assembly methods
65 which do not include a consensus step. The goal of Racon is to generate genomic consensus which is of similar
66 or better quality compared to the output generated by assembly methods which employ both error correction
67 and consensus steps, while providing a speedup of several times compared to those methods.
68 It supports data produced by both Pacific Biosciences and Oxford Nanopore Technologies.
69
70 Racon can be used as a polishing tool after the assembly with either Illumina data or data
71 produced by third generation of sequencing. The type of data inputed is automatically detected.
72
73 Racon takes as input only three files: contigs in FASTA/FASTQ format, reads in FASTA/FASTQ
74 format and overlaps/alignments between the reads and the contigs in SAM format. Output is a set of polished contigs in FASTA format printed to stdout.
75
76 Racon can also be used as a read error-correction tool. In this scenario, the SAM file needs
77 to contain pairwise overlaps between reads including dual overlaps.
78
79 ]]></help>
80 <expand macro="citations" />
81 </tool>