Need a Bash file to run a perl script.
This is the Perl file.
#!/usr/bin/perl -w use strict; system "fastacmd -s $Q -d $NewQuery -o ./gifiles/$Q.$NewQuery.txt";
I have left alot out to avoid complications when understanding this script. Before using a bash command, the script did work with the variables defined.
Here is the Bash script
#!/bin/bash #$ -o $HOME/xREPLaunch_$JOB_ID.out #$ -e $HOME/xREPLaunch_$JOB_ID.err cd $HOME/Labwork/Dbfiles/results #$ -cwd perl xREPredoTop.pl
For some reason I keep getting this error
Can't exec "fastacmd": No such file or directory at xREPredoTop.pl line 78, <IN> line 1.
Really confused to why this is not working.