annotate seqboot.xml @ 2:706c69f2cec3 draft

dnapars
author lijing
date Thu, 02 Nov 2017 12:33:20 -0400
parents d54f08ba3264
children 9929063b59f9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1
d54f08ba3264 seqboot
lijing
parents:
diff changeset
1 <tool id="seqboot" name="Phylip Seqboot" version="0.1.0">
d54f08ba3264 seqboot
lijing
parents:
diff changeset
2 <description>Bootstrap, Jackknife, or Permutation Resampling of Molecular Sequence, Restriction Site, Gene Frequency or Character Data</description>
d54f08ba3264 seqboot
lijing
parents:
diff changeset
3 <stdio>
d54f08ba3264 seqboot
lijing
parents:
diff changeset
4 <exit_code range="1:" />
d54f08ba3264 seqboot
lijing
parents:
diff changeset
5 </stdio>
d54f08ba3264 seqboot
lijing
parents:
diff changeset
6 <command><![CDATA[
d54f08ba3264 seqboot
lijing
parents:
diff changeset
7 cp $infasta infile;
d54f08ba3264 seqboot
lijing
parents:
diff changeset
8 echo $inoptions | sed 's/; /\n/g; s/;/\n/g' | /usr/lib/phylip/bin/seqboot;
d54f08ba3264 seqboot
lijing
parents:
diff changeset
9 cp outfile $outfile
d54f08ba3264 seqboot
lijing
parents:
diff changeset
10 ]]></command>
d54f08ba3264 seqboot
lijing
parents:
diff changeset
11 <inputs>
d54f08ba3264 seqboot
lijing
parents:
diff changeset
12 <param type="data" name="infasta" format="txt" label="Txt format: aligned fasta sequences or other data types" />
d54f08ba3264 seqboot
lijing
parents:
diff changeset
13 <param type="text" value= "Y;" name="inoptions" format="txt" label="Keyboard responses separated by semicolon and space (see example below)" />
d54f08ba3264 seqboot
lijing
parents:
diff changeset
14 </inputs>
d54f08ba3264 seqboot
lijing
parents:
diff changeset
15 <outputs>
d54f08ba3264 seqboot
lijing
parents:
diff changeset
16 <data name="outfile" format="txt" label="${tool.name} on ${on_string}: Outfile" />
d54f08ba3264 seqboot
lijing
parents:
diff changeset
17 </outputs>
d54f08ba3264 seqboot
lijing
parents:
diff changeset
18
d54f08ba3264 seqboot
lijing
parents:
diff changeset
19 <help><![CDATA[
d54f08ba3264 seqboot
lijing
parents:
diff changeset
20 **What it does**
d54f08ba3264 seqboot
lijing
parents:
diff changeset
21
d54f08ba3264 seqboot
lijing
parents:
diff changeset
22 Reference: http://evolution.genetics.washington.edu/phylip/doc/seqboot.html
d54f08ba3264 seqboot
lijing
parents:
diff changeset
23
d54f08ba3264 seqboot
lijing
parents:
diff changeset
24 **Prototyping keyboard response**
d54f08ba3264 seqboot
lijing
parents:
diff changeset
25
d54f08ba3264 seqboot
lijing
parents:
diff changeset
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::
d54f08ba3264 seqboot
lijing
parents:
diff changeset
27
d54f08ba3264 seqboot
lijing
parents:
diff changeset
28 R; U; Y; R;
d54f08ba3264 seqboot
lijing
parents:
diff changeset
29
d54f08ba3264 seqboot
lijing
parents:
diff changeset
30
d54f08ba3264 seqboot
lijing
parents:
diff changeset
31 Testing the keyboard responses with an interactive run will be essential to having batch runs succeed.
d54f08ba3264 seqboot
lijing
parents:
diff changeset
32
d54f08ba3264 seqboot
lijing
parents:
diff changeset
33 ]]></help>
d54f08ba3264 seqboot
lijing
parents:
diff changeset
34
d54f08ba3264 seqboot
lijing
parents:
diff changeset
35 </tool>