Skip to content

Commit 7bed766

Browse files
zhuchcnzhuchcn
authored andcommitted
.getName() -> getSimpleName() for fastq files to avoid .fa.gz
1 parent 81247ea commit 7bed766

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pipeline/align-DNA.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ process align_BWA_mem_convert_SAM_to_BAM_samtools {
154154
publishDir path: params.log_output_dir,
155155
pattern: ".command.*",
156156
mode: "copy",
157-
saveAs: { "align_BWA_mem_convert_SAM_to_BAM_samtools/${file(read1_fastq).getName()}/log${file(it).getName()}" }
157+
saveAs: { "align_BWA_mem_convert_SAM_to_BAM_samtools/${file(read1_fastq).getSimpleName()}/log${file(it).getName()}" }
158158

159159
memory amount_of_memory
160160
cpus params.bwa_mem_number_of_cpus

0 commit comments

Comments
 (0)