Skip to content

Commit

Permalink
Rename the decontaminated.txt file to SRRXXX_decontaminated_contigs.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
mberacochea committed May 30, 2024
1 parent 6e1a00e commit a80aac1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion conf/modules.config
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,10 @@ process {
mode: params.publish_dir_mode,
failOnError: true,
saveAs: {
return "${study_reads_folder()}/assembly/${meta.assembler}/${meta.assembler_version}/decontamination/decontaminated.txt";
filename -> {
def output_file = new File(filename);
return "${study_reads_folder()}/assembly/${meta.assembler}/${meta.assembler_version}/decontamination/${output_file.name}";
}
}
]
]
Expand Down

0 comments on commit a80aac1

Please sign in to comment.