NAME
Bio::Tools::TandemRepeatsFinder - a parser for Tandem Repeats Finder output
SYNOPSIS
use Bio::Tools::TandemRepeatsFinder;# create parsermy $parser = Bio::Tools::Bio::Tools::TandemRepeatsFinder->new(-file => 'tandem_repeats.out');# loop through resultswhile( my $feature = $parser->next_result ) {# print the source sequence id, start, end, percent matches, and the consensus sequencemy ($percent_matches) = $feat->get_tag_values('percent_matches');my ($consensus_sequence) = $feat->get_tag_values('consensus_sequence');print $feat->seq_id()."\t".$feat->start()."\t".$feat->end()."\t$percent_matches\t$consensus_sequence\n";}
DESCRIPTION
A parser for Tandem Repeats Finder output. Written and tested for version 4.00
Location, seq_id, and score are stored in Bio::SeqFeature::Generic feature. All other data is stored in tags. The available tags are
period_sizecopy_numberconsensus_sizepercent_matchespercent_indelspercent_apercent_cpercent_gpercent_tentropyconsensus_sequencerepeat_sequencerun_parameterssequence_description
The run_parameters are stored in a hashref with the following key:
match_weightmismatch_weightindel_weightmatch_probindel_probmin_scoremax_period_size
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
AUTHOR - Eric Just
Email [email protected]
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
new
Title : newUsage : my $obj = Bio::Tools::TandemRepeatsFinder->new();Function: Builds a new Bio::Tools::TandemRepeatsFinder objectReturns : Bio::Tools::TandemRepeatsFinderArgs : -fh/-file => $val, for initing input, see Bio::Root::IO
version
Title : versionUsage : $self->version( $version )Function: get/set the version of Tandem Repeats finder that was used in analysisReturns : value of version ofArgs : new value (optional)
_current_seq_id
Title : _current_seq_idUsage : $self->_current_seq_id( $current_seq_id )Function: get/set the _current_seq_idReturns : value of _current_seq_idArgs : new value (optional)
_current_seq_description
Title : _current_seq_descriptionUsage : $self->_current_seq_description( $current_seq_id )Function: get/set the _current_seq_descriptionReturns : value of _current_seq_descriptionArgs : new value (optional)
_current_parameters
Title : _current_parametersUsage : $self->_current_parameters( $parameters_hashref )Function: get/set the _current_parametersReturns : hashref representing current parameters parsed from results file: keys arematch_weightmismatch_weightindel_weightmatch_probindel_probmin_scoremax_period_sizeArgs : parameters hashref (optional)
next_result
Title : next_resultUsage : my $r = $trf->next_result()Function: Get the next result set from parser dataReturns : Bio::SeqFeature::GenericArgs : none
_create_feature
Title : _create_featureUsage : internal method used by 'next_feature'Function: Takes a line from the results file and creates a bioperl objectReturns : Bio::SeqFeature::GenericArgs : none