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.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

Supported by

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