Skip to content

Saved input bams for MACS2? #285

@bhanco

Description

@bhanco

Hi,

I am looking for the saved input bams for MACS2, these should have undergone all preprocessing stems including spike-in normalization (by downsampling reads to IGG or by spike-in reads to 10,000 I assume).

The documentations seems to suggest that these are saved.
From: https://nf-co.re/cutandrun/3.2.2/docs/output/
"The pipeline will output the .bam files with index and samtools stats for only the final set by default. For example, the full pipeline will only output picard duplicates processed files as this is the final step before peak calling."

But I can't find these final input bam files
02_alignment/bowtie2 only has deduped and marked duplicate files for the IGG. (dedup not expected to run on sample)

And from there 03_peak_calling/01_bam_to_bedgraph starts with .bedGraphs.

I ran with --saved_aligned_intermed true

But still can't find the files.

In an earlier comment an author response suggested MACS2 takes .bedGraph files. However, the input to macs2 seems to want a bam based on variable names.
"input:
tuple val(meta), path(ipbam), path(controlbam)
val macs2_gsize"

And based off the call in the main workflow:
MACS2_CALLPEAK_IGG (
ch_bam_paired,
params.macs_gsize
)
Where as seacr takes .bedGraph
SEACR_CALLPEAK_IGG (
ch_bedgraph_paired,
params.seacr_peak_threshold
)

The input for seacr I assume are the .bedGraph files in the 03_peak_calling dir I assume. But where are the inputs for MACS2?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions