Commands/procedure

From TNT

Jump to: navigation, search

PROCEDURE
Version: 1.1 (&XXX and :XXX; not available on Mac-OS-X; untested on Mac-Intel).
Menu path: to do.

Procedure
  Redirect input 
     XXX;   take commands from file XXX 
     /;     close input file (include at end of file) 
     :XXX;  read batch menu instructions from file XXX and run them 
     &XXX   read Fasta file XXX.  It must be aligned.  If not, all 
            sequences can be "equalized" to N characters, by adding 
            gaps at the end, if & is followed by =N (alternatively, 
            =N can be placed at the beggining of the file. 
  
Note that input may also be redirected automatically (almost  
   within any context) using "@@filename tagname;" (reading is 
   from point marked with "label tagname" on, with end of 
   automatic redirection indicated with @@; if a dash, -, is used 
   instead of tagname, the file is done from the begginning)

Example: read the file "guau.tnt" and take commands from it.

procedure guau.tnt;
Personal tools