Skip to content

Commit 4cde6fb

Browse files
authored
refactor pkl file munging
1 parent 4bd6007 commit 4cde6fb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

main.nf

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -413,12 +413,10 @@ process sample_to_markers {
413413
"""
414414
mkdir sample_to_markers
415415
416-
pkl_file=${params.store_dir}/metaphlan/\$(cat ${params.store_dir}/metaphlan/mpa_latest).pkl
417-
418416
sample2markers.py \
419417
--input ${metaphlan_sam} \
420418
--input_format bz2 \
421-
--database \$pkl_file \
419+
--database ${params.store_dir}/metaphlan/\$(cat ${params.store_dir}/metaphlan/mpa_latest).pkl \
422420
--nprocs ${task.cpus} \
423421
--output_dir sample_to_markers
424422

0 commit comments

Comments
 (0)