diff --git a/modules/local/interproscan.nf b/modules/local/interproscan.nf index ecb7f33..ce9fa19 100644 --- a/modules/local/interproscan.nf +++ b/modules/local/interproscan.nf @@ -30,7 +30,7 @@ process INTERPROSCAN { if [ -d 'data' ]; then # Find interproscan.properties to link data/ from work directory INTERPROSCAN_DIR="\$( dirname "\$( dirname "\$( which interproscan.sh )" )" )" - INTERPROSCAN_PROPERTIES="\$( find "\$INTERPROSCAN_DIR" -name "interproscan.properties" )" + INTERPROSCAN_PROPERTIES="\$( find "\$INTERPROSCAN_DIR/share" -name "interproscan.properties" )" cp "\$INTERPROSCAN_PROPERTIES" . sed -i "/^bin\\.directory=/ s|.*|bin.directory=\$INTERPROSCAN_DIR/bin|" interproscan.properties export INTERPROSCAN_CONF=interproscan.properties