50
|
1 <tool id="merge_pcr_duplicates.py" name="Merge PCR duplicates" version="0.2.0">
|
6
|
2 <description>according to random barcode library.</description>
|
55
|
3 <xml name="requirements">
|
|
4 <requirements>
|
|
5 <requirement type="package" version="4.1.0">gnu_awk</requirement>
|
|
6 <requirement type="package" version="8.22">gnu_coreutils</requirement>
|
|
7 <requirement type="package" version="1.0.6">datamash</requirement>
|
|
8 </requirements>
|
|
9 </xml>
|
2
|
10 <macros>
|
|
11 <import>macros.xml</import>
|
|
12 </macros>
|
|
13 <expand macro="stdio" />
|
50
|
14 <version_command>python $__tool_directory__/merge_pcr_duplicates.py --version</version_command>
|
2
|
15 <command interpreter="python"><![CDATA[merge_pcr_duplicates.py
|
|
16 #if $positional_1 and $positional_1 is not None:
|
|
17 $positional_1
|
|
18 #end if
|
|
19
|
|
20 #if $positional_2 and $positional_2 is not None:
|
|
21 $positional_2
|
|
22 #end if
|
|
23
|
55
|
24 --outfile $default]]></command>
|
2
|
25 <inputs>
|
|
26 <param area="false" label="bed6 file containing alignments." name="positional_1" type="data" format="bed"/>
|
50
|
27 <param area="false" label="fastaq barcode library." name="positional_2" type="data" format="fastq"/>
|
2
|
28 </inputs>
|
|
29 <outputs>
|
|
30 <data format="bed" hidden="false" name="default"/>
|
|
31 </outputs>
|
|
32 <tests>
|
|
33 <test>
|
|
34 <param name="positional_1" value="pcr_dupes_sorted_2.bed"/>
|
9
|
35 <param name="positional_2" value="pcr_dupes_randomdict.fastq"/>
|
2
|
36 <output name="default" file="merged_pcr_dupes.bed"/>
|
|
37 </test>
|
|
38 </tests>
|
|
39 <help><![CDATA[
|
|
40 Merge PCR duplicates according to random barcode library.
|
|
41
|
|
42 Barcodes containing uncalled base 'N' are removed.
|
|
43
|
6
|
44 Input::
|
|
45
|
2
|
46 * bed6 file containing alignments with fastq read-id in name field
|
8
|
47 * fastq library of random barcodes
|
2
|
48
|
6
|
49 Output::
|
|
50
|
2
|
51 * bed6 file with random barcode in name field and number of PCR duplicates as score, sorted by fields chrom, start, stop, strand, name
|
|
52
|
|
53 Author: Daniel Maticzka
|
|
54 Copyright: 2015
|
|
55 License: Apache
|
|
56 Email: maticzkd@informatik.uni-freiburg.de
|
|
57 Status: Testing
|
|
58 ]]></help>
|
|
59 <expand macro="citations" />
|
|
60 </tool>
|