Hello, I have a MacOS Catalina - 10.15.4. Yesterday I downloaded Macports (latest version), gcc compiler (v5.5) and $gcc -v gave me the right version. Everything seems working. Downloaded fastuniq and followed the sourceforge installation page.
Open terminal window, and go to "source" folder of the FastUniq. Open the "makefile" file, go to the "GCC_OPTION" line which is used to define the compiler arguments. Your can alter it following the gcc compiler option's instructions as you needed.
When I run it, all I am getting is error:
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile ; exit;
(base) SheRa:~ shera$ /Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile ; exit;
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 1: fastq.h: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 2: fastq.o: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 4: -m64: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 6: all: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 8: objects: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 8: fastuniq: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 9: objects: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 9: GCC_OPTION: command not found
gcc: error: fastq_uniq.o: No such file or directory
gcc: fatal error: no input files
compilation terminated.
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 11: headers: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 11: fastq.o: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 12: GCC_OPTION: command not found
gcc: error: fastq.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 14: headers: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 14: fastq_pair.o: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 15: GCC_OPTION: command not found
gcc: error: fastq_pair.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 17: headers: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 17: fastq_pair_array.o: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 18: GCC_OPTION: command not found
gcc: error: fastq_pair_array.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 20: headers: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 20: fastq_uniq.o: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 21: GCC_OPTION: command not found
gcc: error: fastq_uniq.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 23: .PHONY: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 24: clean: command not found
/Users/shera/Desktop/Lab_Data/Download_packages/FastUniq/source/Makefile: line 25: objects: command not found
rm: fastq_uniq.o: No such file or directory
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.
[Process completed]
I appreciate any help. THanks.
I did.
I hope that means it is ready to be used.
Is there an executable that was created? Does it run? I got the same message when compiling on Centos7 but an executable was created. Just run the tool and see if it works. If not you can always install via a package manager such as anaconda to avoid compilation from source but I guess it should be fine now.
I dunno, I am still trying to figure it out. I have paired end fastq.gz files, apparently I need to create a list. Why there is no proper explanatory protocol, I had no problem with trimming with trim galore but stuck @ this stage for a day now.
Edit: I have anaconda :/ Is it for real that I could have run fastuniq without downloading all these (gcc, macports) stuff?
Yes, that is the idea of package managers. Conda will take care of all dependencies. Still, after compilation of the above command is there an executable called fastuniq in the source folder that you can run via
./fastuniq
? If so you are fine.