comparison edena_ovl_wrapper.xml @ 1:cd6cc6d76708 draft

Simplify passing repeated params to Python script. Add more info to help sections.
author crs4
date Fri, 18 Oct 2013 14:09:11 -0400
parents 60609a9cef3b
children b8c6a38530eb
comparison
equal deleted inserted replaced
0:60609a9cef3b 1:cd6cc6d76708
6 <version_command>edena -v</version_command> 6 <version_command>edena -v</version_command>
7 <command interpreter="python"> 7 <command interpreter="python">
8 edena_ovl_wrapper.py 8 edena_ovl_wrapper.py
9 \${EDENA_SITE_OPTIONS:---nThreads 2} 9 \${EDENA_SITE_OPTIONS:---nThreads 2}
10 #if $input_selection.input == "unpaired_file" 10 #if $input_selection.input == "unpaired_file"
11 #for $i, $unpaired_file in enumerate( $input_selection.unpaired_input ): 11 #for $ui in $input_selection.unpaired_input
12 #if $i == 0 12 --unpaired_input=${ui.unpaired_file}
13 #echo "--unpaired_input="
14 #end if
15 #echo $unpaired_file.unpaired_file
16 #echo '+'
17 #end for 13 #end for
18 #elif $input_selection.input == "dr_pairs" 14 #elif $input_selection.input == "dr_pairs"
19 #for $i, $dr_pair_1 in enumerate( $input_selection.dr_pairs_input ): 15 #for $dpi in $input_selection.dr_pairs_input
20 #if $i == 0 16 --dr_pair_1=${dpi.dr_pair_1}
21 #echo "--dr_pair_1=" 17 --dr_pair_2=${dpi.dr_pair_2}
22 #end if
23 #echo $dr_pair_1.dr_pair_1
24 #echo '+'
25 #end for
26 #echo ' '
27 #for $i, $dr_pair_2 in enumerate( $input_selection.dr_pairs_input ):
28 #if $i == 0
29 #echo "--dr_pair_2="
30 #end if
31 #echo $dr_pair_2.dr_pair_2
32 #echo '+'
33 #end for 18 #end for
34 #elif $input_selection.input == "rd_pairs" 19 #elif $input_selection.input == "rd_pairs"
35 #for $i, $rd_pair_1 in enumerate( $input_selection.rd_pairs_input ): 20 #for $rpi in $input_selection.rd_pairs_input
36 #if $i == 0 21 --rd_pair_1=${rpi.rd_pair_1}
37 #echo "--rd_pair_1=" 22 --rd_pair_2=${rpi.rd_pair_2}
38 #end if
39 #echo $rd_pair_1.rd_pair_1
40 #echo '+'
41 #end for
42 #echo ' '
43 #for $i, $rd_pair_2 in enumerate( $input_selection.rd_pairs_input ):
44 #if $i == 0
45 #echo "--rd_pair_2="
46 #end if
47 #echo $rd_pair_2.rd_pair_2
48 #echo '+'
49 #end for 23 #end for
50 #end if 24 #end if
51 #if str($minOlap) 25 #if str($minOlap)
52 --minOlap=$minOlap 26 --minOlap=$minOlap
53 #end if 27 #end if
59 </command> 33 </command>
60 34
61 <inputs> 35 <inputs>
62 <conditional name="input_selection"> 36 <conditional name="input_selection">
63 <param name="input" type="select" label="Select input type"> 37 <param name="input" type="select" label="Select input type">
64 <option value="unpaired_file" selected="True">Unpaired files</option> 38 <option value="unpaired_file">Unpaired files</option>
65 <option value="dr_pairs">Direct-reverse paired-end files</option> 39 <option value="dr_pairs">Direct-reverse paired-end files</option>
66 <option value="rd_pairs">Reverse-direct paired-end files</option> 40 <option value="rd_pairs">Reverse-direct paired-end files</option>
67 </param> 41 </param>
68 42
69 <when value="unpaired_file"> 43 <when value="unpaired_file">
102 76
103 </tests> 77 </tests>
104 <help> 78 <help>
105 **What it does** 79 **What it does**
106 80
107 Edena can accept both unpaired and paired files, FASTQ and FASTA format. Note that for technical reasons, all reads are required to be of the same length. You can however provide the program with different files containing different reads length. In such case, Edena will trim the 3’ ends of the longer reads so that they fit the shorter length. It is however required that reads within each individual file are of the same length (as Illumina GA reads are). By default all overlaps with a minimum size corresponding to half of the reads length are computed. This is quite conservative. Provided enough coverage, this value can be increased (option -M) to reduce the memory requirements. For reads longer than 100bp, you may consider the reads truncation option, which could help in discarding 3’ base calling errors. 81 Edena is an overlaps graph based short reads assembler and is suited to Illumina GA reads. An assembly with Edena is a two step process: overlapping and assembling.
82
83 In the overlapping step, the reads files are provided to the program which computes the transitively reduced overlaps graph. This structure is then stored together with the sequence reads in the overlapping file.
84
85 Edena can accept both unpaired and paired files, FASTQ and FASTA format. Note that for technical reasons, all reads are required to be of the same length. You can however provide the program with different files containing different reads length. In such case, Edena will trim the 3’ ends of the longer reads so that they fit the shorter length. It is however required that reads within each individual file are of the same length (as Illumina GA reads are). By default all overlaps with a minimum size corresponding to half of the reads length are computed. This is quite conservative. Provided enough coverage, this value can be increased (option -M) to reduce the memory requirements.
86
87 For reads longer than 100bp, you may consider the reads truncation option, which could help in discarding 3’ base calling errors.
108 88
109 **License and citation** 89 **License and citation**
110 90
111 This Galaxy tool is Copyright © 2013 `CRS4 Srl.`_ and is released under the `MIT license`_. 91 This Galaxy tool is Copyright © 2013 `CRS4 Srl.`_ and is released under the `MIT license`_.
112 92