Bio::Palantir::Parser::Motif - BiosynML DTD-derived internal class
version 0.201670
# TODO
ArrayRef of Bio::Palantir::Parser::Qualifier
Bio::Palantir::Parser::Location composed object
Returns the number of Qualifiers of the Motif.
# $motif is a Bio::Palantir::Parser::Motif my $count = $motif->count_qualifiers;
This method does not accept any arguments.
Returns all the Qualifiers of the Motif (not an array reference).
# $motif is a Bio::Palantir::Parser::Motif my @qualifiers = $motif->all_qualifiers;
Returns one Qualifier of the Motif by its index. You can also use negative index numbers, just as with Perl's core array handling. If the specified Qualifier does not exist, this method will return undef.
undef
# $motif is a Bio::Palantir::Parser::Motif my $qualifier = $motif->get_qualifier($index); croak "Qualifier $index not found!" unless defined $qualifier;
This method accepts just one argument (and not an array slice).
Shifts the first Qualifier of the array off and returns it, shortening the array by 1 and moving everything down. If there are no more Qualifiers in the array, returns undef.
# $motif is a Bio::Palantir::Parser::Motif while (my $qualifier = $motif->next_qualifier) { # process $qualifier # ... }
Returns the value of the element <motif_name>.
<motif_name
# $motif is a Bio::Palantir::Parser::Motif my $name = $motif->name;
Returns the value of the element <motif_type>.
<motif_type
# $motif is a Bio::Palantir::Parser::Motif my $type = $motif->type;
Returns the value of the element <sequence>.
<sequence
# $motif is a Bio::Palantir::Parser::Motif my $sequence = $motif->sequence;
Returns the value of the element <detail>.
<detail
# $gene is a Bio::FastParsers::Biosynml::Gene my $detail = $gene->detail;
Loic MEUNIER <lmeunier@uliege.be>
This software is copyright (c) 2019 by University of Liege / Unit of Eukaryotic Phylogenomics / Loic MEUNIER and 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::Palantir, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::Palantir
CPAN shell
perl -MCPAN -e shell install Bio::Palantir
For more information on module installation, please visit the detailed CPAN module installation guide.