{ "info": { "author": "Nicholas G. Crawford", "author_email": "ngcrawford@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Welcome to Pypgen (v0.2.0) *BETA*\n---------------------------------\n\nPypgen provides various utilities for estimating standard genetic\ndiversity measures including Gst, G'st, G''st, and Jost's D from large\ngenomic datasets (Hedrick, 2005; Jost, 2008; Masatoshi Nei, 1973; Nei &\nChesser, 1983). Pypgen operates both on individual SNPs as\nwell as on user defined regions (e.g., five kilobase windows tiled\nacross each chromosome). For the windowed analyses pypgen estimates the\nmulti-locus versions of each estimator.\n\nFeatures:\n+++++++++\n\n- Handles multiallelic SNP calls\n- Allows a single VCF file to contain multiple populations\n- Operates on standard `VCF (Variant Call\n Format) `_\n formatted SNP calls\n- Uses `bgziped `_ input\n for fast random access\n- Takes advantage of multiple processor cores\n- Calculates additional metrics:\n\n - snp count per window\n - mean read depth (+/- STDEV) per window\n - populations with fixed alleles per SNP\n - more as I think of them\n\nImportant Note:\n+++++++++++++++\n\nPYPGEN IS STILL IN ACTIVE DEVELOPMENT AND ALMOST CERTAINLY CONTAINS\nBUGS. If you find a bug please file a report in the `issues section `_ of\nthe github repository and I'll address it as soon as I can.\n\nEnclosed Scripts:\n+++++++++++++++++\n\n- Sliding window analysis (vcf\\_sliding\\_window.py)\n- Per SNP analysis (vcf\\_snpwise\\_fstats.py)\n\nDependancies:\n+++++++++++++\n\n- OSX or Linux\n- `Python 2.7 `_\n- `Numpy `_\n- `pysam `_\n and `samtools `_\n\nInstallation:\n+++++++++++++\n\nFirst install `samtools `_. On OS X I recommend using `homebrew `_ to do this. Once you have samtools installed and available in terminal you can use either pip or setuptools to install the current release of pypgen:\n\n::\n\n pip install pypgen\n\nor, \n\n::\n\n easy_install pypgen\n\n\nAlternately, if you like to live on the edge, you can clone and install the current development version from github.\n\n::\n\n pip install -e git+https://github.com/ngcrawford/pypgen.git\n\nDocumentation:\n++++++++++++++\n\nMore detailed documentation will be forthcoming, but in the meantime information about each script can be obtained by running:\n\n::\n\n python [script name].py --help\n\nOutput: \n+++++++\n\nNote: this will probably change.\n\n**vcf\\_sliding\\_window.py:**\n\n- *chrm* = Name of chromosome\n- *start* = Starting position of window\n- *stop* = Ending position of window\n- *snp\\_count* = Total Number of SNPs in window\n- *total\\_depth\\_mean* = Mean read depth across window\n- *total\\_depth\\_stdev* = Standard deviation of read depth across\n window\n- *Pop1.sample\\_count.mean* = Mean number of samples per snp for 'Pop1'\n- *Pop1.sample\\_count.stdev* = Standard deviation of samples per snp\n for - 'Pop1'\n- *Pop2.sample\\_count.mean* = Mean number of samples per snp for 'Pop2'\n- *Pop2.sample\\_count.stdev* = Standard deviation of samples per snp\n for 'Pop2'\n- *Pop2.Pop1.D\\_est* = Multilocus Dest (Jost 2008)\n- *Pop2.Pop1.G\\_double\\_prime\\_st\\_est* = (Meirmans & Hedrick 2011)\n- *Pop2.Pop1.G\\_prime\\_st\\_est* = Standardized Gst (Hedrick 2005)\n- *Pop2.Pop1.Gst\\_est* = Fst corrected for sample size and allowing for\n multiallelic loci (Nei & Chesser 1983)\n- cont...\n\n**vcf\\_snpwise\\_fstats.py:**\n\n- *chrm* = Name of chromosome\n- *pos* = Position of SNP\n- *outgroups* = Number of samples\n- *Pop1* = Population ID\n- *Pop1.Pop2.D\\_est*\\ = Multilocus Dest (Jost 2008)\n- *Pop1.Pop2.G\\_double\\_prime\\_st\\_est* = (Meirmans & Hedrick\n 2011)\n- *Pop1.Pop2.G\\_prime\\_st\\_est* = Standardized Gst (Hedrick 2005)\n- *Pop1.Pop2.Gst\\_est* = Fst corrected for sample size and\n allowing for multiallelic loci (Nei & Chesser 1983)\n- *Pop1.Pop2.Hs\\_est*\n- *Pop1.Pop2.Ht\\_est*\n- cont...,\n- *Pop1\\_fixed* = If a sample is fixed at a particular allele this\n flag is set to 1 (= \"True\" in binary).\n- cont...", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/pypgen/", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "pypgen", "package_url": "https://pypi.org/project/pypgen/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pypgen/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://pypi.python.org/pypi/pypgen/" }, "release_url": "https://pypi.org/project/pypgen/0.2.1/", "requires_dist": null, "requires_python": null, "summary": "Genetic diversity metrics from popoulation genomic datasets.", "version": "0.2.1" }, "last_serial": 797522, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "80d4daa05d430be58a1f327222903538", "sha256": "5f42d5f4e756fc80f52c3967b8f7fb793bb2a0a3b1722d8f41e3c92a280920e0" }, "downloads": -1, "filename": "pypgen-0.2.0.tar.gz", "has_sig": false, "md5_digest": "80d4daa05d430be58a1f327222903538", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20651, "upload_time": "2013-01-29T02:07:45", "url": "https://files.pythonhosted.org/packages/49/8e/180a839e5d30cd6479b8fa16bde84160287a8a6ca13792b1d08edd6558fe/pypgen-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "5bb496aaa2e9e5469927cf2b74fd7991", "sha256": "3ff2a2f6a1836a287a38e8cad88fb4c87f621b9392e6c0b45442e45b32e96fba" }, "downloads": -1, "filename": "pypgen-0.2.1.tar.gz", "has_sig": false, "md5_digest": "5bb496aaa2e9e5469927cf2b74fd7991", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20746, "upload_time": "2013-01-29T20:49:16", "url": "https://files.pythonhosted.org/packages/93/d8/b175bf6cc8c26816fb73f596367544fe4acd8513372a4d45ecc094462c7d/pypgen-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5bb496aaa2e9e5469927cf2b74fd7991", "sha256": "3ff2a2f6a1836a287a38e8cad88fb4c87f621b9392e6c0b45442e45b32e96fba" }, "downloads": -1, "filename": "pypgen-0.2.1.tar.gz", "has_sig": false, "md5_digest": "5bb496aaa2e9e5469927cf2b74fd7991", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20746, "upload_time": "2013-01-29T20:49:16", "url": "https://files.pythonhosted.org/packages/93/d8/b175bf6cc8c26816fb73f596367544fe4acd8513372a4d45ecc094462c7d/pypgen-0.2.1.tar.gz" } ] }