annotate demultiplex.xml @ 1:9cb2a61a5a1e draft

Uploaded
author davidvanzessen
date Fri, 09 Nov 2018 05:44:34 -0500
parents 36c79869620b
children 500c2eee063d
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">
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
2 <requirements>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
3 <requirement type="package" version="3.7.0">python</requirement>
1
9cb2a61a5a1e Uploaded
davidvanzessen
parents: 0
diff changeset
4 <requirement type="package" version="1.72">biopython</requirement>
0
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
5 </requirements>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
6 <description></description>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
7 <command>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
8 mkdir outputs;
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
9 python3 $__tool_directory__/demultiplex.py
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
10 --input $input
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
11 --format auto
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
12 --output-dir ./outputs
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
13 --mapping-file $mapping
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
14 </command>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
15 <inputs>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
16 <param name="input" type="data" format='fasta,fastq' label="The input fasta/fastq"/>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
17 <param name="mapping" type="data" format='tabular' label="The mapping file"/>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
18 </inputs>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
19 <outputs>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
20 <data name="debug" format="txt" label="debug"/>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
21 <collection name='demultiplex_out' format_source='input' type='list'>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
22 <discover_datasets pattern="__name_and_ext__" directory="outputs" format_source='input'/>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
23 </collection>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
24 </outputs>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
25 <tests>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
26 <!--
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
27 <test>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
28 <param name="input1" value="1.bed"/>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
29 <param name="input2" value="2.bed"/>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
30 <output name="out_file1" file="cat_wrapper_out1.bed"/>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
31 </test>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
32 TODO: if possible, enhance the underlying test code to handle this test
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
33 the problem is multiple params with the same name "input2"
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
34 <test>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
35 <param name="input1" value="1.bed"/>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
36 <param name="input2" value="2.bed"/>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
37 <param name="input2" value="3.bed"/>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
38 <output name="out_file1" file="cat_wrapper_out2.bed"/>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
39 </test>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
40 -->
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
41 </tests>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
42 <help>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
43 There is no help
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
44 </help>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
45 </tool>
36c79869620b Uploaded
davidvanzessen
parents:
diff changeset
46