you forgot a quote here:
system "/home/rebecca/bs127/Predator/predator -fpredator.txt input_seq +uence.txt <---
Im assuming it is right in your script. You could try to use 'backticks' to catch the output:
my $output = `/home/rebecca/bs127/Predator/predator input_sequence.txt +`; open (FILE, ">predator.txt") or die $!; print FILE $output; close (FILE) or die $!;
About permissions, has your script got write permissions for the local directory?
hope it helps
In reply to Re: system call not working
by io
in thread system call not working
by Becky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |