3 # ## Bioperl Test Harness Script for Modules
8 test_begin
(-tests
=> 7);
9 use_ok
('Bio::Tools::Run::Profile');
15 my $db = test_input_file
('prosite.dat');
16 push @params, ('DB',$db);
17 my $factory = Bio
::Tools
::Run
::Profile
->new(@params);
18 isa_ok
$factory,'Bio::Tools::Run::Profile';
19 my $prot_file= test_input_file
('profile_prot.FastA');
21 my $seq1 = Bio
::Seq
->new();
22 my $seqstream = Bio
::SeqIO
->new(-file
=>$prot_file, -fmt
=>'Fasta');
23 $seq1 = $seqstream->next_seq();
26 test_skip
(-requires_executable
=> $factory,
29 my @feat = $factory->predict_protein_features($seq1);
31 isa_ok
$feat[0],'Bio::SeqFeatureI';
32 ok
($feat[0]->start, 15);
33 ok
($feat[0]->end, 340);