Bio::FastParsers::Blast::Xml::BlastOutput - NCBI BLAST DTD-derived internal class
version 0.173640
# TODO
ArrayRef of Bio::FastParsers::Blast::Xml::Iteration
Bio::FastParsers::Blast::Xml::Statistics composed object
Bio::FastParsers::Blast::Xml::Parameters composed object
Returns the number of Iterations of the BlastOutput.
# $blast_output is a Bio::FastParsers::Blast::Xml::BlastOutput my $count = $blast_output->count_iterations;
This method does not accept any arguments.
Returns all the Iterations of the BlastOutput (not an array reference).
# $blast_output is a Bio::FastParsers::Blast::Xml::BlastOutput my @iterations = $blast_output->all_iterations;
Returns one Iteration of the BlastOutput by its index. You can also use negative index numbers, just as with Perl's core array handling. If the specified Iteration does not exist, this method will return undef.
undef
# $blast_output is a Bio::FastParsers::Blast::Xml::BlastOutput my $iteration = $blast_output->get_iteration($index); croak "Iteration $index not found!" unless defined $iteration;
This method accepts just one argument (and not an array slice).
Shifts the first Iteration of the array off and returns it, shortening the array by 1 and moving everything down. If there are no more Iterations in the array, returns undef.
# $blast_output is a Bio::FastParsers::Blast::Xml::BlastOutput while (my $iteration = $blast_output->next_iteration) { # process $iteration # ... }
Returns the value of the element <BlastOutput_db>.
<BlastOutput_db
# $blast_output is a Bio::FastParsers::Blast::Xml::BlastOutput my $db = $blast_output->db;
Returns the value of the element <BlastOutput_program>.
<BlastOutput_program
# $blast_output is a Bio::FastParsers::Blast::Xml::BlastOutput my $program = $blast_output->program;
Returns the value of the element <BlastOutput_query-def>.
<BlastOutput_query-def
# $blast_output is a Bio::FastParsers::Blast::Xml::BlastOutput my $query_def = $blast_output->query_def;
Returns the value of the element <BlastOutput_query-ID>.
<BlastOutput_query-ID
# $blast_output is a Bio::FastParsers::Blast::Xml::BlastOutput my $query_id = $blast_output->query_id;
Returns the value of the element <BlastOutput_query-len>.
<BlastOutput_query-len
# $blast_output is a Bio::FastParsers::Blast::Xml::BlastOutput my $query_len = $blast_output->query_len;
Returns the value of the element <BlastOutput_query-seq>.
<BlastOutput_query-seq
# $blast_output is a Bio::FastParsers::Blast::Xml::BlastOutput my $query_seq = $blast_output->query_seq;
Returns the value of the element <BlastOutput_reference>.
<BlastOutput_reference
# $blast_output is a Bio::FastParsers::Blast::Xml::BlastOutput my $reference = $blast_output->reference;
Returns the value of the element <BlastOutput_version>.
<BlastOutput_version
# $blast_output is a Bio::FastParsers::Blast::Xml::BlastOutput my $version = $blast_output->version;
Alias for mbstat method. For API consistency.
mbstat
Alias for param method. For API consistency.
param
Denis BAURAIN <denis.baurain@uliege.be>
This software is copyright (c) 2013 by University of Liege / Unit of Eukaryotic Phylogenomics / Denis BAURAIN.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Bio::FastParsers, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::FastParsers
CPAN shell
perl -MCPAN -e shell install Bio::FastParsers
For more information on module installation, please visit the detailed CPAN module installation guide.