2 use vars qw($NUMTESTS);
5 test_begin(-tests => 5);
6 use_ok('Bio::Tools::Run::Mdust');
10 my $input = Bio::SeqIO->new( -file => test_input_file('NM_002254.gb'),
11 -format => 'Genbank' );
13 my $seq = $input->next_seq;
15 my $mdust = Bio::Tools::Run::Mdust->new(
18 isa_ok $mdust, "Bio::Tools::Run::Mdust";
21 test_skip(-requires_executable => $mdust,
26 my @excluded = grep { $_->primary_tag eq 'Excluded' } $seq->top_SeqFeatures;
28 is (scalar(@excluded),3);
30 my $input2 = Bio::SeqIO->new( -file => test_input_file('NM_002254.tfa'),
33 my $seq2 = $input2->next_seq;
36 my $masked = $mdust->run($seq2);
38 like $masked->seq, qr/N+/;