p3-rast¶
Annotate a Genome Using RAST¶
p3-rast.pl [ options ] taxonID name
This script invokes the RAST service over the web to annotate a genome. It will submit a FASTA file to RAST, wait for the job to finish, and then format the results into a JSON-form GenomeTypeObject.
Parameters¶
The input can be a contig-only GenomeTypeObject in JSON format or a contig FASTA file. The two positional parameters are the proposed taxonomic ID and the genome name. The command-line options in Input Options are used to specify the standard input. The additional command-line options are as follows.
gto
If specified, then the input file is presumed to be a contig object or a workspace contig object encoded in JSON format. The contigs must be in the form of a list attached to the
contigsmember or thecontigsmember of thedatamember (the latter indicating a workspace object).
domain
The domain of the new genome–
Bfor bacteria,Afor archaea, and so forth. The default isB.
geneticCode
The genetic code of the new genome. The default is
11.
user
User name for RAST access.
password
Password for RAST access.
sleep
Sleep interval in seconds while waiting for the job to complete. The default is
60.