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

Q: AssertionError: No proper d can be found! Tweak --mfold? #677

Open
nanu23333 opened this issue Nov 22, 2024 · 0 comments
Open

Q: AssertionError: No proper d can be found! Tweak --mfold? #677

nanu23333 opened this issue Nov 22, 2024 · 0 comments

Comments

@nanu23333
Copy link

Dear MACS2 team,

Thank you for providing this excellent tool! However, I encountered an issue when running the following command:

macs2 callpeak \ -t /DataM/hhl/task/24_11_analysis/rqh_new/06remove_duplication_call_peak/01remove_duplication/EEEE/remove_duplication/E1IP.sorted.markdup.bam \ -c /DataM/hhl/task/24_11_analysis/rqh_new/06remove_duplication_call_peak/01remove_duplication/EEEE/remove_duplication/E2ku.sorted.markdup.bam \ -n E1_IP_E2_input \ -g hs \ --outdir /DataM/hhl/task/24_11_analysis/rqh_new/06remove_duplication_call_peak/02mapping/E1_IP_E2_input/ \ -B
When executing this, I encountered the following error:

Traceback (most recent call last): File "/DataC/miniconda3/bin/macs2", line 653, in <module> main() File "/DataC/miniconda3/bin/macs2", line 51, in main run(args) File "/DataC/miniconda3/lib/python3.10/site-packages/MACS2/callpeak_cmd.py", line 168, in run peakmodel = PeakModel(treatment = treat, File "MACS2/PeakModel.pyx", line 105, in MACS2.PeakModel.PeakModel.__init__ File "MACS2/PeakModel.pyx", line 147, in MACS2.PeakModel.PeakModel.build File "MACS2/PeakModel.pyx", line 229, in MACS2.PeakModel.PeakModel.__paired_peak_model AssertionError: No proper d can be found! Tweak --mfold?
I’m wondering why this error occurs. Could it be related to my input BAM files or parameter settings? Additionally, how can I resolve this issue?

Any guidance on properly adjusting the --mfold parameter or addressing this problem would be greatly appreciated.

Thank you in advance for your support!

Best regards,
Nanu

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

No branches or pull requests

1 participant