annotate imgt_concatenate.xml @ 5:69be6eb101aa draft

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