Skip to content

Commit

Permalink
skip removing small fastq.gz files after the length filter with --lis…
Browse files Browse the repository at this point in the history
…t or --sample
  • Loading branch information
MarieLataretu authored Dec 20, 2024
1 parent b3b8620 commit f735010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/filter_fastq_by_length.nf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ process filter_fastq_by_length {
;;
esac
if [ ${params.samples} == false ]; then
if [ ${params.samples} == false ] && [ ${params.list} == false ]; then
find . -name "${name}_filtered.fastq.gz" -type 'f' -size -1500k -delete
fi
"""
Expand Down

0 comments on commit f735010

Please sign in to comment.