annotate pear.xml @ 0:581e52f03c5d draft

Imported from capsule None
author bgruening
date Wed, 20 May 2015 14:59:50 -0400
parents
children 240f611a46f3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
1 <tool id="iuc_pear" name="Pear" version="0.9.6.0">
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
2 <description>Paired-End read merger</description>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
3 <!--<version_command>bismark version</version_command>-->
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
4 <requirements>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
5 <requirement type="package" version="0.9.6">pear</requirement>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
6 </requirements>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
7 <stdio>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
8 <exit_code range="1:" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
9 <exit_code range=":-1" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
10 <regex match="Error:" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
11 <regex match="Exception:" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
12 </stdio>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
13 <command>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
14 <![CDATA[
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
15 pear
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
16 #if str( $library.type ) == "paired":
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
17 -f "$library.forward"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
18 -r "$library.reverse"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
19 #else
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
20 ## prepare collection
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
21 -f $library.input_collection.forward
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
22 -r $library.input_collection.reverse
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
23 #end if
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
24
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
25 --output pear
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
26 --p-value $pvalue
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
27 --min-overlap $min_overlap
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
28 #if int($max_assembly_length) > 0:
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
29 --max-asm-length $max_assembly_length
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
30 #end if
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
31 --min-asm-length $min_assembly_length
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
32 --min-trim-length $min_trim_length
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
33 --quality-theshold $quality_threshold
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
34 --max-uncalled-base $max_uncalled_base
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
35 --test-method $test_method
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
36 --empirical-freqs $empirical_freqs
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
37 -j "\${GALAXY_SLOTS:-8}"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
38 --score-method $score_method
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
39 --cap $cap
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
40 $nbase
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
41 ]]>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
42 </command>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
43 <inputs>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
44 <conditional name="library">
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
45 <param name="type" type="select" label="Dataset type">
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
46 <option value="paired">Paired-end</option>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
47 <option value="paired_collection">Paired-end Dataset Collection</option>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
48 </param>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
49 <when value="paired">
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
50 <param name="forward" type="data" format="fastqillumina, fastqsanger, fastq"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
51 label="Name of file that contains the forward paired-end reads" help="-f" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
52 <param name="reverse" type="data" format="fastqillumina, fastqsanger, fastq"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
53 label="Name of file that contains the reverse paired-end reads" help="-r" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
54 </when>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
55 <when value="paired_collection">
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
56 <param name="input_collection" format="fastqillumina, fastqsanger, fastq"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
57 type="data_collection" collection_type="paired"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
58 label="FASTQ Paired Dataset" help="Nucleotide-space: Must have Sanger-scaled quality values with ASCII offset 33. (-f and -r)" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
59 </when>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
60 </conditional>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
61
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
62 <!-- optional -->
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
63 <param name="pvalue" type="float" value="0.01" min="0" optional="True" max="1" label="Specify a p-value for the statistical test"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
64 help="If the computed p-value of a possible assembly exceeds the specified p-value then the paired-end read will not be assembled. Setting 1.0 disables the test. (--p-value)" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
65
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
66 <param name="min_overlap" type="integer" value="10" optional="True" label="Minimum overlap size"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
67 help="The minimum overlap may be set to 1 when the statistical test is used. However, further restricting the minimum overlap size to a proper value may reduce false-positive assembles. (--min-overlap)" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
68
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
69 <param name="max_assembly_length" type="integer" value="0" optional="True" label="Maximum possible length of the assembled sequences"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
70 help="Setting this value to 0 disables the restriction and assembled sequences may be arbitrary long. (--max-assembly-length)" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
71
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
72 <param name="min_assembly_length" type="integer" value="50" optional="True" label="Minimum possible length of the assembled sequences"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
73 help="Setting this value to 0 disables the restriction and assembled sequences may be arbitrary short. (--min-assembly-length)" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
74
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
75 <param name="min_trim_length" type="integer" value="1" optional="True" label="Minimum length of reads after trimming the low quality part"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
76 help="See option -q. (--min-trim-length)" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
77
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
78 <param name="quality_threshold" type="integer" value="0" optional="True" label="Quality score threshold for trimming the low quality part of a read"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
79 help="If the quality scores of two consecutive bases are strictly less than the specified threshold, the rest of the read will be trimmed. (--quality-threshold)" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
80
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
81 <param name="max_uncalled_base" type="float" value="1.0" min="0" optional="True" max="1" label="Maximal proportion of uncalled bases in a read"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
82 help="Setting this value to 0 will cause PEAR to discard all reads containing uncalled bases. The other extreme setting is 1 which causes PEAR to process all reads independent on the number of uncalled bases. (--max-uncalled-base)" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
83
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
84 <param name="cap" type="integer" value="40" optional="True" label="Specify the upper bound for the resulting quality score"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
85 help="If set to zero, capping is disabled. (--cap)" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
86
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
87 <param name="test_method" type="select" label="Type of statistical test" help="(--test-method)">
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
88 <option value="1" selected="True">Given the minimum allowed overlap, test using the highest OES (1)</option>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
89 <option value="2">Use the acceptance probability (2)</option>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
90 </param>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
91
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
92 <param name="empirical_freqs" type="boolean" truevalue="-e" falsevalue="" checked="false"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
93 label="Disable empirical base frequencies" help="(--empirical-freqs)" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
94 <param name="nbase" type="boolean" truevalue="--nbase" falsevalue="" checked="false"
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
95 label="Use N base if uncertain" help="When merging a base-pair that consists of two non-equal bases out of which none is degenerate, set the merged base to N and use the highest quality score of the two bases. (--nbase)" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
96
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
97 <param name="score_method" type="select" label="Scoring method" help="(--score-method)">
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
98 <option value="1">OES with +1 for match and -1 for mismatch</option>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
99 <option value="2" selected="True">Assembly score (AS) use +1 for match and -1 for mismatch multiplied by base quality scores</option>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
100 <option value="3">Ignore quality scores and use +1 for a match and -1 for a mismatch</option>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
101 </param>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
102
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
103 <param name="outputs" type="select" display="checkboxes" optional="False" multiple="True" label="Output files">
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
104 <option value="assembled" selected="True">Assembled reads</option>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
105 <option value="forward">Forward unassembled reads</option>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
106 <option value="reverse">Reverse unassembled reads</option>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
107 <option value="discarded">Discarded reads</option>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
108 </param>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
109 </inputs>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
110 <outputs>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
111 <data format="fastq" name="assembled_reads" from_work_dir="pear.assembled.fastq" label="${tool.name} on ${on_string}: Assembled reads">
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
112 <filter>'assembled' in outputs</filter>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
113 </data>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
114 <data format="fastq" name="unassembled_forward_reads" from_work_dir="pear.unassembled.forward.fastq" label="${tool.name} on ${on_string}: Unassembled forward reads">
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
115 <filter>'forward' in outputs</filter>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
116 </data>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
117 <data format="fastq" name="unassembled_reverse_reads" from_work_dir="pear.unassembled.reverse.fastq" label="${tool.name} on ${on_string}: Unassembled reverse reads">
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
118 <filter>'reverse' in outputs</filter>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
119 </data>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
120 <data format="fastq" name="discarded_reads" from_work_dir="pear.discarded.fastq" label="${tool.name} on ${on_string}: Discarded reads">
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
121 <filter>'discarded' in outputs</filter>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
122 </data>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
123 </outputs>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
124 <tests>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
125 <test>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
126 <param name="forward" value="forward.fastq" ftype="fastq" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
127 <param name="reverse" value="reverse.fastq" ftype="fastq" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
128 <param name="min_overlap" value="10" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
129 <param name="min_assembly_length" value="50" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
130 <param name="cap" value="0" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
131 <param name="outputs" value="assembled,forward" />
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
132 <output name="assembled_reads" file="pear_assembled_results1.fastq" ftype="fastq"/>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
133 <output name="unassembled_forward_reads" file="pear_unassembled_forward_results1.fastq" ftype="fastq"/>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
134 </test>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
135 </tests>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
136 <help>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
137 <![CDATA[
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
138
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
139
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
140 **What it does**
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
141
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
142 PEAR_ is an ultrafast, memory-efficient and highly accurate pair-end read merger.
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
143 PEAR evaluates all possible paired-end read overlaps and without requiring the target fragment
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
144 size as input. In addition, it implements a statistical test for minimizing false-positive results.
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
145 Together with a highly optimized implementation, it can merge millions of paired end reads within a couple of minutes
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
146 on a standard desktop computer.
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
147
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
148 For more information please look at the documentation_ and `github repository`_.
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
149
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
150 .. _PEAR: http://sco.h-its.org/exelixis/web/software/pear/
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
151 .. _documentation: http://sco.h-its.org/exelixis/web/software/pear/doc.html
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
152 .. _github repository: https://github.com/xflouris/PEAR
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
153
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
154
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
155 ]]>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
156 </help>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
157 <citations>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
158 <citation type="doi">10.1093/bioinformatics/btt593</citation>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
159 </citations>
581e52f03c5d Imported from capsule None
bgruening
parents:
diff changeset
160 </tool>