The default perl used in the perl scripts of GenMark-ES is `/usr/bin/perl`you may have to change it with your own path to perl.
For example if `/usr/local/perl-5.24.0/bin/perl` is your default perl, go into /usr/local/bioinfo/GeneMark-ES-4.38/gmes_peta and type the following command:
find . -type f -exec sed -i -e 's/\/usr\/bin\/perl/\/usr\/local\/perl-5.24.0\/bin\/perl/g' {} \;
Add /usr/local/bioinfo/GeneMark-ES-4.38 to the path :
Add /usr/local/bioinfo/GeneMark-ES-4.38 to the path :