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

How to know the peaks called after clipper #111

Open
ELMMA-FUNNY opened this issue Sep 13, 2022 · 3 comments
Open

How to know the peaks called after clipper #111

ELMMA-FUNNY opened this issue Sep 13, 2022 · 3 comments

Comments

@ELMMA-FUNNY
Copy link

Hello,after I used the clipper,I found the three results:
4008101 Sep 13 20:30 EXAMPLE_PE.rep2_clip.A03.r1.fq.genome-mappedSo.rmDupSo.merged.r2.peakClusters.bed*
54949513 Sep 13 20:30 EXAMPLE_PE.rep2_clip.A03.r1.fq.genome-mappedSo.rmDupSo.merged.r2.peakClusters.bed.pickle*
13 Sep 13 20:30 EXAMPLE_PE.rep2_clip.A03.r1.fq.genome-mappedSo.rmDupSo.merged.r2.peakClusters.bed.tsv*

I want to konw how many peaks I called

and there is another question:
When i less EXAMPLE_PE.rep2_clip.A03.r1.fq.genome-mappedSo.rmDupSo.merged.r2.peakClusters.bed.tsv
its result is:
Nothing Here

Am I doing perfect in clipper?
I used clipper in docker:brianyee/clipper:Osativa7_branch

@byee4
Copy link
Member

byee4 commented Sep 13, 2022

wc -l <my_peaks.bed>

What's your command? That branch should be valid/working

@ELMMA-FUNNY
Copy link
Author

ELMMA-FUNNY commented Sep 14, 2022

My command is:
make the container:
docker run -itd -v /home/lulu/chenhui_project/eclip/changxin_lab:/home/lulu/chenhui_project/eclip/changxin_labbrianyee/clipper:Osativa7_branch /bin/bash
and then start and attach the docker brianyee/clipper:Osativa7_branch

clipper
--species hg19
--bam EXAMPLE_PE.rep2_clip.A03.r1.fq.genome-mappedSo.rmDupSo.merged.r2.bam
--save-pickle
--outfile EXAMPLE_PE.rep2_clip.A03.r1.fq.genome-mappedSo.rmDupSo.merged.r2.peakClusters.bed

And after I wc -l <my_peaks.bed>
The results are:
45369 EXAMPLE_PE.rep2_clip.A03.r1.fq.genome-mappedSo.rmDupSo.merged.r2.peakClusters.bed
23652 INPUT_PE.rep2_clip.NIL.r1.fq.genome-mappedSo.rmDupSo.merged.r2.peakClusters.bed

Am I doing right?

@byee4
Copy link
Member

byee4 commented Sep 14, 2022

Yup that appears right, however are you using the example data for paired end? If so, the numbers appear off from what we have (should be closer to ~150k peak clusters, which are then further normalized with the script below).

Let's check to make sure you're using the latest script, as the one in gscripts is deprecated and is no longer being updated:
https://raw.githubusercontent.com/YeoLab/eclip/master/bin/overlap_peakfi_with_bam.pl

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

No branches or pull requests

2 participants