Hi all, I’m currently running the nf-core/methyls...
# methylseq
d
Hi all, I’m currently running the nf-core/methylseq pipeline (v3.0.0 with Nextflow v24.10.6) on single-end RRBS data and wanted to reach out with a few questions regarding trimming parameters. We’re getting high alignment percentages and solid methylation coverage across our samples, so overall the pipeline seems to be working really well — thank you for all the work that’s gone into this! That said, just to ensure we’re following best practices, I had a few questions about the trimming step: 1. I’m using the --rrbs flag, which I understand automatically trims 2 bp from the 3’ end in addition to adapter trimming. I also added --clip_r1 1 to remove 1 bp from the 5’ end. Is this additional trimming necessary or recommended for single-end RRBS reads?Based on some online guidance, it seems extra trimming from the 5’ end may not be required for single-end data. Can you confirm if --clip_r1 is needed in this case? 2. In general, how many base pairs would you recommend trimming from each end for single-end RRBS libraries? Should we stick with the default --rrbs behavior, or apply more aggressive trimming based on quality? We really appreciate any guidance you can provide! I'm pasting my current set up for reference:
nextflow run nf-core/methylseq \
       
-name 'nfcore_${sra_id}' \
       
-profile singularity \
       
--input '$sample_sheet' \
       
--outdir '$RESULTS_DIR/$sra_id' \
       
--fasta '$FASTA' \
       
--rrbs \
       
--skip_deduplication \
       
--aligner bismark \
       
--clip_r1 1 \
       
--cytosine_report \
       
--nextseq_trim 25 \
       
--cytosine_report \
       
--meth_cutoff 10 \
       
--minins 0 \
       
--maxins 500