0
|
1 <tool id="imgt_concatenate" name="IMGT Concatenate" version="1.0">
|
|
2 <description> </description>
|
|
3 <command interpreter="bash">
|
|
4 imgt_concatenate.sh $out_file
|
1
|
5 #if str( $with_id.with_id_selector ) == "true":
|
|
6 #for $i, $f in enumerate($with_id.files)
|
|
7 "$f.file"
|
|
8 "$f.id"
|
|
9 #end for
|
|
10 #else
|
|
11 #for $i, $f in enumerate($with_id.files)
|
|
12 "$f.file"
|
|
13 ""
|
|
14 #end for
|
|
15 #end if
|
0
|
16 </command>
|
|
17 <inputs>
|
1
|
18 <conditional name="with_id">
|
|
19 <param name="with_id_selector" type="select" label="Add a file ID to the sequence ID">
|
|
20 <option value="true">Add file ID to SequenceID to identify the origin file</option>
|
|
21 <option value="false" selected="True">Keep SequenceID as is</option>
|
|
22 </param>
|
|
23 <when value='true'>
|
|
24 <repeat name="files" title="Sample" min="2" default="2">
|
5
|
25 <param name="file" type="data" format="data" label="IMGT zip file" />
|
1
|
26 <param name="id" type="text" label="ID for dataset" size="25">
|
|
27 <validator type="regex" message="Fill in an ID">.+</validator>
|
|
28 </param>
|
|
29 </repeat>
|
|
30 </when>
|
|
31 <when value='false'>
|
|
32 <repeat name="files" title="Sample" min="2" default="2">
|
5
|
33 <param name="file" type="data" format="data" label="IMGT zip file" />
|
1
|
34 </repeat>
|
|
35 </when>
|
|
36 </conditional>
|
0
|
37 <param name="label" type="text" label="A name for the new dataset" size="25">
|
1
|
38 <validator type="regex" message="Fill in a name for the new dataset">.+</validator>
|
0
|
39 </param>
|
|
40 </inputs>
|
|
41 <outputs>
|
3
|
42 <data format="data" name="out_file" label="${label}"/>
|
0
|
43 </outputs>
|
|
44 <help>
|
|
45 Concatenate two or more IMGT files to create one new IMGT zip with all the sequences of the inputs.
|
|
46
|
|
47 </help>
|
|
48
|
|
49 </tool>
|