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