-
Notifications
You must be signed in to change notification settings - Fork 4
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
using directory() issues #31
Comments
I have had the same issue. It looks like the actual directories are published into gs://bucket/.snakemake/storage/gcs/{given-default-storage-prefix}/{specified-directory} |
yeah, locally the directories are created in This makes sense since blob storage doesnt necessarily share the concept of "directories" but I'm not sure why the new update has this effect when it worked before |
The test suite has been extended to also contain a directory test case. I have activated it here, where we can also apply eventually necessary fixes: #38 |
Seems to work fine now. Is this still an issue for you with the latest releases of the plugin, snakemake and the interface packages? |
Thanks @johanneskoester for looking into this. It doesnt look like its working still, but I just realized what @mbrenner-arbor mentioned since I think I have a fix |
Created a PR with #41. @johanneskoester let me know if this doesnt follow the plugin guidelines and I can ammend. thanks! |
Somewhat related but on the input side regarding downloading if a 'directory' prefix is passed as input. Several of the snakemake-wrappers point to a folder in the input (ie alignment index folders), should this plugin default to downloading to be with compatible with some of the wrappers? |
I don't understand the question - I think there is already support for downloading a directory? snakemake-storage-plugin-gcs/snakemake_storage_plugin_gcs/__init__.py Lines 366 to 367 in 30175aa
|
Sorry missed that change, thanks! I encountered an issue while using the Salmon Quant wrapper (https://snakemake-wrappers.readthedocs.io/en/stable/wrappers/salmon/quant.html) with a Kubernetes executor. The logs only show the retrieval of the main index directory
The salmon index is passed in a trailer slash. When explicitly setting each individual file from the index in a list it shows
It seems to work this way. |
Hi there,
I'm unsure if there is something I'm missing here or the
directory()
functionality is just not usable for the new plugins.It looks like there is an issue with the
mtime
being registered.Snakefile
Output
However, I can confirm that making files explicitly instead of using
directory
works:Snakefile
Output
snakemake-storage-plugin-gcs version:
$ python3 -m pip show snakemake-storage-plugin-gcs Name: snakemake-storage-plugin-gcs Version: 0.1.4 Summary: A Snakemake storage plugin for Google Cloud Storage Home-page: https://github.com/snakemake/snakemake-storage-plugin-gcs Author: Vanessa Sochat Author-email: sochat1@llnl.gov License: MIT Location: /home/bioinf/miniconda3/envs/sreadii-snakemake/lib/python3.12/site-packages Requires: google-cloud-storage, google-crc32c, snakemake-interface-common, snakemake-interface-storage-plugins Required-by:
The text was updated successfully, but these errors were encountered: