Hi Rachid,
Thanks for you reply!
I'm just a bit confused as to how you intend these script to be used?
If i download and install CLARK according to the documentation, I cannot use the helper scripts to prepare the database for CLARK as the scripts contain relative paths to their dependencies. I'm not sure if I'm making sense here...
I expected to download and install CLARK somewhere (as an example, let's assume I install CLARK into ~/CLARK/), then be able to navigate to a directory of my choice, let's say ~/my_databases/, to prepare a database in here by running some command (e.g. set_targets.sh). This is not possible as the scripts are constructed now, not even if I call the script from my installation directory. For example, if I navigate to ~/my_databases/ and run ~/CLARK/set_targets.sh clark_bacteria_viruses_species_db bacteria viruses --species, it will fail as it cannot find all of the scripts that are referred to inside set_targets.sh using relative paths.
As I'm writing this I'm starting to realize you probably intended people to run all of these scripts from their install directory, giving long absolute paths to whatever database directory you want to use. Is that correct? It just feels like your design is very unusual and not like most other Linux tools I've used.
My expectation when installing any software in Linux is to 1) download and extract the source code; 2) sometimes compile some source code; 3) symlink binaries and executables to a directory on my path (normally ~/bin); 4) then run the program from whatever working directory I want.
All the best,
Fredrik