sub filter_by_Species { print 'New Blast File Opened
'; open(my $newalign, '<', "blast_files/$newBlastFile") or die $!; print 'Filtering Data........Please wait

'; my @subjects; while <$newalign> { push @subjects, $_ if (/^>gi/) } print ''; print ''; print ''; for (@subjects) { chomp; my @elements = split '\|'; if($elements[-1] =~ /$species_filter/) { print "
StatusInformation on new hits
Match to $species_filter"; show_Output(0, $_, @elements); } } print'


'; }