Bio::Tools::PrositeScan - Parser for ps_scan result
use Bio::Tools::PrositeScan; my $factory = Bio::Tools::PrositeScan->new( -file => 'out.PrositeScan' ); while(my $match = $factory->next_prediction){ # $match is of Bio::SeqFeature::FeaturePair my $q_id = $fatch->feature1->seq_id; my $h_id = $fatch->feature2->seq_id; }
This is the parser of the output of ps_scan program. It takes either a file handler or a file name, and returns a Bio::SeqFeature::FeaturePair object.
Juguang Xiao, juguang@tll.org.sg
Title : new Usage : Bio::Tools::PrositeScan->new(-file => 'out.PrositeScan'); Bio::Tools::PrositeScan->new(-fh => \*FH); Returns : L<Bio::Tools::PrositeScan>
Title : new Usage : while($result = $factory->next_prediction){ ; } Returns : a Bio::SeqFeature::FeaturePair object
To install BioPerl, copy and paste the appropriate command in to your terminal.
cpanm
cpanm BioPerl
CPAN shell
perl -MCPAN -e shell install BioPerl
For more information on module installation, please visit the detailed CPAN module installation guide.