snakemake-executor-plugin-cannon


Namesnakemake-executor-plugin-cannon JSON
Version 1.9.2.post2 PyPI version JSON
download
home_pageNone
SummaryA Snakemake executor plugin for submitting jobs to the Cannon cluster at Harvard University.
upload_time2025-10-29 16:40:05
maintainerNone
docs_urlNone
authorGregg Thomas
requires_python<4.0,>=3.11
licenseMIT
keywords snakemake plugin executor cluster slurm cannon harvard
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Snakemake executor plugin: cannon 

This is a fork of the [SLURM executor plugin for Snakemake](https://github.com/snakemake/snakemake-executor-plugin-slurm) for the [Cannon cluster at Harvard University](https://docs.rc.fas.harvard.edu/kb/running-jobs/). It has all the same features as the SLURM plugin, but performs automatic partition selection for the Cannon cluster based on the resources specified in a given Snakemake rule. It also offers some error checking for partition selection.

For full documentation, see the [Snakemake plugin catalog](https://snakemake.github.io/snakemake-plugin-catalog/plugins/executor/cannon.html).

## Installation

The executor can be installed [from PyPI](https://pypi.org/project/snakemake-executor-plugin-cannon/) with pip:

```bash
pip install snakemake-executor-plugin-cannon
```

Or [from bioconda](https://bioconda.github.io/recipes/snakemake-executor-plugin-cannon/README.html) with conda/mamba:

```bash
mamba install snakemake-executor-plugin-cannon
```

## Specifying the executor

To use the executor with Snakemake, either specify it in the command line as:

```bash
snakemake -e cannon ...
```

Or add it to your [profile](https://github.com/harvardinformatics/snakemake-executor-plugin-cannon/blob/main/docs/profile.md):

```YAML
executor: cannon
```

## Setting up your profile

While this plugin does automatic partition selection, the user is still responsible for specifying other resources for rules in their workflow. This is usually done through a cluster **profile**, but this may differ based on your workflow. 

See the [profile setup page](https://github.com/harvardinformatics/snakemake-executor-plugin-cannon/blob/main/docs/profile.md) for more information. 

An example profile can be found at [`tests/cannon-test-profile/config.yaml`](https://github.com/harvardinformatics/snakemake-executor-plugin-cannon/blob/main/tests/cannon-test-profile/config.yaml)

## Features

For full documentation, see the [Snakemake plugin catalog](https://snakemake.github.io/snakemake-plugin-catalog/plugins/executor/cannon.html).


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "snakemake-executor-plugin-cannon",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.11",
    "maintainer_email": null,
    "keywords": "snakemake, plugin, executor, cluster, slurm, cannon, harvard",
    "author": "Gregg Thomas",
    "author_email": "gthomas@fas.harvard.edu",
    "download_url": "https://files.pythonhosted.org/packages/bc/08/aee69db8a7319906ab32c5276526f421f3d33ff9054b14138d2450a99950/snakemake_executor_plugin_cannon-1.9.2.post2.tar.gz",
    "platform": null,
    "description": "# Snakemake executor plugin: cannon \n\nThis is a fork of the [SLURM executor plugin for Snakemake](https://github.com/snakemake/snakemake-executor-plugin-slurm) for the [Cannon cluster at Harvard University](https://docs.rc.fas.harvard.edu/kb/running-jobs/). It has all the same features as the SLURM plugin, but performs automatic partition selection for the Cannon cluster based on the resources specified in a given Snakemake rule. It also offers some error checking for partition selection.\n\nFor full documentation, see the [Snakemake plugin catalog](https://snakemake.github.io/snakemake-plugin-catalog/plugins/executor/cannon.html).\n\n## Installation\n\nThe executor can be installed [from PyPI](https://pypi.org/project/snakemake-executor-plugin-cannon/) with pip:\n\n```bash\npip install snakemake-executor-plugin-cannon\n```\n\nOr [from bioconda](https://bioconda.github.io/recipes/snakemake-executor-plugin-cannon/README.html) with conda/mamba:\n\n```bash\nmamba install snakemake-executor-plugin-cannon\n```\n\n## Specifying the executor\n\nTo use the executor with Snakemake, either specify it in the command line as:\n\n```bash\nsnakemake -e cannon ...\n```\n\nOr add it to your [profile](https://github.com/harvardinformatics/snakemake-executor-plugin-cannon/blob/main/docs/profile.md):\n\n```YAML\nexecutor: cannon\n```\n\n## Setting up your profile\n\nWhile this plugin does automatic partition selection, the user is still responsible for specifying other resources for rules in their workflow. This is usually done through a cluster **profile**, but this may differ based on your workflow. \n\nSee the [profile setup page](https://github.com/harvardinformatics/snakemake-executor-plugin-cannon/blob/main/docs/profile.md) for more information. \n\nAn example profile can be found at [`tests/cannon-test-profile/config.yaml`](https://github.com/harvardinformatics/snakemake-executor-plugin-cannon/blob/main/tests/cannon-test-profile/config.yaml)\n\n## Features\n\nFor full documentation, see the [Snakemake plugin catalog](https://snakemake.github.io/snakemake-plugin-catalog/plugins/executor/cannon.html).\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A Snakemake executor plugin for submitting jobs to the Cannon cluster at Harvard University.",
    "version": "1.9.2.post2",
    "project_urls": {
        "Documentation": "https://github.com/harvardinformatics/snakemake-executor-plugin-cannon",
        "Repository": "https://github.com/harvardinformatics/snakemake-executor-plugin-cannon"
    },
    "split_keywords": [
        "snakemake",
        " plugin",
        " executor",
        " cluster",
        " slurm",
        " cannon",
        " harvard"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "bec895a0131e33f2885376890c32e6470c38e5a4557b940ab6f3b783e1df0f4d",
                "md5": "85fc55b2c46c4d7458c25f850d99b010",
                "sha256": "3f3a4e17948ebe8e4a67811d9a956165d37a812292119afe13a35f6604ea9406"
            },
            "downloads": -1,
            "filename": "snakemake_executor_plugin_cannon-1.9.2.post2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "85fc55b2c46c4d7458c25f850d99b010",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.11",
            "size": 24204,
            "upload_time": "2025-10-29T16:39:57",
            "upload_time_iso_8601": "2025-10-29T16:39:57.736282Z",
            "url": "https://files.pythonhosted.org/packages/be/c8/95a0131e33f2885376890c32e6470c38e5a4557b940ab6f3b783e1df0f4d/snakemake_executor_plugin_cannon-1.9.2.post2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "bc08aee69db8a7319906ab32c5276526f421f3d33ff9054b14138d2450a99950",
                "md5": "1f037ac1f70413f3a0dd904fe8de3858",
                "sha256": "3587f103a135c3c906a008ac7d9982463801277ad72835d1c334e67062a5d38a"
            },
            "downloads": -1,
            "filename": "snakemake_executor_plugin_cannon-1.9.2.post2.tar.gz",
            "has_sig": false,
            "md5_digest": "1f037ac1f70413f3a0dd904fe8de3858",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.11",
            "size": 21618,
            "upload_time": "2025-10-29T16:40:05",
            "upload_time_iso_8601": "2025-10-29T16:40:05.395055Z",
            "url": "https://files.pythonhosted.org/packages/bc/08/aee69db8a7319906ab32c5276526f421f3d33ff9054b14138d2450a99950/snakemake_executor_plugin_cannon-1.9.2.post2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-10-29 16:40:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "harvardinformatics",
    "github_project": "snakemake-executor-plugin-cannon",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "snakemake-executor-plugin-cannon"
}
        
Elapsed time: 4.80842s