Skip to main content

submit hundreds of jobs to slurm automatically.

Project description

autosbatch

pypi python Build Status codecov License: MIT PyPI download month

submit hundreds of jobs to slurm automatically

Features

Sometimes, it's quite inconvenient when we submit hundreds of jobs to slurm. For example, one needs to align RNA-seq data from one hundred samples. He may start with a bash script that takes the fastq of one sample and write sbatch scripts which execute bash align.sh sample.fq multiple times. If he wants to run 50 samples at the same time, he should write 50 sbatch scripts and each script contains two align commands. Manually managing these sbatch scripts is inconvenient. autosbatch is very helpful for submitting slurm jobs automatically and it's just like the multiprocessing.Pool.

  • Automatically submit hundreds of jobs to Slurm with a few code.
  • The same usage as multiprocessing.Pool.
  • Provide command line tool for people who are not familiar with Python.

TODO

  • Support gpu allocation
  • Support MPI jobs

Credits

This package was created with Cookiecutter and the waynerv/cookiecutter-pypackage project template.

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

autosbatch-0.2.7.tar.gz (10.4 kB view hashes)

Uploaded Source

Built Distribution

autosbatch-0.2.7-py3-none-any.whl (9.8 kB view hashes)

Uploaded Python 3

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