6
|
1 <tool id="modifyFasta" name="modify fasta">
|
|
2 <description>Extend or shring a list of sequences.</description>
|
|
3 <command interpreter="python"> ../Java/Python/modifyFasta.py -i $inputFile
|
|
4 #if $OptionStart.start == "Yes":
|
|
5 -s $OptionStart.startValue
|
|
6 #end if
|
|
7
|
|
8 #if $OptionEnd.end == "Yes":
|
|
9 -e $OptionEnd.endValue
|
|
10 #end if
|
|
11 -o $outputFile
|
|
12
|
|
13 </command>
|
|
14
|
|
15
|
|
16 <inputs>
|
|
17 <param name="inputFile" type="data" label="Input fasta File" format="fasta"/>
|
|
18 <conditional name="OptionStart">
|
|
19 <param name="start" type="select" label="keep first nucleotides">
|
|
20 <option value="Yes">Yes</option>
|
|
21 <option value="No" selected="true">No</option>
|
|
22 </param>
|
|
23 <when value="Yes">
|
|
24 <param name="startValue" type="integer" value="0"/>
|
|
25 </when>
|
|
26 <when value="No">
|
|
27 </when>
|
|
28 </conditional>
|
|
29
|
|
30 <conditional name="OptionEnd">
|
|
31 <param name="end" type="select" label="keep last nucleotides">
|
|
32 <option value="Yes">Yes</option>
|
|
33 <option value="No" selected="true">No</option>
|
|
34 </param>
|
|
35 <when value="Yes">
|
|
36 <param name="endValue" type="integer" value="0"/>
|
|
37 </when>
|
|
38 <when value="No">
|
|
39 </when>
|
|
40 </conditional>
|
|
41 </inputs>
|
|
42
|
|
43 <outputs>
|
|
44 <data format="fasta" name="outputFile" label="[modifyFasta] Output File"/>
|
|
45 </outputs>
|
|
46
|
|
47 <help>
|
|
48 </help>
|
|
49 </tool>
|