6
|
1 <tool id="rm_spurious_events.py" name="Remove spurious" version="0.1.0">
|
|
2 <description>crosslinking events</description>
|
55
|
3 <xml name="requirements">
|
|
4 <requirements>
|
|
5 <requirement type="package" version="8.22">gnu_coreutils</requirement>
|
|
6 <requirement type="package" version="5.18.1">perl</requirement>
|
|
7 </requirements>
|
|
8 </xml>
|
0
|
9 <macros>
|
|
10 <import>macros.xml</import>
|
|
11 </macros>
|
|
12 <expand macro="stdio" />
|
50
|
13 <version_command>python $__tool_directory__/rm_spurious_events.py --version</version_command>
|
0
|
14 <command interpreter="python"><![CDATA[rm_spurious_events.py
|
|
15 #if $positional_1 and $positional_1 is not None:
|
|
16 $positional_1
|
|
17 #end if
|
|
18
|
|
19 #if $threshold and $threshold is not None:
|
|
20 --threshold $threshold
|
|
21 #end if
|
50
|
22 --outfile $default]]></command>
|
0
|
23 <inputs>
|
|
24 <param area="false" label="bed6 file containing alignments." name="positional_1" type="data" format="bed"/>
|
|
25 <param help="(--threshold)" label="Threshold for spurious event removal." name="threshold" optional="true" type="float" value="0.1"/>
|
|
26 </inputs>
|
|
27 <outputs>
|
|
28 <data format="bed" hidden="false" name="default"/>
|
|
29 </outputs>
|
|
30 <tests>
|
|
31 <test>
|
|
32 <param name="positional_1" value="merged_pcr_dupes_spurious.bed"/>
|
|
33 <param name="threshold" value="0.5"/>
|
|
34 <output name="default" file="merged_pcr_dupes_spurious_filtered_thresh05.bed"/>
|
|
35 </test>
|
|
36 </tests>
|
|
37 <help><![CDATA[
|
|
38 Remove spurious events originating from errors in random sequence tags.
|
|
39
|
6
|
40 This tool compares all events sharing the same coordinates. Among each group
|
0
|
41 of events the maximum number of PCR duplicates is determined. All events that
|
|
42 are supported by less than 10 percent of this maximum count are removed.
|
|
43
|
6
|
44 Input::
|
|
45
|
|
46 * bed6 file containing crosslinking events with score field set to number of PCR duplicates
|
0
|
47
|
6
|
48 Output::
|
|
49
|
|
50 * bed6 file with spurious crosslinking events removed, sorted by fields chrom, start, stop, strand
|
0
|
51
|
|
52 Author: Daniel Maticzka
|
|
53 Copyright: 2015
|
|
54 License: Apache
|
|
55 Email: maticzkd@informatik.uni-freiburg.de
|
|
56 Status: Testing
|
|
57 ]]></help>
|
|
58 <expand macro="citations" />
|
|
59 </tool>
|