NAME
Bio::Tools::TargetP - Results of one TargetP run
SYNOPSIS
use Bio::Tools::TargetP;#filename for TargetP result :$targetp = Bio::Tools::TargetP->new(-file => 'targetp.out');# filehandle for TargetP :$targetp = Bio::Tools::TargetP->new( -fh => \*INPUT );### targetp v1.1 prediction results ###################################Number of query sequences: 11#Cleavage site predictions included.#Using NON-PLANT networks.##Name Len mTP SP other Loc RC TPlen#----------------------------------------------------------------------#swall|Q9LIP3|C72Y_AR 500 0.245 0.935 0.009 S 2 22#swall|Q52813|AAPQ_RH 400 0.170 0.462 0.577 _ 5 -#swall|O86459|AAT_RHI 400 0.346 0.046 0.660 _ 4 -# parse the resultswhile($feature = $targetp->next_prediction()) {#$feature is a Bio::SeqFeature::Generic objectmy $method = $targetp->analysis_method();my $vesion = $targetp->analysis_method_version() || $feature->source();my $seqid = $feature->seq_id();# ...}# essential if you gave a filename at initialization (otherwise the file# will stay open)$targetp->close();
DESCRIPTION
TargetP modules will provides parsed information about protein localization. It reads in a targetp output file. It parses the results, and returns a Bio::SeqFeature::Generic object for each seqeunces found to have a subcellular localization
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 the Bioperl mailing list. 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 of the bugs and their resolution. Bug reports can be submitted via the web:
https://github.com/bioperl/bioperl-live/issues
AUTHORS - Emmanuel Quevillon
Email [email protected]
Describe contact details here
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
analysis_method
Usage : $self->analysis_method();Purpose : Inherited method. Overridden to ensure that the name matchesReturns : StringArgument : n/a
network
Title : networkUsage : $self->network($network)Function: This method Get/Set the network used for the analysis (PLANT or NON-PLANT)Example :Returns : stringArguments: On set, the network used
cleavage
Title : cleavageUsage : $self->cleavage($cleavage)Function : This method Get/Set if SignalP program was used to run TargetPExample :Returns : 1 or 0Arguments: On set, the cleavage used or not
next_prediction
Usage : $targetp->next_prediction()Purpose : Returns the next TargetP predictionReturns : A Bio::SeqFeature::Generic objectArguments: n/a
create_feature
Title : create_featureUsage : $self->create_feature(\%hash);Function : This method creates a new Bio::SeqFeature::Generic objectExample :Returns : Bio::SeqFeature::GenericArguments : hash reference
PRIVATE METHODS
_initialize_state
Title : _initialize_stateUsage : n/a; usually called by _initialize() itself called by new()Function: This method is supposed to reset the state such that any 'history'is lost. State information that does not change during objectlifetime is not considered as history, e.g. parent, name, etc shallnot be reset. An inheriting object should only be concerned withstate information it introduces itself, and for everything elsecall SUPER::_initialize_state(@args).The argument syntax is the same as for new() and _initialize(),i.e., named parameters following the -name=>$value convention.The following parameters are dealt with by the implementationprovided here:-INPUT, -FH, -FILE(tags are case-insensitive).Example :Returns :Args :
_predictions
Usage : $targetp->_prediction()Purpose : Returns the number of TargetP predictionsReturns : A scalar (number)Arguments: n/a
_parsed
Title : _parsedUsage : $targetp->_parsed(1)Function : This method is used to know if the output result is parsed or notFor internal use onlyExample :Returns : 1/0Arguments : 1/0 for setting
_parse_results
Title : _parse_resultsUsage : $self->_parse_results()Function : This method parses a TargetP outputFor internal use onlyExample :Returns : n/aArguments: none
_parse_line
Title : _parse_lineUsage : $self->_parse_line($line)Function : This method parses the line resultFor internal use onlyExample :Returns : Hash referenceArguemnts: line to parse
_add_feature
Title : _add_featureUsage : $self->_add_feature($feature)Function : This method stores a feature objectFor internal use onlyExample :Returns : n/aArguments: Bio::SeqFeature::Generic
_toString_location
Title : _toString_locationUsage : $self->_toString_location($key)Function : This method convert the 'one letter code' location tothe corresponding definitionFor internal use onlyExample :Returns : Location or undefArguments: String