Skip to content

Commit

Permalink
Fixed regex string in find command
Browse files Browse the repository at this point in the history
Escaped back-slashes.
  • Loading branch information
casslitch committed Jun 5, 2024
1 parent 296f5d8 commit d0a920f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/local/svprep/assemble/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ process GRIDSS_ASSEMBLE {
done
# Symlink indices next to assembly FASTA
ln -s \$(find -L ${genome_gridss_index} -regex '.*\.\(amb\|ann\|pac\|gridsscache\|sa\|bwt\|img\|alt\)') ./
ln -s \$(find -L ${genome_gridss_index} -regex '.*\\.\\(amb\\|ann\\|pac\\|gridsscache\\|sa\\|bwt\\|img\\|alt\\)') ./
# Run
gridss_svprep \\
Expand Down
2 changes: 1 addition & 1 deletion modules/local/svprep/call/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ process GRIDSS_CALL {
shadow_input_directory ${assemble_dir}
# Symlink indices next to assembly FASTA
ln -s \$(find -L ${genome_gridss_index} -regex '.*\.\(amb\|ann\|pac\|gridsscache\|sa\|bwt\|img\|alt\)') ./
ln -s \$(find -L ${genome_gridss_index} -regex '.*\\.\\(amb\\|ann\\|pac\\|gridsscache\\|sa\\|bwt\\|img\\|alt\\)') ./
# Run
gridss_svprep \\
Expand Down
2 changes: 1 addition & 1 deletion modules/local/svprep/preprocess/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ process GRIDSS_PREPROCESS {

"""
# Symlink indices next to assembly FASTA
ln -s \$(find -L ${genome_gridss_index} -regex '.*\.\(amb\|ann\|pac\|gridsscache\|sa\|bwt\|img\|alt\)') ./
ln -s \$(find -L ${genome_gridss_index} -regex '.*\\.\\(amb\\|ann\\|pac\\|gridsscache\\|sa\\|bwt\\|img\\|alt\\)') ./
gridss_svprep \\
${args} \\
Expand Down
2 changes: 1 addition & 1 deletion modules/local/virusbreakend/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ process VIRUSBREAKEND {

"""
# Symlink indices next to assembly FASTA
ln -s \$(find -L ${genome_gridss_index} -regex '.*\.\(amb\|ann\|pac\|gridsscache\|sa\|bwt\|img\|alt\)') ./
ln -s \$(find -L ${genome_gridss_index} -regex '.*\\.\\(amb\\|ann\\|pac\\|gridsscache\\|sa\\|bwt\\|img\\|alt\\)') ./
virusbreakend \\
${args} \\
Expand Down

0 comments on commit d0a920f

Please sign in to comment.