{ "info": { "author": "Justin Fear", "author_email": "justin.m.fear@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "# Biometalib\n\nBiometalib is a set of useful libraries and tools for working with SRA biological metadata.\n\n## Installation\n\nThis library is designed for python 3+ and can be installed with `pip` or `conda`.\n\n### Pip\n\nBiometalib can be installed using pip.\n\n```bash\npip install -y biometalib\n```\n\nOr the latest version can be installed by pip.\n\n```bash\npip install git+https://github.com/jfear/sramongo\npip install git+https://github.com/jfear/biometalib\n```\n\n### Conda [Suggested]\n\nFirst make sure you have a working installation of Anaconda, I suggest\n[Miniconda](https://conda.io/miniconda.html).\n\n```bash\nconda install -c jfear biometalib\n```\n\n## Attribute Selector\n\nAttribute selector is a helper script for selecting which attributes you want\nto focus on for a project. The biological metadata submitted by users contain a\nvariety of different types of attributes. Sometimes these include things like\nmisspellings or different forms of a word, it also includes attributes that are\nunique to a single project. This tool is to be used to quickly curate these\ncolumns. Attribute selector uses a `YAML` formatted file to store attribute\ndecisions.\n\nIn the YAML file, **selected attributes** will be the keys. When merging\nmultiple attributes into a single **selected attribute** they will be stored as\nvalues. For example:\n\n```\nsex:\n- sex\n- Sex\n- gender\n```\n\nHere the **selected attribute** `sex` has the attributes `Sex` and `gender`\nassociated with it. There is also a special **selected attribute** `ignore` that will store a list\nof attributes that you want to ignore.\n\nUsing the BioSample selection sheet I have created a starting YAML that can be\nused when running `attribute_selector`.\n\nTo run the attributes selector on my public version of the Biometa database type:\n\n```bash\n# Download example YAML\n$ wget -O my_attribute_selection.yaml https://raw.githubusercontent.com/jfear/biometalib/master/data/flybase_example.yaml\n$ attribute_selector --host mongo.geneticsunderground.com --port 27022 --db sra --username sra --password oliver --authenticationDatabase user-data --config my_attribute_selection.yaml\n```\n\n`attribute_selector` is an interactive command line tool. Iterates overall\nattribute column names that are not already **selected attributes** in the\nYAML. The current attribute is displayed in red. At the prompt you can type:\n\n* `k` to set the current attribute as a **selected attribute** [keep]\n* `r` to rename the current attribute, this will set the current attribute as\n value of the renamed **selected attribute** [rename]\n* `i` adds current attribute to ignore list [ignore]\n* `e` show example values listed under the current attribute [example]\n* `s` show attributes with similar names (fuzzy string match). Here **selected attributes** will appear in yellow [similar]\n* `n` skip and go to the next attribute [next]\n* `quit` exit out of the program, but save progress.\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jfear/biometalib", "keywords": "", "license": "MIT license", "maintainer": "", "maintainer_email": "", "name": "biometalib", "package_url": "https://pypi.org/project/biometalib/", "platform": "", "project_url": "https://pypi.org/project/biometalib/", "project_urls": { "Homepage": "https://github.com/jfear/biometalib" }, "release_url": "https://pypi.org/project/biometalib/0.0.4/", "requires_dist": [ "fuzzywuzzy (>=0.15.0)", "mongoengine (>=0.11.0)", "numpy (<=1.13.0)", "pymongo (>=3.3.0)", "pytest (>=3.0.5)", "pytest-runner (>=2.11)", "pyyaml (>=3.12)", "ruamel.yaml (<0.15.0)", "sramongo (>=0.0.2)" ], "requires_python": "", "summary": "A set of helper functions for working with biological metadata from the SRA.", "version": "0.0.4" }, "last_serial": 3029435, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "3f7208e3b73613fb1a8f72f4c977378d", "sha256": "b30c1bcf4d025d191767bbbbd0a413f05066e46cc708629802feae43ded51851" }, "downloads": -1, "filename": "biometalib-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "3f7208e3b73613fb1a8f72f4c977378d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17267, "upload_time": "2017-07-12T20:44:52", "url": "https://files.pythonhosted.org/packages/07/54/65a72106633fb03a66399a980480ab412e0ec28ce3b79e59dd7e46dc7f83/biometalib-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d01bc922382bf2314f9a8d4c17c4be0e", "sha256": "f330d64dc969f4961548177039c9c481ee00773eafbe567ec76dc266c665dea7" }, "downloads": -1, "filename": "biometalib-0.0.3.tar.gz", "has_sig": false, "md5_digest": "d01bc922382bf2314f9a8d4c17c4be0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13207, "upload_time": "2017-07-12T20:44:54", "url": "https://files.pythonhosted.org/packages/64/2d/02555f9c37483e331c200071df86f301aa3b7c1d25211c37c844dcbaffcb/biometalib-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "e6114a8bba9c59417eefeb97295a64f1", "sha256": "89792c0e7f1671d90e636f7fe322697029df1e8c966793a6aa41b224fd97f762" }, "downloads": -1, "filename": "biometalib-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "e6114a8bba9c59417eefeb97295a64f1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17923, "upload_time": "2017-07-17T18:59:55", "url": "https://files.pythonhosted.org/packages/f5/5b/47af964464d81973bd504739f8cadeaab6010551f8b6c72924c8f2d34010/biometalib-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8c25c56f9a797f858ee467f3553b1976", "sha256": "5a8a023acc35945be782581bb0da2b8a8fa0cc766d3c7e9d5af794932c8f5acf" }, "downloads": -1, "filename": "biometalib-0.0.4.tar.gz", "has_sig": false, "md5_digest": "8c25c56f9a797f858ee467f3553b1976", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13270, "upload_time": "2017-07-17T18:59:57", "url": "https://files.pythonhosted.org/packages/b3/e7/df161442f9af6ea3228fad0c94a08f32100ec645e3bdea350b1025773b93/biometalib-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e6114a8bba9c59417eefeb97295a64f1", "sha256": "89792c0e7f1671d90e636f7fe322697029df1e8c966793a6aa41b224fd97f762" }, "downloads": -1, "filename": "biometalib-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "e6114a8bba9c59417eefeb97295a64f1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 17923, "upload_time": "2017-07-17T18:59:55", "url": "https://files.pythonhosted.org/packages/f5/5b/47af964464d81973bd504739f8cadeaab6010551f8b6c72924c8f2d34010/biometalib-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8c25c56f9a797f858ee467f3553b1976", "sha256": "5a8a023acc35945be782581bb0da2b8a8fa0cc766d3c7e9d5af794932c8f5acf" }, "downloads": -1, "filename": "biometalib-0.0.4.tar.gz", "has_sig": false, "md5_digest": "8c25c56f9a797f858ee467f3553b1976", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13270, "upload_time": "2017-07-17T18:59:57", "url": "https://files.pythonhosted.org/packages/b3/e7/df161442f9af6ea3228fad0c94a08f32100ec645e3bdea350b1025773b93/biometalib-0.0.4.tar.gz" } ] }