Bio::Palantir::Roles::Modulable::Module - BiosynML DTD-derived internal class
version 0.191620
# TODO
ArrayRef of Bio::Palantir::Parser::Domain
Returns the number of Domains of the Module.
# $module is a Bio::Palantir::Parser::Module my $count = $module->count_domains;
This method does not accept any arguments.
Returns all the Domains of the Module (not an array reference).
# $module is a Bio::Palantir::Parser::Module my @domains = $module->all_domains;
Returns one Domain of the Module by its index. You can also use negative index numbers, just as with Perl's core array handling. If the specified Domain does not exist, this method will return undef.
undef
# $module is a Bio::Palantir::Parser::Module my $domain = $module->get_domain($index); croak "Domain $index not found!" unless defined $domain;
This method accepts just one argument (and not an array slice).
Shifts the first Domain of the array off and returns it, shortening the array by 1 and moving everything down. If there are no more Domains in the array, returns undef.
# $module is a Bio::Palantir::Parser::Module while (my $domain = $module->next_domain) { # process $domain # ... }
Returns a array of sorted domains by increasing start coordinate (by default, the list of domains should be built in the right order, so it is a security here).
# $module is a Bio::FastParsers::Biosynml::Module my @sorted_domains = $module->sort_domains;
Returns the size of the module.
# $module is a Bio::FastParsers::Biosynml::Module my $size = $module->size;
Returns the coordinates of the module.
# $module is a Bio::FastParsers::Biosynml::Module my $coordinates = $module->coordinates;
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.