comparison imgt_concatenate.xml @ 1:b360a373835f draft

Uploaded
author davidvanzessen
date Thu, 24 Nov 2016 10:27:14 -0500
parents d3cf09f5a1a6
children d77d4700fd0a
comparison
equal deleted inserted replaced
0:d3cf09f5a1a6 1:b360a373835f
1 <tool id="imgt_concatenate" name="IMGT Concatenate" version="1.0"> 1 <tool id="imgt_concatenate" name="IMGT Concatenate" version="1.0">
2 <description> </description> 2 <description> </description>
3 <command interpreter="bash"> 3 <command interpreter="bash">
4 imgt_concatenate.sh $out_file 4 imgt_concatenate.sh $out_file
5 #for $i, $f in enumerate($files) 5 #if str( $with_id.with_id_selector ) == "true":
6 "$f.file" 6 #for $i, $f in enumerate($with_id.files)
7 #end for 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
8 </command> 16 </command>
9 <inputs> 17 <inputs>
10 <repeat name="files" title="Sample" min="2" default="2"> 18 <conditional name="with_id">
11 <param name="file" format="peptideshaker_archive" type="data" label="IMGT zip file" /> 19 <param name="with_id_selector" type="select" label="Add a file ID to the sequence ID">
12 </repeat> 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">
25 <param name="file" format="peptideshaker_archive" type="data" label="IMGT zip file" />
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">
33 <param name="file" format="peptideshaker_archive" type="data" label="IMGT zip file" />
34 </repeat>
35 </when>
36 </conditional>
13 <param name="label" type="text" label="A name for the new dataset" size="25"> 37 <param name="label" type="text" label="A name for the new dataset" size="25">
14 <validator type="length" message="Fill in a name for the new dataset" min="1" /> 38 <validator type="regex" message="Fill in a name for the new dataset">.+</validator>
15 </param> 39 </param>
16 </inputs> 40 </inputs>
17 <outputs> 41 <outputs>
18 <data format="peptideshaker_archive" name="out_file" label="${label}"/> 42 <data format="peptideshaker_archive" name="out_file" label="${label}"/>
19 </outputs> 43 </outputs>