Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slopBed chromsizes filter on raw MACS2 output #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

2 participants