Skip to content

Commit

Permalink
Add share to interpro properties find path
Browse files Browse the repository at this point in the history
  • Loading branch information
mahesh-panchal committed Jul 1, 2024
1 parent ab2f579 commit 1fa4a09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/local/interproscan.nf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1fa4a09

Please sign in to comment.