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

idr threshold #167

Open
shinlin77 opened this issue Apr 9, 2022 · 1 comment
Open

idr threshold #167

shinlin77 opened this issue Apr 9, 2022 · 1 comment

Comments

@shinlin77
Copy link

On my own data, I received this error

Exception: File is empty (rep5-pr1_vs_rep5-pr2.idr0.05.narrowPeak.gz). Help: No IDR peaks found. IDR threshold might be too stringent or replicates have very poor concordance.
Traceback (most recent call last):
File "/home/sl/.conda/envs/encode-atac-seq-pipeline/bin/encode_task_idr.py", line 213, in
main()
File "/home/sl/.conda/envs/encode-atac-seq-pipeline/bin/encode_task_idr.py", line 180, in main
'No IDR peaks found. IDR threshold might be too stringent '
File "/home/sl/.conda/envs/encode-atac-seq-pipeline/bin/encode_lib_common.py", line 218, in assert_file_not_empty
raise Exception('File is empty ({}). Help: {}'.format(f, help))
Exception: File is empty (rep5-pr1_vs_rep5-pr2.idr0.05.narrowPeak.gz). Help: No IDR peaks found. IDR threshold might be too stringent or replicates have very poor concordance.

How might I go about changing the IDR threshold? Alternatively, if there is poor concordance, is there a way to figure out which file is the problem? Thanks.

@leepc12
Copy link
Contributor

leepc12 commented May 12, 2022

Next time please post pipeline's issues on the corresponding pipeline's git repo.

Please find a final (filtered) BAM file and count number of reads in there.

$ find -name *.nodup.bam
$ samtools flagstat FOUND_BAM

Please refer to this document about IDR threshold. The pipeline is just a wrapper to this software.
https://github.com/kundajelab/idr

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