{ "info": { "author": "Antonio Pedro Camargo", "author_email": "antoniop.camargo@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License (GPL)", "Natural Language :: English", "Programming Language :: Python :: 3", "Topic :: Scientific/Engineering :: Bio-Informatics", "Topic :: Software Development :: Libraries" ], "description": "# tspex\n\n- [Overview](#overview)\n- [Documentation](#documentation)\n- [Installation](#installation)\n- [Python API tutorial](#python-api-tutorial)\n- [Command-line interface](#command-line-interface)\n- [Examples](#examples)\n\n## Overview\n\ntspex is a tissue-specificity calculator tool. It provides both an easy-to-use object-oriented Python API and a command-line interface (CLI) for calculating a variety of tissue-specificity metrics from gene expression data.\n\ntspex features include:\n - Twelve different tissue-specificity metrics.\n - Integration with popular data analysis libraries, such as NumPy, SciPy, and pandas.\n - Visualization functions.\n - Support for Jupyter notebooks.\n\n## Documentation\n\nA complete documentation for tspex can be found at [https://apcamargo.github.io/tspex/](https://apcamargo.github.io/tspex/).\n\n## Installation\n\nThere are two ways to install tspex:\n\n- Using pip:\n\n```\npip install tspex\n```\n\n- Using conda:\n\n```\nconda install -c bioconda tspex\n```\n\n\n## Python API tutorial\n\nFor a detailed guide on how to use the Python API, please check the [Jupyter notebook tutorial](https://github.com/apcamargo/tspex/blob/master/docs/python_api.ipynb).\n\n\n## Command-line interface\n\ntspex can be executed from the command line using the `tspex` command. It takes an expression matrix file as input and outputs the computed tissue-specificity values.\n\n\n```\nusage: tspex [-h] [-l] [-d] [-t THRESHOLD] input_file output_file method\n\nCompute gene tissue-specificity from an expression matrix and save the output.\n\npositional arguments:\n input_file Expression matrix file in the TSV, CSV or Excel\n formats.\n output_file Output TSV file containing tissue-specificity values.\n method Tissue-specificity metric. Allowed values are:\n \"counts\", \"tau\", \"gini\", \"simpson\",\n \"shannon_specificity\", \"roku_specificity\", \"tsi\",\n \"zscore\", \"spm\", \"spm_dpm\", \"js_specificity\",\n \"js_specificity_dpm\".\n\noptional arguments:\n -h, --help show this help message and exit\n -l, --log Log-transform expression values. (default: False)\n -d, --disable_transformation\n By default, tissue-specificity values are transformed\n so that they range from 0 (perfectly ubiquitous) to 1\n (perfectly tissue-specific). If this parameter is\n used, transformation will be disabled and each metric\n will have have a diferent range of possible values.\n (default: False)\n -t THRESHOLD, --threshold THRESHOLD\n Threshold to be used with the \"counts\" metric. If\n another method is chosen, this parameter will be\n ignored. (default: 0)\n```\n\n### Examples\n\n- Using the `spm` metric to compute tissue-specificity values from a log-transformed expression matrix:\n\n```\ntspex --log gene_expression.tsv tspex_spm.tsv spm\n```\n\n- Using the `counts` method to compute tissue-specificity by counting the number of tissues in which the gene expression is greater than 10:\n\n```\ntspex --threshold 10 gene_expression.tsv tspex_counts.tsv counts\n```\n\n- Using the `zscore` without transformation to quantify tissue-specificity as the number of standard deviations away from the mean gene expression:\n\n```\ntspex --disable_transformation gene_expression.tsv tspex_zscore.tsv zscore\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://apcamargo.github.io/tspex/", "keywords": "bioinformatics,gene expression,tissue-specificity,transcriptomics", "license": "GNU General Public License v3.0", "maintainer": "", "maintainer_email": "", "name": "tspex", "package_url": "https://pypi.org/project/tspex/", "platform": "", "project_url": "https://pypi.org/project/tspex/", "project_urls": { "Homepage": "https://apcamargo.github.io/tspex/" }, "release_url": "https://pypi.org/project/tspex/0.6.0/", "requires_dist": [ "matplotlib (>=2.2)", "numpy", "pandas (>=0.23)", "xlrd (>=1.1.0)" ], "requires_python": ">=3", "summary": "A Python package for calculating tissue-specificity metrics for gene expression.", "version": "0.6.0" }, "last_serial": 5575362, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "58fb546bd5ef0361bf9713904a642a42", "sha256": "3ddcfc7e65d5e5a18b2f3bd3746b8e3cc50ea1df0e2b783cef57ab8156dd39de" }, "downloads": -1, "filename": "tspex-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "58fb546bd5ef0361bf9713904a642a42", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 10558, "upload_time": "2019-03-17T04:41:00", "url": "https://files.pythonhosted.org/packages/fb/74/8d2449794086e8a118fb813905483dfa6070d637b8c2fb1d44b53424e6fd/tspex-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e5c3a5bf100ca5b7fb4586a477b4c62f", "sha256": "f9cb0e9eebdd439817097aefa0ef6301fe765086e9bf095170c106b4c3a2a2f6" }, "downloads": -1, "filename": "tspex-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e5c3a5bf100ca5b7fb4586a477b4c62f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 7579, "upload_time": "2019-03-17T04:41:02", "url": "https://files.pythonhosted.org/packages/e7/a7/5d53979072e8e094afe593ccbf8d008f42e660b1f53d8ebd4d7d47d76ed2/tspex-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "e8df0a0566f1a65fea2ab08230029108", "sha256": "509a77650b77a0fded39e5e75b93c32d33226f74a40a30e441f659f48cedc1d4" }, "downloads": -1, "filename": "tspex-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e8df0a0566f1a65fea2ab08230029108", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 11086, "upload_time": "2019-03-21T01:59:21", "url": "https://files.pythonhosted.org/packages/59/6f/f310a4ba956eec87fc197c822a4ba516ac8f5d4ccdbbaeaedd0830e47717/tspex-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd5faa36d72a729ed85c4905554393ab", "sha256": "054520fec96932b4c554ddb9a27498facbc78c0fe9e783886c36f6eb408d62b8" }, "downloads": -1, "filename": "tspex-0.2.0.tar.gz", "has_sig": false, "md5_digest": "cd5faa36d72a729ed85c4905554393ab", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 8144, "upload_time": "2019-03-21T01:59:23", "url": "https://files.pythonhosted.org/packages/98/8a/f4bc12405ab4f5892b07d9670d3f134bf3596ef24ed2eaf10895156a6444/tspex-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "fcf0129f4dbbf9a18b7ba8c81f45a670", "sha256": "b70cb3ee825b397076f3595abed1622cf86f345238a6693c7f154353a7c2eb74" }, "downloads": -1, "filename": "tspex-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "fcf0129f4dbbf9a18b7ba8c81f45a670", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 11176, "upload_time": "2019-03-24T17:12:29", "url": "https://files.pythonhosted.org/packages/1a/81/c2e000c0d8ea34d7bce2a785a5da5f6d076565b6277ca5889f4a6fdcce50/tspex-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d6fa72e9143bfe0e5b0eda0a21eb642b", "sha256": "e291d6ee3897a0d198c668318326431b6b895c486f5855f5217199a97b79709d" }, "downloads": -1, "filename": "tspex-0.3.0.tar.gz", "has_sig": false, "md5_digest": "d6fa72e9143bfe0e5b0eda0a21eb642b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 8235, "upload_time": "2019-03-24T17:12:31", "url": "https://files.pythonhosted.org/packages/39/2e/a0176a082ffbdbe9637c1e34709aa0f5596ee9e99b7afdbec94b203cf56f/tspex-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "bacd6d85a2d89909b70028534b97b8d3", "sha256": "a58bf87ddf9f0acb763bfde3e1555f29ca9098792165d173a03a489b4e8e985d" }, "downloads": -1, "filename": "tspex-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "bacd6d85a2d89909b70028534b97b8d3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 11291, "upload_time": "2019-04-08T02:12:04", "url": "https://files.pythonhosted.org/packages/6c/46/089f0c78802fd034a841037c5b012764faf6e30415dec87da05831bbb643/tspex-0.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8101111fd93206217928323da5e815bc", "sha256": "10d2cb13bd38929e9be89cbaa8403899426be9d34b76c7a8460ddcbea33c301f" }, "downloads": -1, "filename": "tspex-0.3.1.tar.gz", "has_sig": false, "md5_digest": "8101111fd93206217928323da5e815bc", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 8358, "upload_time": "2019-04-08T02:12:06", "url": "https://files.pythonhosted.org/packages/6a/ca/7e590ab101e76d5bce5abe3c89ce8dca210671bbc0bdf58c453df6034284/tspex-0.3.1.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "9fd1bc40be9b8330eb29d76f37672862", "sha256": "4c239fa45b2a9b04521f76a18aebcddd89f33a528e2413094ff9e6183f7954de" }, "downloads": -1, "filename": "tspex-0.4.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9fd1bc40be9b8330eb29d76f37672862", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 26327, "upload_time": "2019-05-17T01:02:15", "url": "https://files.pythonhosted.org/packages/5f/6e/5e14fc648334b6c4ed16fd204472c357241a2d65638430526cfe80203808/tspex-0.4.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "08720a8457d0224386c50b57d7ff61c1", "sha256": "193a073df0504c4f9ab1be7e59e3d1122e5fc4609f197fea08d4818d9c5eaae4" }, "downloads": -1, "filename": "tspex-0.4.0.tar.gz", "has_sig": false, "md5_digest": "08720a8457d0224386c50b57d7ff61c1", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 11045, "upload_time": "2019-05-17T01:02:17", "url": "https://files.pythonhosted.org/packages/ae/2e/df4447f4f7ff69e6c28cdc5e8876d0116a1af647eb28ae6c5634f4ce9204/tspex-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "8df6a1e96fea31e496e7df402a6ebc9e", "sha256": "399efb8827d9bfa926677c6feacfabb712d449d017bd4779e32bbe3d0e869796" }, "downloads": -1, "filename": "tspex-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8df6a1e96fea31e496e7df402a6ebc9e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 26325, "upload_time": "2019-06-02T17:47:01", "url": "https://files.pythonhosted.org/packages/06/db/493fc1e2b833dfe9b14be7959729395e3dcc0f8ef8806e4a204a29c9f27a/tspex-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f6387b84f4c2da813862a174f9beab44", "sha256": "00003eb129574e31df5179da837fe0a64dd59a9f637e55bc7e64cb36eacb576d" }, "downloads": -1, "filename": "tspex-0.5.0.tar.gz", "has_sig": false, "md5_digest": "f6387b84f4c2da813862a174f9beab44", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 11041, "upload_time": "2019-06-02T17:47:03", "url": "https://files.pythonhosted.org/packages/06/8a/50a29c7ba4a87d149158782946564ff6ff7989bbf5623c755c7c553d3535/tspex-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "aea96086b46fd443d45a5e807409c584", "sha256": "ba34cbcee7607a82d52c468614096762da91db6cd478c375a8cb983fae13dba5" }, "downloads": -1, "filename": "tspex-0.5.1-py3-none-any.whl", "has_sig": false, "md5_digest": "aea96086b46fd443d45a5e807409c584", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 26431, "upload_time": "2019-06-25T19:26:36", "url": "https://files.pythonhosted.org/packages/45/0c/f5d323c45de797e448a160f028d44fdf7a5f9f6c7bfabc755846d98fa73e/tspex-0.5.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "927356b836f49a1a5e8c17991dbe691d", "sha256": "b2618f6e00a9a1e53e111efc883b20e4f18de6120e134ca933503853ac0c593a" }, "downloads": -1, "filename": "tspex-0.5.1.tar.gz", "has_sig": false, "md5_digest": "927356b836f49a1a5e8c17991dbe691d", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 23179, "upload_time": "2019-06-25T19:26:38", "url": "https://files.pythonhosted.org/packages/3f/c7/d4c85f547ec8899a9817f006dd0a8f032d031bd879d3673a344f4b9f3330/tspex-0.5.1.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "8454060231c24789b0409d4e1e9a6041", "sha256": "04bf34f6776258d6afa16a193f28e90ff898a10c3faf65b2648a07a39fad81f0" }, "downloads": -1, "filename": "tspex-0.6.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8454060231c24789b0409d4e1e9a6041", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 26511, "upload_time": "2019-07-24T02:35:00", "url": "https://files.pythonhosted.org/packages/db/34/52291f42ed4ff7fb0a7033cfaa47f68b59e38975b785246323b4e406ed45/tspex-0.6.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "97a16eb7a924267b39e595f2a71f9ab3", "sha256": "fc23e12e1127f18e02633b90393f098ae2ab106e39eec8ad4381b1777304d2c3" }, "downloads": -1, "filename": "tspex-0.6.0.tar.gz", "has_sig": false, "md5_digest": "97a16eb7a924267b39e595f2a71f9ab3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 23279, "upload_time": "2019-07-24T02:35:02", "url": "https://files.pythonhosted.org/packages/b9/b2/299a18ba40bc8ad3852ed26d92052dc299d7bab43d973e81482c2ad6474f/tspex-0.6.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8454060231c24789b0409d4e1e9a6041", "sha256": "04bf34f6776258d6afa16a193f28e90ff898a10c3faf65b2648a07a39fad81f0" }, "downloads": -1, "filename": "tspex-0.6.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8454060231c24789b0409d4e1e9a6041", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 26511, "upload_time": "2019-07-24T02:35:00", "url": "https://files.pythonhosted.org/packages/db/34/52291f42ed4ff7fb0a7033cfaa47f68b59e38975b785246323b4e406ed45/tspex-0.6.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "97a16eb7a924267b39e595f2a71f9ab3", "sha256": "fc23e12e1127f18e02633b90393f098ae2ab106e39eec8ad4381b1777304d2c3" }, "downloads": -1, "filename": "tspex-0.6.0.tar.gz", "has_sig": false, "md5_digest": "97a16eb7a924267b39e595f2a71f9ab3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3", "size": 23279, "upload_time": "2019-07-24T02:35:02", "url": "https://files.pythonhosted.org/packages/b9/b2/299a18ba40bc8ad3852ed26d92052dc299d7bab43d973e81482c2ad6474f/tspex-0.6.0.tar.gz" } ] }