Chris Cheshire
06/16/2025, 8:57 AMElias Nafziger
06/18/2025, 3:06 PMJΓΊlia Mir
07/11/2025, 12:15 PMmanifest.contributors in the nextflow.config file.
Please make sure to complete the template update for v3.3.1 and add the contributors field. You can read the blog post about the 3.3.1 template update and ping us if you encounter any problem.
Once you changed that in your dev branch, you will be able to continue receiving template updates.Fajr Baig
08/19/2025, 9:58 PMFrancesco Tabaro
08/21/2025, 4:14 PMminins and maxins Bowtie2 parameters. They default to 10 and 700 bp, which is a quite large interval. Am I reading this correctly? If yes, why do we have such wide window? Would it make sense to expose these parameters to end users so that they can decide on the fragment length cutoff to use?
I am now testing a solution with tunable parameters implemented by overwriting ext.args for the bowtie2 alignment process (to target genome only, no spike-in).Slackbot
09/04/2025, 6:53 PMSamantha Lee
09/15/2025, 1:12 PMError executing process > 'NFCORE_CUTANDRUN:CUTANDRUN:MARK_DUPLICATES_PICARD:BAM_SORT_STATS_SAMTOOLS:SAMTOOLS_INDEX (neuron_pd_R2)'
Caused by:
Process `NFCORE_CUTANDRUN:CUTANDRUN:MARK_DUPLICATES_PICARD:BAM_SORT_STATS_SAMTOOLS:SAMTOOLS_INDEX (neuron_pd_R2)` terminated with an error exit status (1)
Command executed:
samtools \
index \
-@ 21 \
\
neuron_pd_R2.target.markdup.sorted.0000-001.bam neuron_pd_R2.target.markdup.sorted.bam
cat <<-END_VERSIONS > versions.yml
"NFCORE_CUTANDRUN:CUTANDRUN:MARK_DUPLICATES_PICARD:BAM_SORT_STATS_SAMTOOLS:SAMTOOLS_INDEX":
samtools: $(echo $(samtools --version 2>&1) | sed 's/^.*samtools //; s/Using.*$//')
END_VERSIONS
Command exit status:
1
Command output:
(empty)
Command error:
INFO: Mounting image with FUSE.
WARNING: While bind mounting '/scratch/prj/bcn_marzi_lab/analysis_bulk_cutandtag_pd/work/e5/d1c2dc045d13cced476a542bd0c2c7:/scratch/prj/bcn_marzi_lab/analysis_bulk_cutandtag_pd/work/e5/d1c2dc045d13cced476a542bd0c2c7': destination is already in the mount point list
samtools index: use -M to enable indexing more than one alignment file
Work dir:
/scratch/prj/bcn_marzi_lab/analysis_bulk_cutandtag_pd/work/e5/d1c2dc045d13cced476a542bd0c2c7
Container:
/scratch/users/k2587336/analysis_bulk_cutandtag_pd/singularity/cache/depot.galaxyproject.org-singularity-samtools-1.17--h00cdaf9_0.img
Tip: view the complete command output by changing to the process work dir and entering the command `cat .command.out`
I've gotten this error several times, with different files (assuming it is whatever gets processed first).
I am using the create profile and have exported SINGULARITY_TMPDIR and NXF_SINGULARITY_CACHEDIR in by shell script to directories with more storage.
I don't think it is related to the previous singularity issues but could be wrong. I would appreciate any input - willing to fork and modify if necessary.Ernesto Rojas
09/22/2025, 9:10 PM./nextflow run /c4/home/erojas/nf/nf-core-cutandrun_3.2.2/3_2_2 \
-profile singularity \
--input /c4/home/erojas/data/cutandrun/somatic.csv \
--outdir /c4/home/erojas/data/cutandrun/nextflow_outs_somaticOnly \
--fasta /c4/home/erojas/genomes/refdata-gex-mm10-2020-A/fasta/genome.fa \
--gtf /c4/home/erojas/genomes/refdata-gex-mm10-2020-A/genes/genes.gtf \
--peakcaller 'seacr,MACS2' \
-c /c4/home/erojas/my.config \
--normalisation_mode 'RPKM'
I was able to get basically this file structure:
.
βββ 01_prealign
β βββ pretrim_fastqc
β β βββ AR_somatic_fresh_R1_1_fastqc.html
β β βββ AR_somatic_fresh_R1_1_fastqc.zip
β β βββ AR_somatic_fresh_R1_2_fastqc.html
β β βββ AR_somatic_fresh_R1_2_fastqc.zip
β β βββ AR_somatic_fresh_R2_1_fastqc.html
β β βββ AR_somatic_fresh_R2_1_fastqc.zip
β β βββ AR_somatic_fresh_R2_2_fastqc.html
β β βββ AR_somatic_fresh_R2_2_fastqc.zip
β β βββ IgG_somatic_somatic_fresh_R1_1_fastqc.html
β β βββ IgG_somatic_somatic_fresh_R1_1_fastqc.zip
β β βββ IgG_somatic_somatic_fresh_R1_2_fastqc.html
β β βββ IgG_somatic_somatic_fresh_R1_2_fastqc.zip
β βββ trimgalore
β βββ AR_somatic_fresh_R1_1.fastq.gz_trimming_report.txt
β βββ AR_somatic_fresh_R1_2.fastq.gz_trimming_report.txt
β βββ AR_somatic_fresh_R2_1.fastq.gz_trimming_report.txt
β βββ AR_somatic_fresh_R2_2.fastq.gz_trimming_report.txt
β βββ fastqc
β β βββ AR_somatic_fresh_R1_1.trimmed_fastqc.html
β β βββ AR_somatic_fresh_R1_1.trimmed_fastqc.zip
β β βββ AR_somatic_fresh_R1_2.trimmed_fastqc.html
β β βββ AR_somatic_fresh_R1_2.trimmed_fastqc.zip
β β βββ AR_somatic_fresh_R2_1.trimmed_fastqc.html
β β βββ AR_somatic_fresh_R2_1.trimmed_fastqc.zip
β β βββ AR_somatic_fresh_R2_2.trimmed_fastqc.html
β β βββ AR_somatic_fresh_R2_2.trimmed_fastqc.zip
β β βββ IgG_somatic_somatic_fresh_R1_1.trimmed_fastqc.html
β β βββ IgG_somatic_somatic_fresh_R1_1.trimmed_fastqc.zip
β β βββ IgG_somatic_somatic_fresh_R1_2.trimmed_fastqc.html
β β βββ IgG_somatic_somatic_fresh_R1_2.trimmed_fastqc.zip
β βββ IgG_somatic_somatic_fresh_R1_1.fastq.gz_trimming_report.txt
β βββ IgG_somatic_somatic_fresh_R1_2.fastq.gz_trimming_report.txt
βββ 02_alignment
β βββ bowtie2
β βββ target
β βββ dedup
β βββ log
β βββ markdup
βββ 03_peak_calling
β βββ 01_bam_to_bedgraph
β β βββ AR_somatic_fresh_R1.sorted.bedGraph
β β βββ AR_somatic_fresh_R2.sorted.bedGraph
β β βββ IgG_somatic_somatic_fresh_R1.sorted.bedGraph
β βββ 02_clip_bed
β β βββ AR_somatic_fresh_R1.clipped.bedGraph
β β βββ AR_somatic_fresh_R2.clipped.bedGraph
β β βββ IgG_somatic_somatic_fresh_R1.clipped.bedGraph
β βββ 03_bed_to_bigwig
β β βββ AR_somatic_fresh_R1.bigWig
β β βββ AR_somatic_fresh_R2.bigWig
β β βββ IgG_somatic_somatic_fresh_R1.bigWig
β βββ 04_called_peaks
β β βββ macs2
β β β βββ AR_somatic_fresh_R1.macs2.peaks.cut.bed
β β β βββ AR_somatic_fresh_R1.macs2_peaks.narrowPeak
β β β βββ AR_somatic_fresh_R1.macs2_peaks.xls
β β β βββ AR_somatic_fresh_R1.macs2_summits.bed
β β β βββ AR_somatic_fresh_R2.macs2.peaks.cut.bed
β β β βββ AR_somatic_fresh_R2.macs2_peaks.narrowPeak
β β β βββ AR_somatic_fresh_R2.macs2_peaks.xls
β β β βββ AR_somatic_fresh_R2.macs2_summits.bed
β β βββ seacr
β β βββ AR_somatic_fresh_R1.seacr.peaks.stringent.bed
β β βββ AR_somatic_fresh_R2.seacr.peaks.stringent.bed
β βββ 05_consensus_peaks
β β βββ AR.consensus.n2.bed
β β βββ AR.consensus.n2.ucsc.bed
β β βββ AR_somatic_fresh.seacr.consensus.peak_counts.bed
β β βββ AR_somatic_fresh.seacr.consensus.peaks.awk.bed
β βββ 06_fragments_from_bams
β βββ AR_somatic_fresh_R1.frags.cut.bed
β βββ AR_somatic_fresh_R1.frags.len.txt
β βββ AR_somatic_fresh_R2.frags.cut.bed
β βββ AR_somatic_fresh_R2.frags.len.txt
βββ 04_reporting
β βββ consensus_upset_plots
β βββ deeptools_heatmaps
β β βββ gene
β β β βββ AR_somatic_fresh_R1.computeMatrix.mat.gz
β β β βββ AR_somatic_fresh_R1.computeMatrix.vals.mat.tab
β β β βββ AR_somatic_fresh_R1.plotHeatmap.mat.tab
β β β βββ AR_somatic_fresh_R1.plotHeatmap.pdf
β β β βββ AR_somatic_fresh_R2.computeMatrix.mat.gz
β β β βββ AR_somatic_fresh_R2.computeMatrix.vals.mat.tab
β β β βββ AR_somatic_fresh_R2.plotHeatmap.mat.tab
β β β βββ AR_somatic_fresh_R2.plotHeatmap.pdf
β β βββ gene_all
β β β βββ all_genes.computeMatrix.mat.gz
β β β βββ all_genes.computeMatrix.vals.mat.tab
β β β βββ all_genes.plotHeatmap.mat.tab
β β β βββ all_genes.plotHeatmap.pdf
β β βββ peaks
β β βββ AR_somatic_fresh_R1.computeMatrix.mat.gz
β β βββ AR_somatic_fresh_R1.computeMatrix.vals.mat.tab
β β βββ AR_somatic_fresh_R1.plotHeatmap.mat.tab
β β βββ AR_somatic_fresh_R1.plotHeatmap.pdf
β β βββ AR_somatic_fresh_R2.computeMatrix.mat.gz
β β βββ AR_somatic_fresh_R2.computeMatrix.vals.mat.tab
β β βββ AR_somatic_fresh_R2.plotHeatmap.mat.tab
β β βββ AR_somatic_fresh_R2.plotHeatmap.pdf
β βββ deeptools_qc
β β βββ all_bam.bamSummary.npz
β β βββ all_target_bams.plotCorrelation.mat.tab
β β βββ all_target_bams.plotCorrelation.pdf
β β βββ all_target_bams.plotPCA.pdf
β β βββ all_target_bams.plotPCA.tab
β β βββ AR_somatic_fresh_R1.plotFingerprint.pdf
β β βββ AR_somatic_fresh_R1.plotFingerprint.qcmetrics.txt
β β βββ AR_somatic_fresh_R1.plotFingerprint.raw.txt
β β βββ AR_somatic_fresh_R2.plotFingerprint.pdf
β β βββ AR_somatic_fresh_R2.plotFingerprint.qcmetrics.txt
β β βββ AR_somatic_fresh_R2.plotFingerprint.raw.txt
β β βββ IgG_somatic_somatic_fresh_R1.plotFingerprint.pdf
β β βββ IgG_somatic_somatic_fresh_R1.plotFingerprint.qcmetrics.txt
β β βββ IgG_somatic_somatic_fresh_R1.plotFingerprint.raw.txt
β βββ igv
β β βββ AR_somatic_fresh_R1.bigWig
β β βββ AR_somatic_fresh_R1.macs2.peaks.cut.bed
β β βββ AR_somatic_fresh_R1.seacr.peaks.stringent.bed
β β βββ AR_somatic_fresh_R2.bigWig
β β βββ AR_somatic_fresh_R2.macs2.peaks.cut.bed
β β βββ AR_somatic_fresh_R2.seacr.peaks.stringent.bed
β β βββ exp_files.txt
β β βββ genes.bed.bed.gz
β β βββ genes.bed.bed.gz.tbi
β β βββ genome.fa
β β βββ genome.fa.fai
β β βββ gff.igv.txt
β β βββ gtf.igv.txt
β β βββ IgG_somatic_somatic_fresh_R1.bigWig
β β βββ igv_files.txt
β β βββ igv_session.xml
β βββ multiqc
β β βββ multiqc_data
β β β βββ deeptools_plot_fingerprint_counts.txt
β β β βββ deeptools_plot_PCA.txt
β β β βββ mqc_bowtie2_pe_plot_1.txt
β β β βββ mqc_cutadapt_filtered_reads_plot_1.txt
β β β βββ mqc_cutadapt_trimmed_sequences_plot_3_Counts.txt
β β β βββ mqc_cutadapt_trimmed_sequences_plot_3_Obs_Exp.txt
β β β βββ mqc_deeptools_fingerprint_plot_1.txt
β β β βββ mqc_fastqc_adapter_content_plot_1.txt
β β β βββ mqc_fastqc_overrepresented_sequences_plot_1.txt
β β β βββ mqc_fastqc_per_base_n_content_plot_1.txt
β β β βββ mqc_fastqc_per_base_n_content_plot-2_1.txt
β β β βββ mqc_fastqc_per_base_sequence_quality_plot_1.txt
β β β βββ mqc_fastqc_per_base_sequence_quality_plot-2_1.txt
β β β βββ mqc_fastqc_per_sequence_gc_content_plot-2_Counts.txt
β β β βββ mqc_fastqc_per_sequence_gc_content_plot-2_Percentages.txt
β β β βββ mqc_fastqc_per_sequence_gc_content_plot_Counts.txt
β β β βββ mqc_fastqc_per_sequence_gc_content_plot_Percentages.txt
β β β βββ mqc_fastqc_per_sequence_quality_scores_plot_1.txt
β β β βββ mqc_fastqc_per_sequence_quality_scores_plot-2_1.txt
β β β βββ mqc_fastqc_sequence_counts_plot_1.txt
β β β βββ mqc_fastqc_sequence_counts_plot-2_1.txt
β β β βββ mqc_fastqc_sequence_duplication_levels_plot_1.txt
β β β βββ mqc_fastqc_sequence_duplication_levels_plot-2_1.txt
β β β βββ mqc_fastqc_sequence_length_distribution_plot_1.txt
β β β βββ mqc_picard_deduplication_1.txt
β β β βββ mqc_preseq_complexity_plot_molecules_1.txt
β β β βββ mqc_samtools_alignment_plot_1.txt
β β β βββ mqc_samtools-idxstats-mapped-reads-plot_Normalised_Counts.txt
β β β βββ mqc_samtools-idxstats-mapped-reads-plot_Observed_over_Expected_Counts.txt
β β β βββ mqc_samtools-idxstats-mapped-reads-plot_Raw_Counts.txt
β β β βββ mqc_samtools-idxstats-xy-plot_1.txt
β β β βββ multiqc_bowtie2.txt
β β β βββ multiqc_citations.txt
β β β βββ multiqc_consensus_peakcounts_plot.txt
β β β βββ multiqc_cutadapt.txt
β β β βββ multiqc_data.json
β β β βββ multiqc_fastqc_1.txt
β β β βββ multiqc_fastqc.txt
β β β βββ multiqc_fragment_lengths-plot.txt
β β β βββ multiqc_general_stats.txt
β β β βββ multiqc.log
β β β βββ multiqc_picard_dups.txt
β β β βββ multiqc_primary_peakcounts_plot.txt
β β β βββ multiqc_primary_peakrepro_plot.txt
β β β βββ multiqc_samtools_flagstat.txt
β β β βββ multiqc_samtools_idxstats.txt
β β β βββ multiqc_samtools_stats.txt
β β β βββ multiqc_software_versions.txt
β β β βββ multiqc_sources.txt
β β β βββ picard_histogram_1.txt
β β β βββ picard_histogram_2.txt
β β β βββ picard_histogram.txt
β β β βββ preseq.txt
β β βββ multiqc_plots
β β β βββ pdf
β β β βββ png
β β β βββ svg
β β βββ multiqc_report.html
β βββ preseq
β βββ AR_somatic_fresh_R1.command.log
β βββ AR_somatic_fresh_R1.lc_extrap.txt
β βββ AR_somatic_fresh_R2.command.log
β βββ AR_somatic_fresh_R2.lc_extrap.txt
β βββ IgG_somatic_somatic_fresh_R1.command.log
β βββ IgG_somatic_somatic_fresh_R1.lc_extrap.txt
I did read the cutandrun output website but have still been struggling with what to use as input.
Is it best to use:
"AR somatic Rep1" = file.path(base_som, "04_reporting/igv/AR_somatic_fresh_R1.seacr.peaks.stringent.bed"),
"AR somatic Rep2" = file.path(base_som, "04_reporting/igv/AR_somatic_fresh_R2.seacr.peaks.stringent.bed")
as the input?
If anyone has a good website or GitHub that shows downstream analyses that would be incredibly helpful.
THANK YOU!Theodoros Georgomanolis
10/06/2025, 9:03 AMFajr Baig
10/08/2025, 3:51 PMNora Feldker
10/13/2025, 2:18 PMmacs2 callpeak --nomodel --shift -75 --extsize 150 --format BAMPE [plus some additional parameters]. I was wondering if someone could explain why the parameters --shift and --extsize are being used here, even though the format is set to BAMPE. As far as I understand, when using paired-end data, MACS2 determines fragment sizes directly from the read pairs, so shifting and extension shouldnβt be necessary.
Thanks a lot in advance for any clarification!Maxime Garcia
10/21/2025, 12:54 PMMateo Paz
10/29/2025, 10:36 AMtuple val(meta), path("*.html"), emit: html optional true
tuple val(meta), path("*.zip") , emit: zip optional true
to
tuple val(meta), path("*.html"), emit: html ,optional: true
tuple val(meta), path("*.zip") , emit: zip, optional: true
Just wanted to double check the issue ( or report the bug if that is the case).aubin thomas
11/07/2025, 3:27 PMnextflow run nf-core/cutandrun -r 3.2 -profile test --outdir test
I have the following error:
ERROR ~ Cannot invoke method optional() on null objectTheodoros Georgomanolis
11/27/2025, 11:52 AMfind . -name .command.sh -exec grep PREPARE_GENOME {} +
./c2/c797ab06f2174253f21e6967ffdf12/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:TARGET_CHROMSIZES":
./fa/92778c76e44cf45b735ddd3068a52c/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:GUNZIP_GTF":
./fa/4ac6c3f8d5b04fbedb1c589a95a143/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:BLACKLIST_AWK":
./85/4930125192e60b49a24f2a88a8a445/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SAMTOOLS_FAIDX":
./80/4104692b2efb320517ce04cbbee94e/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:ANNOTATION_BEDTOOLS_SORT":
./fd/8f1181b0635b561b6263eb6e963020/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:BOWTIE2_BUILD_TARGET":
./05/71083562175974053af74c0d786051/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SAMTOOLS_FAIDX":
./83/db9d854b6bf0d95f3fcbd0a1b9e10e/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SPIKEIN_CHROMSIZES":
./cb/57543c5a1efecf4ba607ba56966c84/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:TARGET_CHROMSIZES":
./6d/e2ee3777b85d8b5e19a304e238b745/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:TABIX_BGZIPTABIX":
./d1/d2b0ea03e24d8e00ab85b8f71d5231/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:TARGET_CHROMSIZES":
./d9/4b8ef78678c00000c9f1ff4cd2837a/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:GTF2BED":
./be/57761bd5cb1faa541d42d322525e7f/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SAMTOOLS_FAIDX":
./2b/6fa6a33787f47c4b7ff4d2a7c8d062/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SAMTOOLS_FAIDX":
./f3/ebf24521734bd586de535a4c2f4ebb/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:TARGET_CHROMSIZES":
./c6/8f1c66d8eaf32202ce98f59cf4fdd3/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:TABIX_BGZIPTABIX":
./68/b11b283917150d30229c80b4ce1478/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SPIKEIN_CHROMSIZES":
./4a/d667bbde8856fd2183197ec18ce0f6/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:ANNOTATION_BEDTOOLS_SORT":
./33/2d19140a229d4ab726a099eceeeefc/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:GUNZIP_GTF":
./1d/7755f9c43cbb9f1eda1a422c8f3795/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:BLACKLIST_AWK":
./1d/755d75aa0e2a31bc1b291e7f61ed97/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:GTF2BED":
./01/1dff493e86266edd77240ebde0843c/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SAMTOOLS_FAIDX":
./39/2bfd7cd52f01e159fcc8e45edf3f2e/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SPIKEIN_CHROMSIZES":
./e8/247b030c0344d13b3950ca5c7e4067/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SAMTOOLS_FAIDX":
./ca/fca365ef65f119a56ed6ea43041643/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:GUNZIP_FASTA":
./6c/6c84e05a8b1f7062ead757c9da81e1/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:GTF2BED":
./b6/33fbd76e3c8f08e63df23b8f14a2cf/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:BOWTIE2_BUILD_TARGET":
./23/f9bdd7777b45b8f01998578bb7de63/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SPIKEIN_CHROMSIZES":
./b9/8f92b41836061d9e549921e1d27258/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SPIKEIN_CHROMSIZES":
./8b/42a91c565f667f19bd579d5cbb7ec8/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:BLACKLIST_AWK":
./bf/4ef3fecd187ab09a0d04d2df230d6c/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:BOWTIE2_BUILD_TARGET":
./ba/ef6fc548ba53feef6115eea89a0e65/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:TARGET_CHROMSIZES":
./40/e98afa520f6b0f53cbf9243b8dde6d/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SPIKEIN_CHROMSIZES":
./40/b3e68f6b35c2202b0ec3d8b2472885/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SPIKEIN_CHROMSIZES":
./94/4965e2768db517312d6fd31262d29a/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SAMTOOLS_FAIDX":
./94/2285a82af3a50a5bd5e7f9f076a1c0/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:BOWTIE2_BUILD_TARGET":
./c5/c2b0a675a8ac1cf5a9797365109fe4/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:GTF2BED":
./4e/6da1e7af9ad242d8c02ccfb6285b77/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:ANNOTATION_BEDTOOLS_SORT":
./c8/215d2ef8fb35d6be4e90f6c3c4f42a/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:ANNOTATION_BEDTOOLS_SORT":
./38/76bd10c4c8adbe14a911fe0c2b0a75/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:TABIX_BGZIPTABIX":
./1f/c0369ba5a7e5591f6f00cd4c08693e/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:TARGET_CHROMSIZES":
./e7/cf5e4feec46d8a543573098717c078/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:BOWTIE2_BUILD_TARGET":
./e7/727f7ac0bac89614c8e46dc528091e/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:BOWTIE2_BUILD_TARGET":
./6b/1e6bee6453613575ac73e827fdb94f/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SAMTOOLS_FAIDX":
./54/ca32357f719c2a171a3c3e7b64b9d8/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:TABIX_BGZIPTABIX":
./b8/2119aaf3acc5f56a9f6e9694b03f13/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:BOWTIE2_BUILD_TARGET":
./b8/05c4456aa371d0e913ef2862640db8/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SPIKEIN_CHROMSIZES":
./b3/141b1f363edc1656aa0cc63e214a37/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:TARGET_CHROMSIZES":
./3c/0faa7825e881ac0773de3fa9e481a2/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:GTF2BED":
./d7/3feeef4c2dc792adb12b4963237e6c/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:GTF2BED":
./d2/ca75eb620db05a45c0c4468f946332/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:BOWTIE2_BUILD_TARGET":
./44/fc9a659c99237d5d09f6d40e32bc67/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:TABIX_BGZIPTABIX":
./44/73c7864a7dbeb2f948d4a2a68b9298/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:GTF2BED":
./47/f4c34b03e7d9ce1d90d6f535265c0d/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:GTF2BED":
./2e/4c7f44078630908965b261319a520d/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:TARGET_CHROMSIZES":
./2e/291e52e187901b96d2fd244c5c395b/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:BOWTIE2_BUILD_TARGET":
./2e/4a542f1364e479ad707e3048d1ba7f/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SAMTOOLS_FAIDX":
./12/36e24675b52aa9f6fed702eefb1c9e/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:SAMTOOLS_FAIDX":
./f1/2149deda9ad5fd2424fab15a9a7340/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:TARGET_CHROMSIZES":
./7a/c0da61055e60b4b41ae9f1612f08ba/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:GUNZIP_FASTA":
./10/a2761ad3c81961a3b200e7458e3861/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:GUNZIP_GTF":
./4d/660461186b449ca09df63cddc717cc/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:TARGET_CHROMSIZES":
./4d/3a9ef83d935db7e6a7493bf27c2a94/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:GUNZIP_FASTA":
./de/ca800637f7cab43cc2262564c8a899/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:BOWTIE2_BUILD_TARGET":
./de/2ece8da4152a477dbadc6dbd970d64/.command.sh:"NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:TABIX_BGZIPTABIX":
this is my param config:
{
"input": "\/scratch\/NGS_A006200317K36me3_K16ac\/no_control.csv",
"outdir": "\/scratch\/NGS_A006200317K36me3_K16ac\/NGS_A006200317_K36me3_K16ac_CUTandRUN",
"multiqc_title": "NGS_A006200317_K36me3_K16ac",
"igg_control" : false,
"use_control" : false,
"save_reference": true,
"save_spikein_aligned": true,
"save_align_intermed": true,
"email": ",
"dump_scale_factors": true,
"gtf": "\/home\/genome\/GRCm39\/gencode.vM36.basic.annotation.gtf.gz",
"fasta": "\/home\genome\/GRCm39\/GRCm39.primary_assembly.genome.fa.gz",
"blacklist": "\/scratch\/tgeorgom\/assemblies\/GRCm39\/annotation\/blaclist.Grcm39.bed",
"spikein_genome": "dm6",
"skip_removeduplicates": true,
"minimum_alignment_q_score": 2,
"remove_mitochondrial_reads": true,
"mito_name": "chrM",
"normalisation_binsize": 2000,
"peakcaller": "seacr,macs2",
"macs2_qvalue": 0.05,
"macs_gsize": 2654621783,
"replicate_threshold": 3,
"dt_qc_bam_binsize": 10000,
"dt_qc_corr_method": "spearman",
"dt_heatmap_gene_beforelen": 2000,
"dt_heatmap_gene_afterlen": 2000,
"dt_heatmap_peak_beforelen": 2000,
"dt_heatmap_peak_afterlen": 2000,
"singularity_pull_docker_container": true,
"skip_upset_plots" : false,
"skip_reporting" : false
}
and this is the error message:
Nov-27 09:36:27.680 [Actor Thread 136] ERROR nextflow.processor.TaskProcessor - Error executing process > 'NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:BLACKLIST_BEDTOOLS_INTERSECT (1)'
Caused by:
Input and output names are the same, use "task.ext.prefix" to disambiguate! -- Check script '/home/.nextflow/assets/nf-core/cutandrun/./workflows/../subworkflows/local/../../modules/nf-core/bedtools/intersect/main.nf' at line: 29
Source block:
def args = task.ext.args ?: ''
def prefix = task.ext.prefix ?: "${meta.id}"
extension = task.ext.suffix ?: "${intervals1.extension}"
def sizes = chrom_sizes ? "-g ${chrom_sizes}" : ''
if ("$intervals1" == "${prefix}.${extension}" ||
"$intervals2" == "${prefix}.${extension}")
error "Input and output names are the same, use \"task.ext.prefix\" to disambiguate!"
"""
bedtools \\
intersect \\
-a $intervals1 \\
-b $intervals2 \\
$args \\
$sizes \\
> ${prefix}.${extension}
cat <-END_VERSIONS versions.yml
"${task.process}":
bedtools: \$(bedtools --version | sed -e "s/bedtools v//g")
END_VERSIONS
"""
Container:
/scratch/temp/singularity/depot.galaxyproject.org-singularity-bedtools-2.30.0--hc088bd4_0.img
Tip: you can try to figure out what's wrong by changing to the process work dir and showing the script file named `.command.sh`
Nov-27 09:36:27.681 [Actor Thread 136] INFO nextflow.Session - Execution cancelled -- Finishing pending tasks before exit
Nov-27 09:36:27.696 [main] DEBUG nextflow.Session - Session await > all processes finished
Nov-27 09:36:27.697 [Actor Thread 109] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
task: name=NFCORE_CUTANDRUN:CUTANDRUN:ALIGN_BOWTIE2:BOWTIE2_SPIKEIN_ALIGN; work-dir=null
error [java.lang.InterruptedException]: java.lang.InterruptedException
Nov-27 09:36:27.697 [Task monitor] DEBUG n.processor.TaskPollingMonitor - <<< barrier arrives (monitor: slurm) - terminating tasks monitor poll loop
Nov-27 09:36:27.698 [main] DEBUG nextflow.Session - Session await > all barriers passed
Nov-27 09:36:27.701 [Actor Thread 131] DEBUG nextflow.processor.TaskProcessor - Handling unexpected condition for
task: name=NFCORE_CUTANDRUN:CUTANDRUN:PREPARE_GENOME:BLACKLIST_BEDTOOLS_INTERSECT; work-dir=null
error [java.lang.InterruptedException]: java.lang.InterruptedExceptionTheodoros Georgomanolis
11/27/2025, 5:22 PM"skip_removeduplicates": true,
"minimum_alignment_q_score": 2,
But, santools view tells a different story:
samtools view -@32 -c -F260 NGS_A006200317_K36me3_K16ac_CUTandRUN/02_alignment/bowtie2/target/AA5_H3K36me3_R1.target.filtered.bam
18764748
samtools view -@32 -c NGS_A006200317_K36me3_K16ac_CUTandRUN/02_alignment/bowtie2/target/AA5_H3K36me3_R1.target.filtered.bam
18764748
It is as if there are no duplicate, from whatever source, no multiple alignments etc.
These bam files are clean, as far as I can see and I do not think that this is optimal for the CUTandRUN or CUT and Tag mapping and further analysisFajr Baig
12/12/2025, 5:30 PMMegan Butler
01/02/2026, 2:36 AMFajr Baig
01/13/2026, 5:06 PMuser
01/26/2026, 6:32 AMTaimor Williams
03/02/2026, 8:26 PMTaimor Williams
03/04/2026, 5:01 PM.command.sh files in different work directories. Is there a recommended way to generate a consolidated or easier-to-follow command log to help track what commands were executed and debug issues more efficiently?Abhishek Thakkar
03/09/2026, 9:31 PMJames Fellows Yates
03/19/2026, 11:59 AMFajr Baig
04/15/2026, 3:59 PMERROR ~ Error executing process > 'NFCORE_CUTANDRUN:CUTANDRUN:SAMTOOLS_CUSTOMVIEW (E8-2_R1)'
Caused by:
Process `NFCORE_CUTANDRUN:CUTANDRUN:SAMTOOLS_CUSTOMVIEW (E8-2_R1)` terminated with an error exit status (139)
Command executed:
samtools view -F 0x04 -@ 4 E8-2_R1.target.markdup.sorted.bam | awk -F'\t' 'function abs(x){return ((x < 0.0) ? -x : x)} {print abs($9)}' | sort -T '.' | uniq -c | awk -v OFS="\t" '{print $2, $1/2}' > E8-2_R1.frags.len.txt
cat <<-END_VERSIONS > versions.yml
"NFCORE_CUTANDRUN:CUTANDRUN:SAMTOOLS_CUSTOMVIEW":
samtools: $(echo $(samtools --version 2>&1) | sed 's/^.*samtools //; s/Using.*$//')
END_VERSIONS
Command exit status:
139
Command output:
(empty)
Command error:
INFO: Environment variable SINGULARITYENV_TMPDIR is set, but APPTAINERENV_TMPDIR is preferred
INFO: Environment variable SINGULARITYENV_NXF_DEBUG is set, but APPTAINERENV_NXF_DEBUG is preferred
INFO: Environment variable SINGULARITYENV_NXF_TASK_WORKDIR is set, but APPTAINERENV_NXF_TASK_WORKDIR is preferred
.command.sh: line 2: 42 Broken pipeFajr Baig
04/15/2026, 4:00 PMJonathan Manning
04/30/2026, 3:47 PMMingkee Achom
05/22/2026, 4:54 PMnextflow run nf-core/cutandrun -profile test,docker --outdir ./test. I have also tried with my test samples and also with offline mode but I keep getting same error as-
WARN: Cannot read project manifest -- Cause: Config parsing failed. Error nextflow.config:353:14: Unexpected input: '('
β 353 | def check_max(obj, type) {
β° | ^ ERROR ~ Config parsing failed.
I believe check_max object has now been replaced by stricter syntax and so I also tried deleting while trying to run offline but the problem persist. Can anyone please help me on how to test run this properly? Is there anything wrong here? Thanks!mjramos
09/15/2026, 2:06 PMThomas Weber
10/15/2026, 7:32 PM