Bio::Factory::SequenceFactoryIBio::Factory::SequenceFactoryI is a Perl interface that allows for generic building of sequences in factories. | |
Download |
Bio::Factory::SequenceFactoryI Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Jason Stajich
- Publisher web site:
- http://search.cpan.org/~birney/bioperl-1.4/Bio/PopGen/IO.pm
Bio::Factory::SequenceFactoryI Tags
Bio::Factory::SequenceFactoryI Description
Bio::Factory::SequenceFactoryI is a Perl interface that allows for generic building of sequences in factories. Bio::Factory::SequenceFactoryI is a Perl interface that allows for generic building of sequences in factories which create sequences (like SeqIO).SYNOPSIS# do not use this object directly it is an interface # get a Bio::Factory::SequenceFactoryI object like use Bio::Seq::SeqFactory; my $seqbuilder = new Bio::Seq::SeqFactory('type' => 'Bio::PrimarySeq'); my $seq = $seqbuilder->create(-seq => 'ACTGAT', -display_id => 'exampleseq'); print "seq is a ", ref($seq), "n";A generic way to build Sequence objects via a pluggable factory. This reduces the amount of code that looks like if( $type eq 'Bio::PrimarySeq' ) { ... } elsif( $type eq 'Bio::Seq::RichSeq' ) { ... } Requirements: · Perl
Bio::Factory::SequenceFactoryI Related Software