NAME
Bio::Matrix::PSM::PsmHeader - PSM mast parser implementation
SYNOPSIS
# See Bio::Matrix::PSM::IO for detailed documentation on how to use# PSM parsers
DESCRIPTION
Parser for mast. This driver unlike meme or transfac for example is dedicated more to PSM sequence matches
FEEDBACK
Mailing Lists
User feedback is an integral part of the evolution of this and other Bioperl modules. Send your comments and suggestions preferably to one of the Bioperl mailing lists. Your participation is much appreciated.
[email protected] - General discussionhttp://bioperl.org/wiki/Mailing_lists - About the mailing lists
Support
Please direct usage questions or support issues to the mailing list:
rather than to the module maintainer directly. Many experienced and reponsive experts will be able look at the problem and quickly address it. Please include a thorough description of the problem with code and data examples if at all possible.
Reporting Bugs
Report bugs to the Bioperl bug tracking system to help us keep track the bugs and their resolution. Bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
AUTHOR - Stefan Kirov
Email [email protected]
APPENDIX
new
Title : newUsage : my $header= Bio::Matrix::PSM::PsmHeader->new(-seq=>\%seq,-mid=>\%mid,-width=>\%width,-instances=>\%instances,-header=>\@header,-type=>'mast');Function: Creates a new Bio::Matrix::PSM::PsmHeader objectThrows :Example :Returns : Bio::Matrix::PSM::PsmHeader objectArgs : hash
seq
Title : seqUsage : my %seq= $header->seq();Function: Returns the sequence data as a hash, indexed by a sequence ID (motif id or accession number)In case the input data is a motif it would return the consenus seq for each of them (mast).Throws :Example :Returns : hashArgs :
hid
Title : hidUsage : my @hid= $header->hid();Function: Returns array with the motif idsThrows :Example :Returns : arrayArgs :
length
Title : lengthUsage : my %length= $header->length();Function: Returns the length of the input sequence or motifs as a hash, indexedby a sequence ID (motif id or accession number)Throws :Example :Returns : hashArgs :
instances
Title : instancesUsage : my %instances= $header->instances();Function: Returns the info about the input data, contained in the headerThrows :Example :Returns : hashArgs :
weight
Title : weightUsage : my %weights= $header->weight();Function: Returns the weights of the input sequence as a hash, indexedby a sequence IDThrows :Example :Returns : hashArgs :
unstuctured
Title : unstucturedUsage : my @unstructured= $header->unstuctured();Function: Returns the unstructured data in the header as an array, one line perarray element, all control symbols are removed with \WThrows :Example :Returns : arrayArgs :
version
Title : versionUsage : my $version= $header->version;Function: Returns the version of the file being parsed if such existsThrows :Example :Returns : stringArgs :
release
Title : releaseUsage : my $release= $header->release;Function: Returns the release of the file being parsed if such existsThrows :Example :Returns : stringArgs :
_check
Title : _checkUsage : if ($self->_check('weights') { #do something} else {return 0;}Function: Checks if the method called is aplicable to the file formatThrows :Example :Returns : booleanArgs : string