Skip to main content

A Snakemake storage plugin that reads and writes from a locally mounted filesystem using rsync

Project description

snakemake-storage-plugin-fs

A Snakemake storage plugin that reads and writes from a locally mounted filesystem using rsync. This is particularly useful when running Snakemake on an NFS. Complex parallel IO patterns can slow down NFS quite substantially. The following Snakemake CLI flags allow to avoid such patterns by instructing Snakemake to copy any input to a fast local scatch disk and copying output files back to NFS at the end of a job.

snakemake --default-storage-provider fs --no-shared-fs --local-storage-prefix /local/work/$USER

with /local/work/$USER being the path to the local (non NFS) scratch dir. Alternatively, these options can be persisted in a profile:

default-storage-provider: fs
no-shared-fs: true
local-storage-prefix: /local/work/$USER

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snakemake_storage_plugin_fs-0.1.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

snakemake_storage_plugin_fs-0.1.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file snakemake_storage_plugin_fs-0.1.1.tar.gz.

File metadata

  • Download URL: snakemake_storage_plugin_fs-0.1.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.2.0-1015-azure

File hashes

Hashes for snakemake_storage_plugin_fs-0.1.1.tar.gz
Algorithm Hash digest
SHA256 19730e9110351b1f1c37837b5ddb3c373577979061092300cc1f4e4404ec84b3
MD5 7d6c39d154359128c63be574e4de09d0
BLAKE2b-256 f0ba468cc2e1558b34e12dc6351833c21cb9e46f532112f33154fdf276282634

See more details on using hashes here.

File details

Details for the file snakemake_storage_plugin_fs-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for snakemake_storage_plugin_fs-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 03bfa96b0a36ebff03ec95d6e60f168007671b23b7577850451b05b2d50bae92
MD5 964baf3e2e7b5d7bf115c6b393e18d4a
BLAKE2b-256 c8d471a5b362dcd25dacc113fa954547b6e1e7ca1010b2e4c3518c3d547b528c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page