Entering edit mode
3.2 years ago
Hello! this is my first time posting here.
I'm running a perl script but I keep on getting an error.
perl_script:
#!/usr/bin/perl
perl ../SSPACE_Basic_v2.0.pl -l libraries.txt -s contigs_C3.fasta -x 1 -o 20 -k 5 -a 0.7 -m 30 -b C3_with_extensions
error:
Search pattern not terminated at ./sspace_script_C3_readable_v2.sh line 3.
How I could fix this? Thank you!
The shebang (
#!
) line indicates that the code is perl code while you run shell code. Change it to#!/usr/bin/bash
It works! Thank you.