{ "info": { "author": "Igor R. Dejanovic", "author_email": "igor DOT dejanovic AT gmail DOT com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Snakemake utils\n===============\n\nA set of utility function for use in snakemake.\nCurrently, for line-based transformations.\n\nFunctions:\n\n* map_chars(cmap) - will translate characters using the given dictionary\n :code:`cmap`.\n* del_char_idx(idx) - will delete the char at the given index.\n* del_char(char) - will delete all characters matching :code:`char` param.\n* del_line(regex) - will delete line if it matches the given regex.\n* apply(trans, encoding, in_files, out_files) - will apply all transformations given in :code:`trans` list to all lines in the :code:`in_files` list producing output files from the :code:`out_files` list.\n\nExample\n-------\n\n.. code:: python\n\n rule fixchars:\n input:\n \"{natfile}.nat\"\n output:\n \"{natfile}-ch.nat\"\n message:\n \"Fixing/deleting chars/lines...\"\n\n run:\n from snakemakeutils import del_char_val, del_char_idx, apply\n trans = [del_char_val('\\x00'), del_char_idx(0)]\n apply(trans, \"latin1\", input, output)\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/igordejanovic/snakemakeutils/archive/v0.1.2.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/igordejanovic/snakemakeutils", "keywords": "make utils helper", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "snakemakeutils", "package_url": "https://pypi.org/project/snakemakeutils/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/snakemakeutils/", "project_urls": { "Download": "https://github.com/igordejanovic/snakemakeutils/archive/v0.1.2.tar.gz", "Homepage": "https://github.com/igordejanovic/snakemakeutils" }, "release_url": "https://pypi.org/project/snakemakeutils/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Snakemake utils", "version": "0.1.2" }, "last_serial": 1761658, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "cfc505c98d60dd12de68f6ed7e74e0be", "sha256": "63ab8a7fa888373aa8056ca0baf4e9be7c39e671793975a5a316b0a3034ad204" }, "downloads": -1, "filename": "snakemakeutils-0.1.tar.gz", "has_sig": false, "md5_digest": "cfc505c98d60dd12de68f6ed7e74e0be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1747, "upload_time": "2015-10-10T22:34:18", "url": "https://files.pythonhosted.org/packages/d6/ab/be45e2e8d35d924b2d5f72a0bad219c6510d02128643362a8832de11de1e/snakemakeutils-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "b66aac5338bc7e9fea5fdacd5777b1eb", "sha256": "2f43b65a4880c792d65d17febc76f334f1fc63668ed6fe89c668e1d7d7e1613d" }, "downloads": -1, "filename": "snakemakeutils-0.1.1.tar.gz", "has_sig": false, "md5_digest": "b66aac5338bc7e9fea5fdacd5777b1eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2927, "upload_time": "2015-10-10T22:40:19", "url": "https://files.pythonhosted.org/packages/3b/86/cf787d098f4ec88543f98291a573d81ad41dfe42f850d868a04859c075ed/snakemakeutils-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "ddc21e4d3de95d0be02356b336381153", "sha256": "254650a4b32629b4b5957e37e72b879453d4b5b09a66fb45ee0395cfaa6c00b4" }, "downloads": -1, "filename": "snakemakeutils-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ddc21e4d3de95d0be02356b336381153", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2981, "upload_time": "2015-10-10T22:47:01", "url": "https://files.pythonhosted.org/packages/3d/92/2332045acc02f37f913b7db27ae9c7fbcf0b01a8969ebc515aa9022995d4/snakemakeutils-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ddc21e4d3de95d0be02356b336381153", "sha256": "254650a4b32629b4b5957e37e72b879453d4b5b09a66fb45ee0395cfaa6c00b4" }, "downloads": -1, "filename": "snakemakeutils-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ddc21e4d3de95d0be02356b336381153", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2981, "upload_time": "2015-10-10T22:47:01", "url": "https://files.pythonhosted.org/packages/3d/92/2332045acc02f37f913b7db27ae9c7fbcf0b01a8969ebc515aa9022995d4/snakemakeutils-0.1.2.tar.gz" } ] }