I tried to run the FMAP_all.pl script on multiple datasets (the example dataset among them) and got the following error message every time at the mapping step:
Error: Error calling stat on file [filepath]
" is not available.a/FMAP/FMAP_mapping.pl: The input "[file]
After checking the .sh file created by the program, the problem seems to be that there is an "^M" ending after each filename.
Converting the .config and .sh files with the dos2unix tool solved the problem for me.
I tried to run the FMAP_all.pl script on multiple datasets (the example dataset among them) and got the following error message every time at the mapping step:
After checking the .sh file created by the program, the problem seems to be that there is an "^M" ending after each filename. Converting the .config and .sh files with the dos2unix tool solved the problem for me.