jiwoongbio / FMAP

Functional Mapping and Analysis Pipeline for metagenomics and metatranscriptomics studies
Other
26 stars 12 forks source link

Running FMAP_all.pl on Linux -" File is not available #19

Open TakacsBertalan opened 3 years ago

TakacsBertalan commented 3 years ago

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.