I have installed TrimGalore and Cutadapt for Mac OSX but when I try to run TrimGalore I always get the error message:
Failed to execute Cutadapt porperly. Please install Cutadapt first and make sure it is in the PATH, or specify the path to the Cutadapt executable using --path_to_cutadapt /path/to/cutadapt
I know that I have installed cutadapt from following the instructions here: https://cutadapt.readthedocs.io/en/stable/installation.html#quick-installation
but how do I make sure that Cutadapt is in the path?
Add the location of
cutadapt
directory to your$PATH
by doingexport PATH=$PATH:/dir_containing_cutadapt
.