Bio::SearchIO::Writer::BSMLResultWriter - BSML output writer
use Bio::SearchIO; my $in = Bio::SearchIO->new(-file => 'result.blast', -format => 'blast'); my $out = Bio::SearchIO->new(-output_format => 'BSMLResultWriter', -file => ">result.bsml"); while( my $r = $in->next_result ) { $out->write_result($r); }
This is a writer to produce BSML for a search result.
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to the Bioperl mailing list. Your participation is much appreciated.
bioperl-l@bioperl.org - General discussion http://bioperl.org/wiki/Mailing_lists - About the mailing lists
Report bugs to the Bioperl bug tracking system to help us keep track of the bugs and their resolution. Bug reports can be submitted via the web:
http://bugzilla.open-bio.org/
Email jason-at-bioperl-dot-org
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
Title : new Usage : my $obj = Bio::SearchIO::Writer::BSMLResultWriter->new(); Function: Builds a new Bio::SearchIO::Writer::BSMLResultWriter object Returns : an instance of Bio::SearchIO::Writer::BSMLResultWriter Args :
Purpose : Produces data for each Search::Result::ResultI in a string. : This is an abstract method. For some useful implementations, : see ResultTableWriter.pm, HitTableWriter.pm, : and HSPTableWriter.pm. Usage : print $writer->to_string( $result_obj, @args ); Argument : $result_obj = A Bio::Search::Result::ResultI object : @args = any additional arguments used by your implementation. Returns : String containing data for each search Result or any of its : sub-objects (Hits and HSPs). Throws : n/a
To install Bio::Seq, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::Seq
CPAN shell
perl -MCPAN -e shell install Bio::Seq
For more information on module installation, please visit the detailed CPAN module installation guide.