{ "info": { "author": "clintval", "author_email": "valentine.clint@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# snakescale\n\n[![Testing Status](https://travis-ci.org/clintval/snakescale.svg?branch=master)](https://travis-ci.org/clintval/snakescale)\n[![codecov](https://codecov.io/gh/clintval/snakescale/branch/master/graph/badge.svg)](https://codecov.io/gh/clintval/snakescale)\n[![Documentation Build Status](https://readthedocs.org/projects/snakescale/badge/?version=latest)](https://snakescale.readthedocs.io/en/latest/?badge=latest)\n[![PyPi Release](https://badge.fury.io/py/snakescale.svg)](https://badge.fury.io/py/snakescale)\n[![Anaconda-Server Badge](https://anaconda.org/clintval/snakescale/badges/version.svg)](https://anaconda.org/clintval/snakescale)\n[![Python Versions](https://img.shields.io/pypi/pyversions/snakescale.svg)](https://pypi.python.org/pypi/snakescale/)\n[![MyPy Checked](http://www.mypy-lang.org/static/mypy_badge.svg)](http://mypy-lang.org/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)\n\nNon-strict wrappers for the data pipelining language Snakemake.\n\n```bash\n\u276f pip install 'snakescale[full]'\n```\n\nFeatures:\n\n- Do the wrappers in the [official wrapper repository](https://bitbucket.org/snakemake/snakemake-wrappers) get you half of the way to writing rules in only Python syntax?\n- Do want your rules fully parameterized with the `input`, `output`, `resources`, and `params` keys only?\n- Do you want to use the builtin Python types as values to a rule?\n- Do you want to use the Snakemake resource system for JVM resources?\n- Do you want a Snakemake wrapper which hard-codes as little as possible besides the **style** of the CLI it's wrapping?\nRead the documentation at: [snakescale.readthedocs.io](http://snakescale.readthedocs.io/)\n- Snakescale does all this and is conda environment compatible!\n\nThis project aims to wrap bioinformatics utilities with style and variable converters instead of strict, inflexible shell templates. The wrappers in this project are unaware of the command line flags of the tool the wrapper is wrapping!\n\n## Example\n\n```python\nfrom snakescale import scale\n\nrule bedtools_subtract:\n input:\n a='data/a.bed',\n b='data/b.bed'\n output: 'data/result.bed'\n params:\n no_name_check=True,\n g='data/ref.genome'\n wrapper: scale('bedtools', 'subtract')\n```\n\nWhich executes this under the hood:\n\n```bash\n\u276f bedtools subtract -a data/a.bed -b data/b.bed -nonamecheck -g data/ref.genome > data/result.bed\n```\n\nBy invoking the following:\n\n```bash\n\u276f snakemake -F --use-conda\n\nBuilding DAG of jobs...\n\nCreating conda environment .../bedtools/subtract/environment.yaml...\nDownloading remote packages.\nEnvironment for .../bedtools/subtract/environment.yaml created (location: .snakemake/conda/32f9fcde)\nUsing shell: /usr/local/bin/bash\nProvided cores: 1\n\nRules claiming more threads will be scaled down.\nJob counts:\n\tcount\tjobs\n\t1\tbedtools_subtract\n\t1\n\n[Fri Dec 28 13:13:47 2018]\nrule bedtools_subtract:\n input: data/a.bed, data/b.bed\n output: data/result.bed\n jobid: 0\n\nActivating conda environment: .snakemake/conda/32f9fcde\n\n[Fri Dec 28 13:13:47 2018]\nFinished job 0.\n\n1 of 1 steps (100%) done\nComplete log: .snakemake/log/2018-12-28T131312.471617.snakemake.log\n```", "description_content_type": "text/markdown", "docs_url": null, "download_url": "https://github.com/clintval/snakescale/archive/v0.8.0.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/clintval/snakescale", "keywords": "snakemake pipeline wrapper", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "snakescale", "package_url": "https://pypi.org/project/snakescale/", "platform": "", "project_url": "https://pypi.org/project/snakescale/", "project_urls": { "Documentation": "https://snakescale.readthedocs.io", "Download": "https://github.com/clintval/snakescale/archive/v0.8.0.tar.gz", "Homepage": "https://github.com/clintval/snakescale", "Issue Tracker": "https://github.com/clintval/snakescale/issues" }, "release_url": "https://pypi.org/project/snakescale/0.8.0/", "requires_dist": null, "requires_python": "", "summary": "Non-strict wrappers for the data pipelining language Snakemake.", "version": "0.8.0" }, "last_serial": 4641919, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "a36c9372f40bf255820d03f4c9b074ec", "sha256": "cf7775431ab352a3f2bf957ca0ab4ea93560ba0e1fa1dddeccf4269d077dfca1" }, "downloads": -1, "filename": "snakescale-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a36c9372f40bf255820d03f4c9b074ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2893, "upload_time": "2018-12-27T18:10:11", "url": "https://files.pythonhosted.org/packages/ba/02/88769edc0dc8b4cd922089977955e53166703cbcc2dbbe3f1dbac7afa780/snakescale-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "588cd0e97a49e59526816ff6f386792d", "sha256": "4cf5b989aef26491a618d8fa3339f936da16f6a9e4237f8fe6a94e4ae34d0540" }, "downloads": -1, "filename": "snakescale-0.3.0.tar.gz", "has_sig": false, "md5_digest": "588cd0e97a49e59526816ff6f386792d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 917950, "upload_time": "2018-12-28T04:45:18", "url": "https://files.pythonhosted.org/packages/e8/fa/540a3a11c742f923af6c5a83528e6e9a9381676e51806fb9253a7af61594/snakescale-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "123d12da90b8e9c429248d91f8dade6c", "sha256": "473f5757a422219f97a3f04429c84d8a65d4eac8779601563fe94c3948400d31" }, "downloads": -1, "filename": "snakescale-0.4.0.tar.gz", "has_sig": false, "md5_digest": "123d12da90b8e9c429248d91f8dade6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14882, "upload_time": "2018-12-28T05:45:05", "url": "https://files.pythonhosted.org/packages/ed/ae/340a4f861ed70b16e55e65e31471a8b789700fb33072cbbb6a21e1b4771e/snakescale-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "886f5d1ad676837ed096da59a0975b65", "sha256": "03c6bfa44a4096f308bed231000737380a19c297d4fb7913101adc266b24441c" }, "downloads": -1, "filename": "snakescale-0.5.0.tar.gz", "has_sig": false, "md5_digest": "886f5d1ad676837ed096da59a0975b65", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15014, "upload_time": "2018-12-28T16:41:11", "url": "https://files.pythonhosted.org/packages/e4/1e/487c8c9513ce2f87d9ed4b3d9a84e80e33f38f2a3eb3458c647377895c80/snakescale-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "ec0afc58c3eb6b5b9799dab21227091d", "sha256": "be810e60af9992794ff926b2d7e7502349ac61917c24d968588e3f8f4bb3cc04" }, "downloads": -1, "filename": "snakescale-0.6.0.tar.gz", "has_sig": false, "md5_digest": "ec0afc58c3eb6b5b9799dab21227091d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14880, "upload_time": "2018-12-28T17:50:31", "url": "https://files.pythonhosted.org/packages/d6/bc/781ae1e07c2c6e0ab6a2e2c91ebb73a099377e38a54bdfe1a47d02a93d29/snakescale-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "601fba81209919fa6c50a6b50ca9afdc", "sha256": "caaf9908b879786b990806ff0b10bde43e6182d5f27c3e716ea770b536d64e05" }, "downloads": -1, "filename": "snakescale-0.7.0.tar.gz", "has_sig": false, "md5_digest": "601fba81209919fa6c50a6b50ca9afdc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16169, "upload_time": "2018-12-28T18:26:06", "url": "https://files.pythonhosted.org/packages/37/58/0968e79604e49453bc3d9293c1c25c2845aee686dd838385697bbe3630a3/snakescale-0.7.0.tar.gz" } ], "0.8.0": [ { "comment_text": "", "digests": { "md5": "00eafb2b20a1266744ad3eb3f70145c0", "sha256": "2d36c082e86443d6269e25138f8dab54a736914386a0cbe0f96638ba008df3bd" }, "downloads": -1, "filename": "snakescale-0.8.0.tar.gz", "has_sig": false, "md5_digest": "00eafb2b20a1266744ad3eb3f70145c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8951, "upload_time": "2018-12-28T18:34:48", "url": "https://files.pythonhosted.org/packages/23/3a/f579c754a4e1f53e13cdf4a71ac0af69e60adcbfc7bbd26f19fded84ecf8/snakescale-0.8.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "00eafb2b20a1266744ad3eb3f70145c0", "sha256": "2d36c082e86443d6269e25138f8dab54a736914386a0cbe0f96638ba008df3bd" }, "downloads": -1, "filename": "snakescale-0.8.0.tar.gz", "has_sig": false, "md5_digest": "00eafb2b20a1266744ad3eb3f70145c0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8951, "upload_time": "2018-12-28T18:34:48", "url": "https://files.pythonhosted.org/packages/23/3a/f579c754a4e1f53e13cdf4a71ac0af69e60adcbfc7bbd26f19fded84ecf8/snakescale-0.8.0.tar.gz" } ] }