Re: question about Bio::Tools::Run::Genewise
Dave Messina <David.Messina <at> sbc.su.se>
2010-05-02 09:59:07 GMT
Hi Dimitar,
The syntax you want is:
# Build a Genewise alignment factory
my $factory = Bio::Tools::Run::Genewise->new();
# turn on the quiet switch
$factory->QUIET(1);
# <at> genes is an array of Bio::SeqFeature::Gene::GeneStructure objects
my <at> genes = $factory->run($protein_seq, $genomic_seq);
This turns out be incorrectly documented on the man page, at least in part:
> Available Params:
>
> NB: These should be passed without the '-' or they will be ignored,
> except switches such as 'hmmer' (which have no corresponding value)
> which should be set on the factory object using the AUTOLOADed methods
> of the same name.
>
> Model [-codon,-gene,-cfreq,-splice,-subs,-indel,-intron,-null]
> Alg [-kbyte,-alg]
> HMM [-hmmer]
> Output [-gff,-gener,-alb,-pal,-block,-divide]
> Standard [-help,-version,-silent,-quiet,-errorlog]
That is, these don't work as expected:
$factory->quiet;
(Continue reading)