Skip to content

Mango fails at Stage 4 - bedtools merge not accepting piped unspecified stdin #13

@iwanttobeabadger

Description

@iwanttobeabadger

Hi,

So when running Mango on the Heidari et al dataset I get a failure at stage 4 when it tries to extend peaks.

I've managed to fix this by editing the extendPeaks.R .... this change is necessary for bedtools v2.21.0 but I have not tested it on v.2.20.0 etc (but had previously managed to get the whole pipeline to run on an older system - not sure about versioning etc)

command = paste(bedtoolspath, " slop -i ",peaksfile, " -g ",bedtoolsgenome," -b ",peakslop,
" | ", bedtoolspath, " merge -i stdin -c 4 -o collapse > ",peaksfileslop,sep="")

This behaviour seems weird, but it could just be a bedtools feature/change, but it may be worth it to it specify directly.

HTH .... thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions