comparison seqboot.xml @ 10:9929063b59f9 draft

Phylip tools update
author lijing
date Fri, 03 Nov 2017 11:33:55 -0400
parents d54f08ba3264
children
comparison
equal deleted inserted replaced
9:19d3ec566471 10:9929063b59f9
3 <stdio> 3 <stdio>
4 <exit_code range="1:" /> 4 <exit_code range="1:" />
5 </stdio> 5 </stdio>
6 <command><![CDATA[ 6 <command><![CDATA[
7 cp $infasta infile; 7 cp $infasta infile;
8 echo $inoptions | sed 's/; /\n/g; s/;/\n/g' | /usr/lib/phylip/bin/seqboot; 8 echo $inoptions | sed 's/$/\n/' | sed 's/, /\n/g; s/,/\n/g' | /usr/lib/phylip/bin/seqboot;
9 cp outfile $outfile 9 cp outfile $outfile
10 ]]></command> 10 ]]></command>
11 <inputs> 11 <inputs>
12 <param type="data" name="infasta" format="txt" label="Txt format: aligned fasta sequences or other data types" /> 12 <param type="data" name="infasta" format="txt" label="Txt format: aligned fasta sequences or other data types" />
13 <param type="text" value= "Y;" name="inoptions" format="txt" label="Keyboard responses separated by semicolon and space (see example below)" /> 13 <param type="text" value= "Y, 123" name="inoptions" format="txt" label="Keyboard responses separated by comma and space (see example below)" />
14 </inputs> 14 </inputs>
15 <outputs> 15 <outputs>
16 <data name="outfile" format="txt" label="${tool.name} on ${on_string}: Outfile" /> 16 <data name="outfile" format="txt" label="${tool.name} on ${on_string}: Outfile" />
17 </outputs> 17 </outputs>
18 18
23 23
24 **Prototyping keyboard response** 24 **Prototyping keyboard response**
25 25
26 Making the proper files of keyboard responses for use with command files is most easily done if you prototype the process by simply running the program and keeping a careful record of the keyboard responses that you need to give to get the program to run properly. Then create a file in an editor and type those keyboard responses into it. Thus if the program requires that you answer a question about what to do with the output file with a keyboard response of R, then wants you to type a menu selection of U (to have it use a User tree), then wants you to answer Y to end the menu, and another R to tell it to replace the output file, you would have the file of keyboard responses be:: 26 Making the proper files of keyboard responses for use with command files is most easily done if you prototype the process by simply running the program and keeping a careful record of the keyboard responses that you need to give to get the program to run properly. Then create a file in an editor and type those keyboard responses into it. Thus if the program requires that you answer a question about what to do with the output file with a keyboard response of R, then wants you to type a menu selection of U (to have it use a User tree), then wants you to answer Y to end the menu, and another R to tell it to replace the output file, you would have the file of keyboard responses be::
27 27
28 R; U; Y; R; 28 R, U, Y, R
29 29
30 30
31 Testing the keyboard responses with an interactive run will be essential to having batch runs succeed. 31 Testing the keyboard responses with an interactive run will be essential to having batch runs succeed.
32 32
33 ]]></help> 33 ]]></help>