[Bioperl-l] Bio::*Taxonomy* changes (Chris Fields)
Brian Osborne
osborne1 at optonline.net
Fri Jul 28 17:25:12 UTC 2006
Gabriel,
It looks like most of the Bioperl scripts use Getopt::Long. It's
documentation says, in part:
Options can take multiple values at once, for example
--coordinates 52.2 16.4 --rgbcolor 255 255 149
This can be accomplished by adding a repeat specifier to the option
specification. Repeat specifiers are very similar to the {...} repeat
specifiers that can be used with regular expression patterns. For example,
the above command line would be handled as follows:
GetOptions('coordinates=f{2}' => \@coor, 'rgbcolor=i{3}' => \@color);
So the arguments are space-delimited on the command line. Is the problem
that the names can be binomial?
Brian O.
On 7/28/06 12:35 PM, "Gabriel Valiente" <valiente at lsi.upc.edu> wrote:
> The minor one is provision for cmdline input.
> How would you like to input an array of names?
More information about the Bioperl-l
mailing list