annotate demultiplex.xml @ 4:146bbd9d58f6 draft default tip

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