Description of feature
I want to use the fastp step in the oncoanalyser pipeline to trim polyG and adapters to save memory storage space and reduce the number of pipelines I am using. I understand that this can be done by changing the FASTP module's ext.argsin the config files with process selector. However, can the FASTP module be changed to save report and log files from the fastp process and publish them (json, html, log files)?
For example, add the last three lines to the fastp command:
"""
fastp \\
${args} \\
--in1 ${reads_fwd} \\
--in2 ${reads_rev} \\
${umi_args} \\
${split_by_lines_arg} \\
--thread ${task.cpus} \\
--out1 ${meta.sample_id}_${meta.library_id}_${meta.lane}_R1.fastp.fastq.gz \\
--out2 ${meta.sample_id}_${meta.library_id}_${meta.lane}_R2.fastp.fastq.gz \\
--json ${meta.sample_id}_${meta.library_id}_${meta.lane}.fastp.json \\
--html ${meta.sample_id}_${meta.library_id}_${meta.lane}.fastp.html \\
2> >(tee ${meta.sample_id}_${meta.library_id}_${meta.lane}.fastp.log >&2)
"""
I am still new to nextflow so I am not sure what other changes to the workflow files would be best to get those files published.
Thank you!
Description of feature
I want to use the fastp step in the oncoanalyser pipeline to trim polyG and adapters to save memory storage space and reduce the number of pipelines I am using. I understand that this can be done by changing the FASTP module's
ext.argsin the config files with process selector. However, can the FASTP module be changed to save report and log files from the fastp process and publish them (json, html, log files)?For example, add the last three lines to the fastp command:
I am still new to nextflow so I am not sure what other changes to the workflow files would be best to get those files published.
Thank you!