fix: detect cellranger version to determine output file paths dynamically and automatically#9
Conversation
…tect this for determining where outputs end up
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing touches🧪 Generate unit tests (beta)
Tip 📝 Customizable high-level summaries are now available in beta!You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.
Example instruction:
Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Just to clarify: are you waiting on a review from a user like me, or someone else (e.g. someone more familiar with "official" snakemake workflows? I've successfully used your main branch with cellranger v9 through Is it helpful if I try to do the same with this branch? I have to look again at the documentation but I think EDIT I'm trying. snakedeploy deploy-workflow https://github.com/snakemake-workflows/cellranger-multi . --branch fix/account-for-different-output-file-paths-with-cellranger-10-0-0 |
|
I'm confused. It seems to have crashed in the `post-deploy.sh' script. Needless to say that not even the 'results' subdirectory was created. I ran: nohup snakemake --cores all --sdm conda apptainer --default-resources runtime=720 and this is the content of my |
Hey @kevinrue, sorry, this pull request is not near being ready. There's too many other workflows and projects that have gotten in the way, so far. So unless you need some functionality that is only available in |
|
And the failure you are seeing in the |
It seems like the output file path in
cellranger multijust randomly changed for some files from version9.0.1to version10.0.0. So we have to make the workflow even more complicated. I filed an issue for reference here:10XGenomics/cellranger#267
First, we need to record the installed version of cellranger, to be able to detect this version reliably upon starting the workflow, to then determine where outputs end up. 🤯