{ "info": { "author": "Michael J. Harms", "author_email": "harmsm@gmail.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python" ], "description": "=================\nLibrary Simulator\n=================\n\nLibrary simulator is a python package for generating random mutagenesis\nlibraries given a nucleotide sequence and error-prone polymerase. \n\nExamples\n========\n\nCreate a library\n----------------\n\n.. code:: python\n\n from library_simulator import LibrarySimulator\n lib = LibrarySimulator(\"example.fasta\",mutation_spectrum=\"published\")\n lib.simulate(num_samples=10,mutation_rate=2)\n lib.clones\n\n.. image:: example/output-table.png\n\n- **aa**: amino acid changes (:code:`*`: new stop codon)\n- **base**: base changes (:code:`-` and :code:`+` are insertions and deletions)\n- **num**: total number of amino acid changes (could be a huge number if there is\n an early stop or indel)\n- **indel**: whether or not there is an indel\n- **stop**: whether or not there is new stop codon\n- **start**: whether or not the real start codon was messed up\n\nFind the frequencies of classes of mutants versus mutation rate\n---------------------------------------------------------------\n\n.. code:: python\n\n from library_simulator import LibrarySimulator, util\n lib = LibrarySimulator(\"example.fasta\",mutation_spectrum=\"published\")\n f_v_r = util.freq_vs_mutation_rate(lib,num_samples=10000)\n util.plot_freq_vs_mutation_rate(f_v_r)\n\n.. image:: example/mutation-rate.png\n\nSee :code:`example/examples.ipynb` for more functionality.\n\nInstallation\n============\n\n.. code:: python\n\n pip install library_simulator\n\n\nAssumptions\n===========\n\n- The number of mutations per clone is determined by a Poisson process.\n- The sites mutated are independent within a clone and between clones\n- The probability of each possible mutation (A->T, G->C, etc.) is determined\n by the enzyme, not the sequence. The profiles for different enzymes\n are found in: :code:`library_simulator/mutation_spectra`\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/harmslab/library_simulator/archive/v0.1.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/harmslab/library_simulator", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "library-simulator", "package_url": "https://pypi.org/project/library-simulator/", "platform": "", "project_url": "https://pypi.org/project/library-simulator/", "project_urls": { "Download": "https://github.com/harmslab/library_simulator/archive/v0.1.tar.gz", "Homepage": "https://github.com/harmslab/library_simulator" }, "release_url": "https://pypi.org/project/library-simulator/0.1/", "requires_dist": [ "matplotlib", "scipy", "numpy" ], "requires_python": "", "summary": "Python software package for simulating random mutagenesis experiments", "version": "0.1" }, "last_serial": 5354704, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "f336ab626580f3f334491fb1068a5474", "sha256": "f9b93d07375325e1eddda84f6746bd002747f588eb9f0af8acdd681391bc2398" }, "downloads": -1, "filename": "library_simulator-0.1-py3.6.egg", "has_sig": false, "md5_digest": "f336ab626580f3f334491fb1068a5474", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 18904, "upload_time": "2019-06-03T22:10:01", "url": "https://files.pythonhosted.org/packages/61/75/ad8239fcf3634c31cba87417a74e91f8cd60b124acef6dbca5f0fdca8da9/library_simulator-0.1-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "27f7d7125f6b249e60ace9426f80b8ca", "sha256": "0636c77f8469179e4817e8a2a71e68f27dc76245f5acc3ab1d72a0e5c22c3136" }, "downloads": -1, "filename": "library_simulator-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "27f7d7125f6b249e60ace9426f80b8ca", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11098, "upload_time": "2019-06-03T22:09:59", "url": "https://files.pythonhosted.org/packages/55/65/f235b61bac5fb08fa48c913efaf3a2afef20ae13195ee821872ea52f20cc/library_simulator-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7a362a587aee0baf39d7ae52e0eeb7b0", "sha256": "5d6127e5d24c052780642f16ed709eaf3679478744e1beac0979070c39f5ae18" }, "downloads": -1, "filename": "library_simulator-0.1.tar.gz", "has_sig": false, "md5_digest": "7a362a587aee0baf39d7ae52e0eeb7b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 104786, "upload_time": "2019-06-03T22:10:03", "url": "https://files.pythonhosted.org/packages/cd/a7/c158ac59badf554910f52d9136901af2092ecd8baea402df90db9f739cfb/library_simulator-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f336ab626580f3f334491fb1068a5474", "sha256": "f9b93d07375325e1eddda84f6746bd002747f588eb9f0af8acdd681391bc2398" }, "downloads": -1, "filename": "library_simulator-0.1-py3.6.egg", "has_sig": false, "md5_digest": "f336ab626580f3f334491fb1068a5474", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 18904, "upload_time": "2019-06-03T22:10:01", "url": "https://files.pythonhosted.org/packages/61/75/ad8239fcf3634c31cba87417a74e91f8cd60b124acef6dbca5f0fdca8da9/library_simulator-0.1-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "27f7d7125f6b249e60ace9426f80b8ca", "sha256": "0636c77f8469179e4817e8a2a71e68f27dc76245f5acc3ab1d72a0e5c22c3136" }, "downloads": -1, "filename": "library_simulator-0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "27f7d7125f6b249e60ace9426f80b8ca", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 11098, "upload_time": "2019-06-03T22:09:59", "url": "https://files.pythonhosted.org/packages/55/65/f235b61bac5fb08fa48c913efaf3a2afef20ae13195ee821872ea52f20cc/library_simulator-0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7a362a587aee0baf39d7ae52e0eeb7b0", "sha256": "5d6127e5d24c052780642f16ed709eaf3679478744e1beac0979070c39f5ae18" }, "downloads": -1, "filename": "library_simulator-0.1.tar.gz", "has_sig": false, "md5_digest": "7a362a587aee0baf39d7ae52e0eeb7b0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 104786, "upload_time": "2019-06-03T22:10:03", "url": "https://files.pythonhosted.org/packages/cd/a7/c158ac59badf554910f52d9136901af2092ecd8baea402df90db9f739cfb/library_simulator-0.1.tar.gz" } ] }