NAME
Bio::Tools::Run::Primate - wrapper for Primate, Guy Slater's near exact match finder for short sequence tags.
SYNOPSIS
use Bio::Tools::Run::Primate;use Bio::SeqIO;my $query = "primer.fa";my $target = "contig.fa";my @params = ("query" => $query,"target" => $target,"m"=>0);my $fact = Bio::Tools::Run::Primate->new(@params);my @feat = $fact->run;foreach my $feat(@feat) {print $feat->seqname."\t".$feat->primary_tag."\t".$feat->start."\t".$feat->end."\t".$feat->strand."\t".$feat->seq->seq."\n";}
DESCRIPTION
Primate is available under to ensembl-nci package at http://cvsweb.sanger.ac.uk/cgi-bin/cvsweb.cgi/ensembl-nci/?cvsroot=Ensembl
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:
http://redmine.open-bio.org/projects/bioperl/
AUTHOR - Shawn Hoon
Email [email protected]
APPENDIX
The rest of the documentation details each of the object methods. Internal methods are usually preceded with a _
program_name
Title : program_nameUsage : $factory>program_name()Function: holds the program nameReturns: stringArgs : None
program_dir
Title : program_dirUsage : $factory->program_dir(@params)Function: returns the program directory, obtained from ENV variable.Returns: stringArgs :
new
Title : newUsage : my $obj = Bio::Tools::Run::Primate->new()Function: Builds a new Bio::Tools::Run::Primate objetReturns : Bio::Tools::Run::PrimateArgs : query => the L<Bio::PrimarySeqI> object or a file pathtarget => the L<Bio::PrimarySeqI> object or a file pathm => the number of mismatches allowed, default 1(integer)b => [TRUE|FALSE] find best match, default FALSEexecutable=>where the program sits
version
Title : versionUsage : $primate->versionFunction: Determine the version number of the programReturns : float or undefArgs : none
search
Title : searchUsage : DEPRECATED. Use $factory->run() insteadFunction: Perform a primate searchReturns : Array of L<Bio::SeqFeature::Generic>Args :
run
Title : runUsage : @feat = $factory->run();Function: Perform a primate searchReturns : Array of L<Bio::SeqFeature::Generic>Args :
_run
Title : _runUsage : Internal function, not to be called directlyFunction: makes actual system call to dba programReturns : array of L<Bio::SeqFeature::Generic>Args : path to query and target file and parameter string
_parse_results
Title : _parse_resultsUsage : Internal function, not to be called directlyFunction: Passes primate outputReturns : array of L<Bio::SeqFeature::Generic>Args : the name of the output file
_setinput()
Title : _setinputUsage : Internal function, not to be called directlyFunction: Create input files for primateReturns : name of file containing query and targetArgs : query and target (either a filename or a L<Bio::PrimarySeqI>
_setparams()
Title : _setparamsUsage : Internal function, not to be called directlyFunction: Create parameter inputs for primate programReturns : parameter string to be passed to primateArgs : the param array
_query_seq()
Title : _query_seqUsage : Internal function, not to be called directlyFunction: get/set for the query sequenceReturns : a hash of seq with key the query tagArgs : optional
_target_seq()
Title : _target_seqUsage : Internal function, not to be called directlyFunction: get/set for the target sequenceReturns : L<Bio::PrimarySeqI>Args : optional