Table of Contents


ExportAttributes

Export attributes to a tab-delimited file.

This method will export attribute data for a single entity type. The three parameters are the entity type, an optional entity instance ID, and an optional key name.

SQL-style patterns can be specified for the key name or instance ID. For example,

    ExportAttributes Feature "fig|100226.1%" "virulen%"

will get all virulence-related attributes for features of the 100226.1 genome. Omitting arguments causes them to be treated like pure wildcards. For example,

    ExportAttributes Feature

would get all attributes for all features.

The attributes will be exported to the standard output in tab-delimited format.

The currently-supported command-line options are as follows.

user

Name suffix to be used for log files. If omitted, the PID is used.

trace

Numeric trace level. A higher trace level causes more messages to appear. The default trace level is 2. Tracing will be to a traceUser.log file in the FIG temporary directory, where User is the value of the user option above. A bare number will send trace to the standard output as well as the trace log file. To prevent this, use a minus sign. Thus, 3 will trace into the standard output, but 3- will only go to the log file. Specify E to use emergency tracing.

sql

If specified, turns on tracing of SQL activity.

background

Save the standard and error output to files. The files will be created in the FIG temporary directory and will be named errUser.log and outUser.log, respectively, where User is the value of the user option above.

h

Display this command's parameters and options.

phone

Phone number to message when the script is complete.