Skip to content

Commit

Permalink
update metaphlan module (#3661)
Browse files Browse the repository at this point in the history
  • Loading branch information
LilyAnderssonLee authored Jul 21, 2023
1 parent f2f4883 commit 1038d3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/nf-core/metaphlan/metaphlan/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ process METAPHLAN_METAPHLAN {
def bowtie2_out = "$input_type" == "--input_type bowtie2out" || "$input_type" == "--input_type sam" ? '' : "--bowtie2out ${prefix}.bowtie2out.txt"

"""
BT2_DB=`find -L "${metaphlan_db_latest}" -name "*rev.1.bt2l" -exec dirname {} \\;`
BT2_DB_INDEX=`find -L ${metaphlan_db_latest} -name "*.rev.1.bt2l" | sed 's/\\.rev.1.bt2l\$//' | sed 's/.*\\///'`
BT2_DB=`find -L "${metaphlan_db_latest}" -name "*rev.1.bt2*" -exec dirname {} \\;`
BT2_DB_INDEX=`find -L ${metaphlan_db_latest} -name "*.rev.1.bt2*" | sed 's/\\.rev.1.bt2.*\$//' | sed 's/.*\\///'`
metaphlan \\
--nproc $task.cpus \\
Expand Down

0 comments on commit 1038d3d

Please sign in to comment.