Bio::Palantir::Parser::Domain - BiosynML DTD-derived internal class
version 0.191800
# TODO
ArrayRef of Bio::Palantir::Parser::Motif
Bio::Palantir::Parser::Location composed object
Returns the number of Motifs of the Domain.
# $domain is a Bio::Palantir::Parser::Domain my $count = $domain->count_motifs;
This method does not accept any arguments.
Returns all the Motifs of the Domain (not an array reference).
# $domain is a Bio::Palantir::Parser::Domain my @motifs = $domain->all_motifs;
Returns one Motif of the Domain by its index. You can also use negative index numbers, just as with Perl's core array handling. If the specified Motif does not exist, this method will return undef.
undef
# $domain is a Bio::Palantir::Parser::Domain my $motif = $domain->get_motif($index); croak "Motif $index not found!" unless defined $motif;
This method accepts just one argument (and not an array slice).
Shifts the first Motif of the array off and returns it, shortening the array by 1 and moving everything down. If there are no more Motifs in the array, returns undef.
# $domain is a Bio::Palantir::Parser::Domain while (my $motif = $domain->next_motif) { # process $motif # ... }
Returns the value of the element <location}-{protein}->{sequence>>.
<location}-
# $domain is a Bio::Palantir::Parser::Domain my $protein_sequence = $domain->protein_sequence;
Returns the value of the element <location}-{protein}->{name>>.
# $domain is a Bio::Palantir::Parser::Domain my $protein_name = $domain->protein_name;
Returns the value of the element <nodeid>.
<nodeid
# $domain is a Bio::Palantir::Parser::Domain my $nodeid = $domain->nodeid;
Returns the value of the element <function>.
<function
# $domain is a Bio::Palantir::Parser::Domain my $function = $domain->function;
Returns the value of the element <subtype>.
<subtype
# $domain is a Bio::Palantir::Parser::Domain my $subtype = $domain->subtype;
Returns the value of the element <dstatus>.
<dstatus
# $domain is a Bio::Palantir::Parser::Domain my $dstatus = $domain->dstatus;
Returns the value of the element <label>.
<label
# $domain is a Bio::Palantir::Parser::Domain my $label = $domain->label;
Returns the value of the element <chemistry>.
<chemistry
# $domain is a Bio::Palantir::Parser::Domain my $chemistry = $domain->chemistry;
Returns the value of the element <substrate>.
<substrate
# $domain is a Bio::Palantir::Parser::Domain my $substrate = $domain->substrate;
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.