annotate dnapars.xml @ 11:b26a630d9448 draft

Deleted selected files
author lijing
date Fri, 03 Nov 2017 11:34:08 -0400
parents 9929063b59f9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
5107c9510fe0 dnapars
lijing
parents:
diff changeset
1 <tool id="dnapars" name="Phylip DNAPARS" version="0.1.0">
5107c9510fe0 dnapars
lijing
parents:
diff changeset
2 <description>carries out unrooted parsimony on DNA sequences</description>
5107c9510fe0 dnapars
lijing
parents:
diff changeset
3 <stdio>
5107c9510fe0 dnapars
lijing
parents:
diff changeset
4 <exit_code range="1:" />
5107c9510fe0 dnapars
lijing
parents:
diff changeset
5 </stdio>
5107c9510fe0 dnapars
lijing
parents:
diff changeset
6 <command><![CDATA[
5107c9510fe0 dnapars
lijing
parents:
diff changeset
7 cp $infasta infile;
10
9929063b59f9 Phylip tools update
lijing
parents: 0
diff changeset
8 echo $inoptions | sed 's/$/\n/' | sed 's/, /\n/g; s/,/\n/g' | /usr/lib/phylip/bin/dnapars infile;
0
5107c9510fe0 dnapars
lijing
parents:
diff changeset
9 cp outfile $outfile;
5107c9510fe0 dnapars
lijing
parents:
diff changeset
10 cp outtree $outtree
5107c9510fe0 dnapars
lijing
parents:
diff changeset
11 ]]></command>
5107c9510fe0 dnapars
lijing
parents:
diff changeset
12 <inputs>
5107c9510fe0 dnapars
lijing
parents:
diff changeset
13 <param type="data" name="infasta" format="txt" label="Aligned fasta sequences" />
10
9929063b59f9 Phylip tools update
lijing
parents: 0
diff changeset
14 <param type="text" value= "Y" name="inoptions" format="txt" label="Keyboard responses separated by comma and space (see example below)" />
0
5107c9510fe0 dnapars
lijing
parents:
diff changeset
15 </inputs>
5107c9510fe0 dnapars
lijing
parents:
diff changeset
16 <outputs>
5107c9510fe0 dnapars
lijing
parents:
diff changeset
17 <data name="outfile" format="txt" label="${tool.name} on ${on_string}: Outfile" />
5107c9510fe0 dnapars
lijing
parents:
diff changeset
18 <data name="outtree" format="txt" label="${tool.name} on ${on_string}: Tree" />
5107c9510fe0 dnapars
lijing
parents:
diff changeset
19 </outputs>
5107c9510fe0 dnapars
lijing
parents:
diff changeset
20
5107c9510fe0 dnapars
lijing
parents:
diff changeset
21 <help><![CDATA[
5107c9510fe0 dnapars
lijing
parents:
diff changeset
22 **What it does**
5107c9510fe0 dnapars
lijing
parents:
diff changeset
23
5107c9510fe0 dnapars
lijing
parents:
diff changeset
24 This program carries out unrooted parsimony (analogous to Wagner trees) (Eck and Dayhoff, 1966; Kluge and Farris, 1969) on DNA sequences. The method of Fitch (1971) is used to count the number of changes of base needed on a given tree.
5107c9510fe0 dnapars
lijing
parents:
diff changeset
25 Reference: http://evolution.genetics.washington.edu/phylip/doc/dnapars.html
5107c9510fe0 dnapars
lijing
parents:
diff changeset
26
5107c9510fe0 dnapars
lijing
parents:
diff changeset
27 **Prototyping keyboard response files**
5107c9510fe0 dnapars
lijing
parents:
diff changeset
28
5107c9510fe0 dnapars
lijing
parents:
diff changeset
29 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::
5107c9510fe0 dnapars
lijing
parents:
diff changeset
30
10
9929063b59f9 Phylip tools update
lijing
parents: 0
diff changeset
31 R, U, Y, R
0
5107c9510fe0 dnapars
lijing
parents:
diff changeset
32
5107c9510fe0 dnapars
lijing
parents:
diff changeset
33 Testing the keyboard responses with an interactive run will be essential to having batch runs succeed.
5107c9510fe0 dnapars
lijing
parents:
diff changeset
34
5107c9510fe0 dnapars
lijing
parents:
diff changeset
35 ]]></help>
5107c9510fe0 dnapars
lijing
parents:
diff changeset
36
5107c9510fe0 dnapars
lijing
parents:
diff changeset
37 </tool>