Thanks for pointing that out! However, the script actually specifies the path to the directory with the executable using
Use Cwd; my $dir = getcwd;
and then uses
system("$dir/sub_programs/RPM_normalise_and_average.pl", "$exp_name", "$paths", "$rep_num");
This gives path/to/folder/Peak_Calling_for_CATaDa-master/sub_programs/... etc. I meant to say that the .pl executable is in that folder. Do you think that sounds correct?