{ "info": { "author": "Shaojun Zhang", "author_email": "zhangshaojun@ems.hrbmu.edu.cn", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Win32 (MS Windows)", "Intended Audience :: Science/Research", "License :: OSI Approved :: Python Software Foundation License", "Operating System :: Unix", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Build Tools" ], "description": "=================\r\nEpistaSim_Linux\r\n=================\r\n\r\nEpistaSim is a Linux simulator that can estimate haplotype frequency and simulate DNA sequences in a region linking with target two loci under haplotype selective model through forward and backward process integrating with mutation and recombination. \r\nThe output of software was similar with Hudson's ms software (Hudson, 1990). EpistaSim is a flexible simulator so that it can incorporate different epistasis model. The software runs forward and coalescent simulations depending on the histories \r\n(trajectories) of haplotype frequency which was output accompany with DNA sequences of the region in text files. EpistaSim included two parts forward and backward simulation. \r\n\r\n\r\n-------------------------\r\n**Download and Install**\r\n-------------------------\r\n\r\nDownload package \"EpistaSim_Linux\" and uncompression through following command:\r\n\r\n \r\n ::\r\n \r\n tar -zxvf EpistaSim_Linux-1.1.0.tar.gz\r\n\r\n\r\n------------------\r\n**Run EpistaSim**\r\n------------------\r\n\r\n*Options:*\r\n^^^^^^^^^^^^^^^^^^^^^\r\nThe summary of arguments are described as follow. If you did not specified the argument value the default or random value will be used.\r\n\r\nWhere 0 is the ancestor allele and 1 is the derived allele.\r\n\r\n\r\n+--------------+-------------------------------------------------------------------------+------------------------+\r\n| Switch | Argument | Comments(Default) |\r\n+==============+=========================================================================+========================+\r\n|*-n* | Number of samples in the simulation | 30 |\r\n+--------------+-------------------------------------------------------------------------+------------------------+\r\n|*-d* | Number of replication of the simulation | 1 |\r\n+--------------+-------------------------------------------------------------------------+------------------------+\r\n|*-l* | Length of the simulated region (bp) | 1000 |\r\n+--------------+-------------------------------------------------------------------------+------------------------+\r\n|*-g* | Number of the generation in forward process | 200 |\r\n+--------------+-------------------------------------------------------------------------+------------------------+\r\n|*-t* | Positions of two selective loci | Random |\r\n+--------------+-------------------------------------------------------------------------+------------------------+\r\n|*-p* | Haplotype frequency with order 00, 01, 10 and 11 | Must be specified |\r\n+--------------+-------------------------------------------------------------------------+------------------------+\r\n|*-R* | Recombination rate per generation per bp | 3*10(-8) |\r\n+--------------+-------------------------------------------------------------------------+------------------------+\r\n|*-u* | Mutation rate pre generation per bp | 3*10(-8) |\r\n+--------------+-------------------------------------------------------------------------+------------------------+\r\n|*-e* | Number of segsites in the simulated region | Random |\r\n+--------------+-------------------------------------------------------------------------+------------------------+\r\n|*-M* | Epistasis model in forward process (M1, M2, M3, M4) | M1 |\r\n+--------------+-------------------------------------------------------------------------+------------------------+\r\n|*-H* | Selective Haplotype or allele | 11 |\r\n+--------------+-------------------------------------------------------------------------+------------------------+\r\n|*-S* | Slective Coefficient | |\r\n+--------------+-------------------------------------------------------------------------+------------------------+\r\n|*-o* | Outputfile of DNA sequence in the simulated region | |\r\n+--------------+-------------------------------------------------------------------------+------------------------+\r\n|*-f* | Outputfile of haplotype frequency trajectories | |\r\n+--------------+-------------------------------------------------------------------------+------------------------+\r\n\r\n\r\n\r\n*Forward Example:*\r\n^^^^^^^^^^^^^^^^^^^^^\r\n\r\n\r\nSimulate the DNA sequences and haplotype frequency through forward process, using fowllowing command:\r\n \r\n ::\r\n \r\n cd ~/EpistaSim_Linux-1.1.0\r\n python ForWard.py -n 10 -d 5 -l 1000 -g 200 -t 10 100 -p 0.25 0.25 0.25 0.25 -R 0.0000001 -u 0.0000001 -e 10 -M M2 -H 11 -S 0.01 -o forwardsimulation.out -f Hapfre.trac\r\n \r\n The running information of Forward was illustrated as follow:\r\n \r\n Generate the initial population\r\n \r\n Print the track file of haplotype frequency\r\n \r\n Simulation the offspring\r\n \r\n simulation the 0th replication\r\n \r\n A region of 1000bp include 12 segsites were simulated for 200 generations with sample size 10 for 1 replication.\r\n \r\n ..........\r\n \r\n \r\n\r\n*Backward:*\r\n^^^^^^^^^^^^^^^^^^^^^\r\n\r\nSimulate the DNA sequences and haplotype frequency through coalescent process, using fowllowing command:\r\n \r\n ::\r\n \r\n cd ~/EpistaSim_Linux-1.1.0\r\n python BackWard.py -n 10 -d 5 -l 1000 -t 10 100 -p 0.3 0.1 0.1 0.5 -R 0.0000001 -u 0.0000001 -e 10 -H 11 -S 0.01 -o backwardsimulation.out -f Hapfreback.trac\r\n \r\n The running information of Forward was illustrated as follow:\r\n \r\n Print the track file of haplotype frequency\r\n \r\n Simulation the offspring\r\n \r\n simulation the 0th replication\r\n \r\n A region of 1000bp include 9 segsites were simulated with sample size 10 for 1 replication.\r\n \r\n ..........\r\n\r\n*Note* \r\n The arguments except -p can used default value.\r\n \r\n\r\n------------------------\r\n**Output of EpistaSim**\r\n------------------------\r\nThe outputs of Forward and Backward are the sames and similar with Hudson's ms software (Hudson, 1990).\r\n\r\nAccording to the up arguments, the results as fowllow:\r\n\r\n \r\n*Output of DNA sequence*\r\n^^^^^^^^^^^^^^^^^^^^^^^^^\r\n \r\n ::\r\n \r\n //\r\n Segsites: 12\r\n Selected two_locus: 10 100 \r\n Positions: 10 100 125 158 258 309 472 631 756 818 858 886 \r\n 111011011111\r\n 111011011110\r\n 111010010110\r\n 111111000111\r\n 111001011011\r\n 101100011111\r\n 001110011111\r\n 001000011111\r\n 001011011111\r\n 011100000001\r\n //\r\n ........\r\n \r\n*Output of haplotype frequency*\r\n^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n \r\n ::\r\n \r\n //\r\n T\t00\t01\t10\t11\r\n 0\t0.25\t0.25\t0.25\t0.25\t\r\n 1\t0.248079102592\t0.253290720757\t0.254300434135\t0.244329742516\t\r\n 2\t0.250079789017\t0.260533576401\t0.254926425626\t0.234460208956\t\r\n 3\t0.247683161282\t0.257852724706\t0.259331708331\t0.235132405681\t\r\n ......\r\n 199\t0.174483716477\t0.147128461696\t0.166087155013\t0.512300666814\t\r\n 200\t0.175953877557\t0.145569161198\t0.163958437969\t0.514518523277", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://blog.useasp.net/", "keywords": "Epistasis simulation", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "EpistaSim_Linux", "package_url": "https://pypi.org/project/EpistaSim_Linux/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/EpistaSim_Linux/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://blog.useasp.net/" }, "release_url": "https://pypi.org/project/EpistaSim_Linux/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "Epistasis simulator of SNP patterns in Linux", "version": "1.1.0" }, "last_serial": 1644264, "releases": { "1.1.0": [ { "comment_text": "", "digests": { "md5": "cd57c2b569ddacf1ea5e6558e50897de", "sha256": "07b516c9aa7896e6db55a439ffdd12e0cf26287eee1ec386f77a0c88e8f07514" }, "downloads": -1, "filename": "EpistaSim_Linux-1.1.0.tar.gz", "has_sig": false, "md5_digest": "cd57c2b569ddacf1ea5e6558e50897de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19257, "upload_time": "2015-07-22T06:24:00", "url": "https://files.pythonhosted.org/packages/2d/96/15675b0c48b6bb9eeb169103090f8e0b949e18afdc2215dd00b9d7100dfc/EpistaSim_Linux-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cd57c2b569ddacf1ea5e6558e50897de", "sha256": "07b516c9aa7896e6db55a439ffdd12e0cf26287eee1ec386f77a0c88e8f07514" }, "downloads": -1, "filename": "EpistaSim_Linux-1.1.0.tar.gz", "has_sig": false, "md5_digest": "cd57c2b569ddacf1ea5e6558e50897de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19257, "upload_time": "2015-07-22T06:24:00", "url": "https://files.pythonhosted.org/packages/2d/96/15675b0c48b6bb9eeb169103090f8e0b949e18afdc2215dd00b9d7100dfc/EpistaSim_Linux-1.1.0.tar.gz" } ] }