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

Getting error when running modkit dmr pair #208

Closed
agoel13 opened this issue Jun 16, 2024 · 5 comments
Closed

Getting error when running modkit dmr pair #208

agoel13 opened this issue Jun 16, 2024 · 5 comments
Labels
bug Something isn't working build-available custom build produced for fix.

Comments

@agoel13
Copy link

agoel13 commented Jun 16, 2024

Hi,

I am trying to run modkit (v0.3.0) dmr pair using replicates and getting following error

Error msg :
running with replicates, but not matched samples
thread 'main' panicked at src/hmm.rs:330:9:
e_s is not finite -inf
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace

For your reference here is my script:

modkit dmr pair
-a Norm1.bed.gz
-a Norm2.bed.gz
-b Tum1.bed.gz
-b Tum2.bed.gz
-b Tum3.bed.gz
-b Tum4.bed.gz
-o dmr_replicates_pair_segment.bed
--header
--segment dmr_segements.bed
--ref hg38.fa
--base C
--threads 16
--log-filepath dmr_pair_segment.log

While when I run the same script with only one pair of samples and no replicates, it completes without any errors.

PS: Without turning on the segment argument, the above script runs fine.

@ArtRand ArtRand added the bug Something isn't working label Jun 17, 2024
@ArtRand
Copy link
Contributor

ArtRand commented Jun 17, 2024

Hello @agoel13,

Sorry about that. Could you try the attached build and tell me if you continue to encounter the crash?

modkit_dev88c2107_centos7_x86_64.tar.gz

@agoel13
Copy link
Author

agoel13 commented Jun 18, 2024

Many thanks. Completed successfully without any error msgs.
When would this version be released? I would then update my pipeline with the released version.

@ArtRand
Copy link
Contributor

ArtRand commented Jun 19, 2024

@agoel13 Great. Yes this fix and a few others will be released this week. Thanks for testing it!

@agoel13
Copy link
Author

agoel13 commented Jun 19, 2024

Thanks. Looking forward to it.

@ArtRand ArtRand added the build-available custom build produced for fix. label Jun 19, 2024
@ArtRand
Copy link
Contributor

ArtRand commented Jun 24, 2024

This fix has been released in v0.3.1.

@ArtRand ArtRand closed this as completed Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build-available custom build produced for fix.
Projects
None yet
Development

No branches or pull requests

2 participants