Skip to content

Conversation

@vervacity
Copy link
Collaborator

Sometimes MACS2 produces outputs (peaks and bedgraphs) that extend beyond the annotated chromosome lengths. Downstream tools (UCSC tools in particular) will complain about this. To fix, I put a slopBed in the sorting/cleaning steps of the MACS2 peak calling pipeline (going from raw MACS2 output into cleaned up files). Have run a test w/ ATAC data to make sure these don't break the pipeline, might be good to get second confirmation from one more run by someone else.

@vervacity vervacity requested review from csfoo and leepc12 May 25, 2017 02:00
@csfoo
Copy link
Collaborator

csfoo commented May 26, 2017

Did you try it on data that has the bad peaks and see if this fixes it?

@vervacity
Copy link
Collaborator Author

I've asked the person for the file - see #50 - I'll give it a try and let you know, though it seems pretty clear that MACS2 is outputting a peak that goes beyond the chromosome length. will keep you guys updated

@csfoo
Copy link
Collaborator

csfoo commented May 27, 2017

LGTM actually and I am seeing this issue. I will try it and check that this fixes it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants