[Bioperl-l] Bio::Factory::SequenceFactoryI SYNOPSIS example

Hilmar Lapp hlapp at gmx.net
Fri Apr 11 15:35:54 UTC 2008


On Apr 11, 2008, at 4:53 AM, Adam Sjøgren wrote:
>  $ perl -e '
>>            use Bio::Seq::SeqFactory;
>>            my $seqbuilder = Bio::Seq::SeqFactory->new('type' =>  
>> 'Bio::PrimarySeq');


You need to prefix the argument with a dash: '-type', not 'type'.  
Otherwise, it assumes that the class you want instantiated is 'type.pm'.

	-hilmar
-- 
===========================================================
: Hilmar Lapp  -:-  Durham, NC  -:-  hlapp at gmx dot net :
===========================================================







More information about the Bioperl-l mailing list