annotate consense.xml @ 9:19d3ec566471 draft

Deleted selected files
author lijing
date Thu, 02 Nov 2017 12:49:05 -0400
parents 85a6e3a77554
children 9929063b59f9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
85a6e3a77554 consense
lijing
parents:
diff changeset
1 <tool id="consense" name="Phylip Consense" version="0.1.0">
85a6e3a77554 consense
lijing
parents:
diff changeset
2 <description>Consense reads a file of computer-readable trees and prints out (and may also write out onto a file) a consensus tree</description>
85a6e3a77554 consense
lijing
parents:
diff changeset
3 <stdio>
85a6e3a77554 consense
lijing
parents:
diff changeset
4 <exit_code range="1:" />
85a6e3a77554 consense
lijing
parents:
diff changeset
5 </stdio>
85a6e3a77554 consense
lijing
parents:
diff changeset
6 <command><![CDATA[
85a6e3a77554 consense
lijing
parents:
diff changeset
7 cp $infasta intree;
85a6e3a77554 consense
lijing
parents:
diff changeset
8 echo $inoptions | sed 's/; /\n/g; s/;/\n/g' | /usr/lib/phylip/bin/consense;
85a6e3a77554 consense
lijing
parents:
diff changeset
9 cp outfile $outfile;
85a6e3a77554 consense
lijing
parents:
diff changeset
10 cp outtree $outtree
85a6e3a77554 consense
lijing
parents:
diff changeset
11 ]]></command>
85a6e3a77554 consense
lijing
parents:
diff changeset
12 <inputs>
85a6e3a77554 consense
lijing
parents:
diff changeset
13 <param type="data" name="intree" format="txt" label="A series of trees in the Newick standard form" />
85a6e3a77554 consense
lijing
parents:
diff changeset
14 <param type="text" value= "Y;" name="inoptions" format="txt" label="Keyboard responses separated by semicolon and space (see example below)" />
85a6e3a77554 consense
lijing
parents:
diff changeset
15 </inputs>
85a6e3a77554 consense
lijing
parents:
diff changeset
16 <outputs>
85a6e3a77554 consense
lijing
parents:
diff changeset
17 <data name="outfile" format="txt" label="${tool.name} on ${on_string}: Outfile" />
85a6e3a77554 consense
lijing
parents:
diff changeset
18 <data name="outtree" format="txt" label="${tool.name} on ${on_string}: Tree" />
85a6e3a77554 consense
lijing
parents:
diff changeset
19 </outputs>
85a6e3a77554 consense
lijing
parents:
diff changeset
20
85a6e3a77554 consense
lijing
parents:
diff changeset
21 <help><![CDATA[
85a6e3a77554 consense
lijing
parents:
diff changeset
22 **What it does**
85a6e3a77554 consense
lijing
parents:
diff changeset
23
85a6e3a77554 consense
lijing
parents:
diff changeset
24 Reference: http://evolution.genetics.washington.edu/phylip/doc/consense.html
85a6e3a77554 consense
lijing
parents:
diff changeset
25
85a6e3a77554 consense
lijing
parents:
diff changeset
26 **Prototyping keyboard response files**
85a6e3a77554 consense
lijing
parents:
diff changeset
27
85a6e3a77554 consense
lijing
parents:
diff changeset
28 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::
85a6e3a77554 consense
lijing
parents:
diff changeset
29
85a6e3a77554 consense
lijing
parents:
diff changeset
30 R; U; Y; R;
85a6e3a77554 consense
lijing
parents:
diff changeset
31
85a6e3a77554 consense
lijing
parents:
diff changeset
32 Testing the keyboard responses with an interactive run will be essential to having batch runs succeed.
85a6e3a77554 consense
lijing
parents:
diff changeset
33
85a6e3a77554 consense
lijing
parents:
diff changeset
34 ]]></help>
85a6e3a77554 consense
lijing
parents:
diff changeset
35
85a6e3a77554 consense
lijing
parents:
diff changeset
36 </tool>