6
|
1 <tool id="extract_bcs.py" name="Extract barcodes" version="1.0.0">
|
|
2 <description>using pattern.</description>
|
56
|
3 <requirements>
|
|
4 <requirement type="package" version="1.66">biopython</requirement>
|
|
5 </requirements>
|
0
|
6 <macros>
|
|
7 <import>macros.xml</import>
|
|
8 </macros>
|
|
9 <expand macro="stdio" />
|
50
|
10 <version_command>python $__tool_directory__/extract_bcs.py --version</version_command>
|
0
|
11 <command interpreter="python"><![CDATA[
|
|
12 extract_bcs.py
|
|
13 #if $positional_1 and $positional_1 is not None:
|
|
14 $positional_1
|
|
15 #end if
|
|
16
|
|
17 #if $positional_2 and $positional_2 is not None:
|
|
18 $positional_2
|
|
19 #end if
|
|
20
|
5
|
21 --bcs $extractedbcs
|
|
22
|
0
|
23 > $default]]></command>
|
|
24 <inputs>
|
|
25 <param area="false" label="Barcoded sequences." name="positional_1" type="data" format="fastq"/>
|
|
26 <param area="false" label="Pattern of barcode nucleotides starting at 5'-end. X positions will be moved to the header, N positions will be kept." name="positional_2" type="text"/>
|
|
27 </inputs>
|
|
28 <outputs>
|
5
|
29 <data hidden="false" name="default" format="fastq"/>
|
9
|
30 <data name="extractedbcs" format="fastq"/>
|
0
|
31 </outputs>
|
|
32 <tests>
|
|
33 <test>
|
|
34 <param name="positional_1" value="reads.fastq"/>
|
|
35 <param name="positional_2" value="XXXNNXXX"/>
|
5
|
36 <output name="default" file="result_original_head.fastq"/>
|
9
|
37 <output name="extractedbcs" file="extracted_bcs.fastq"/>
|
0
|
38 </test>
|
|
39 </tests>
|
|
40 <help><![CDATA[
|
|
41 Exract barcodes from a FASTQ file according to a user-specified pattern.
|
|
42
|
|
43 Author: Daniel Maticzka
|
|
44 Copyright: 2015
|
|
45 License: Apache
|
|
46 Email: maticzkd@informatik.uni-freiburg.de
|
|
47 Status: Testing
|
|
48 ]]></help>
|
|
49 <expand macro="citations" />
|
|
50 </tool>
|