jpuritz / dDocent

a bash pipeline for RAD sequencing
ddocent.com
MIT License
52 stars 41 forks source link

Incorrect path searching for dependent software #1

Closed andrewjrobinson closed 9 years ago

andrewjrobinson commented 10 years ago

The dDocent.FB script appears to lookup the location for the samtools executable and assumes that all its dependencies are also located here (e.g. rainbow, ddocent itself etc.). While this may work in common situations, it does not play happy with HPC environments where each software is installed in its own directory and activated via 'environment modules'. Please consider revising the software search code; looking up an environment variable such as RAINBOW_DIR etc. might be a good solution.

jpuritz commented 10 years ago

Thanks for the feedback. Yes, this is something that others have discovered. I'm working on implementing this in the next version along with a check for all installed dependencies.