-
Notifications
You must be signed in to change notification settings - Fork 859
port paragraph/idxdepth to nf-test #8543
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
Conversation
I think we should add an assert that checks if a cram file is being used in conda and fails in that case |
Strange stuff here, maybe the conda version uses a version of HTSLIB that's too old? Could you try specifying a newer version in the |
Did not help :( > Command error:
> [2025-05-23 12:10:39.725] [idxdepth] [1752] [info] BAM: test.paired_end.sorted.cram
> [2025-05-23 12:10:39.725] [idxdepth] [1752] [info] Reference: genome.fasta
> [2025-05-23 12:10:39.725] [idxdepth] [1752] [info] Output path: test.json
> [2025-05-23 12:10:39.725] [idxdepth] [1752] [info] Output path for binned coverage: test.tsv
> [E::hts_hopen] Failed to open file test.paired_end.sorted.cram.crai
> [E::hts_open_format] Failed to open file "test.paired_end.sorted.cram.crai" : Exec format error
> [2025-05-23 12:10:39.726] [idxdepth] [1756] [info] Thread 139931175351872 estimating depth for chr22
> [2025-05-23 12:10:39.733] [idxdepth] [1756] [info] Thread 139931175351872 done estimating depth for chr22 ; DP = 0.73 after 7.30496 us
> [2025-05-23 12:10:39.733] [idxdepth] [1752] [critical] Assertion failed: indexfile |
Too bad :/ strange that this happens for conda only though... Simon's idea might be the best solution here for now |
Did that now - how do we test for this though? |
Hmm, hard actually to test only on one platform. |
You could run a check to see if the process completes. If it completes, you run the snapshot check, otherwise you check the error message :p |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job!
PR checklist
Closes #7659
versions.yml
file.label
nf-core modules test <MODULE> --profile docker
nf-core modules test <MODULE> --profile singularity
nf-core modules test <MODULE> --profile conda
nf-core subworkflows test <SUBWORKFLOW> --profile docker
nf-core subworkflows test <SUBWORKFLOW> --profile singularity
nf-core subworkflows test <SUBWORKFLOW> --profile conda