0
|
1 <tool id="demultiplex-emc" name="Demultiplex" version="1.0.0">
|
4
|
2 <description></description>
|
0
|
3 <requirements>
|
|
4 <requirement type="package" version="3.7.0">python</requirement>
|
1
|
5 <requirement type="package" version="1.72">biopython</requirement>
|
0
|
6 </requirements>
|
4
|
7
|
0
|
8 <command>
|
|
9 mkdir outputs;
|
|
10 python3 $__tool_directory__/demultiplex.py
|
|
11 --input $input
|
|
12 --format auto
|
|
13 --output-dir ./outputs
|
|
14 --mapping-file $mapping
|
|
15 </command>
|
|
16 <inputs>
|
|
17 <param name="input" type="data" format='fasta,fastq' label="The input fasta/fastq"/>
|
|
18 <param name="mapping" type="data" format='tabular' label="The mapping file"/>
|
|
19 </inputs>
|
|
20 <outputs>
|
2
|
21 <!--<data name="debug" format="txt" label="debug"/>-->
|
4
|
22 <collection name='demultiplex_out' format_source='input' type="list">
|
|
23 <discover_datasets pattern="__designation_and_ext__" directory="outputs"/>
|
|
24 <!--<discover_datasets pattern="(?P<designation>.+)\.(?P<ext>.+)" directory="outputs"/>-->
|
0
|
25 </collection>
|
|
26 </outputs>
|
|
27 <tests>
|
|
28 <test>
|
4
|
29 <param name="input" value="input.fastq"/>
|
|
30 <param name="mapping" value="mapping.txt"/>
|
|
31 <output_collection name="demultiplex_out" type="list">
|
|
32 <element name="sequence1" file="sequence1.fastq"/>
|
|
33 <element name="sequence2" file="sequence2.fastq"/>
|
|
34 </output_collection>
|
0
|
35 </test>
|
|
36 <test>
|
4
|
37 <param name="input" value="input.fasta"/>
|
|
38 <param name="mapping" value="mapping.txt"/>
|
|
39 <output_collection name="demultiplex_out" type="list">
|
|
40 <element name="sequence1" file="sequence1.fasta"/>
|
|
41 <element name="sequence2" file="sequence2.fasta"/>
|
|
42 </output_collection>
|
0
|
43 </test>
|
|
44 </tests>
|
|
45 <help>
|
|
46 There is no help
|
|
47 </help>
|
4
|
48 <citations>
|
|
49 <citation type="bibtex">@misc{Demultplex-EMC,
|
|
50 author = {Erasmus MC},
|
|
51 title = {Demultiplex-EMC},
|
|
52 year = {2018},
|
|
53 howpublished = {https://github.com/ErasmusMC-Bioinformatics/Demultiplex}
|
|
54 }</citation>
|
|
55 </citations>
|
0
|
56 </tool>
|
|
57
|