hardyweinberg-equilibrium


Namehardyweinberg-equilibrium JSON
Version 0.1.3.post20230611 PyPI version JSON
download
home_page
SummaryHardy-Weinberg Equilibrium Calculator. Calculates the expected genotype frequencies based on the allele frequencies of a population in Hardy-Weinberg equilibrium.
upload_time2023-06-11 06:47:10
maintainerinfo@hyfisolutions.com
docs_urlNone
authorDellius Alexander
requires_python
licenseLICENSE
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Hardy Weinberg Equilibrium


Hardy-Weinberg Equilibrium Calculator. Calculates the expected 
genotype frequencies based on the allele frequencies of a 
population in Hardy-Weinberg equilibrium.

## Usage

```text
usage: 
    main.py [-h] [--version] [--verbose] [--debug] [--samples SAMPLES] [--p P] [--q Q] [--tpop TPOP] [--ppop PPOP] [--qpop QPOP] [--pq2pop PQ2POP] [--genes GENES [GENES ...]]

Alternate module usage: 
    python3 -m src.main [-h] [--version] [--verbose] [--debug] [--samples SAMPLES] [--p P] [--q Q] [--tpop TPOP] [--ppop PPOP] [--qpop QPOP] [--pq2pop PQ2POP] [--genes GENES [GENES ...]]


Hardy-Weinberg Equilibrium Calculator. Calculates the expected genotype frequencies based on the allele frequencies of a population in Hardy-Weinberg equilibrium. Alternate module usage: python3 -m src.main --ppop 10 --qpop 10
--pq2pop 200 --verbose See: https://en.wikipedia.org/wiki/Hardy%E2%80%93Weinberg_principle

optional arguments:
  -h, --help            show this help message and exit
  --version             show program's version number and exit
  --verbose             Enable verbose logging. (default: False)
  --debug               Enable debug logging. (default: False)
  --samples SAMPLES     Number of samples to generate, if using random data generator. (default: None)
  --p P                 Frequency of dominant allele. (default: None)
  --q Q                 Frequency of recessive allele. (default: None)
  --tpop TPOP           Total population. (default: None)
  --ppop PPOP           Original population of dominant allele. (default: None)
  --qpop QPOP           Original population of recessive allele. (default: None)
  --pq2pop PQ2POP       Original population of heterozygous allele. (default: None)
  --genes GENES [GENES ...]
                        List of JSON[Genes] to calculate. Note: This is list of json objects representing of Gene class. (default: <lambda>)

Example: python3 -m main.py --ppop 10 --qpop 10 --pq2pop 200 --verbose | Example: python3 -m [package].[module] --samples 1000 --verbose
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "hardyweinberg-equilibrium",
    "maintainer": "info@hyfisolutions.com",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "info@hyfisolutions.com",
    "keywords": "",
    "author": "Dellius Alexander",
    "author_email": "info@hyfisolutions.com",
    "download_url": "https://files.pythonhosted.org/packages/ab/a5/94334f894c0f75b83091f566576c7588ff22433070d696110c4c8afb5d53/hardyweinberg_equilibrium-0.1.3.post20230611.tar.gz",
    "platform": null,
    "description": "# Hardy Weinberg Equilibrium\n\n\nHardy-Weinberg Equilibrium Calculator. Calculates the expected \ngenotype frequencies based on the allele frequencies of a \npopulation in Hardy-Weinberg equilibrium.\n\n## Usage\n\n```text\nusage: \n    main.py [-h] [--version] [--verbose] [--debug] [--samples SAMPLES] [--p P] [--q Q] [--tpop TPOP] [--ppop PPOP] [--qpop QPOP] [--pq2pop PQ2POP] [--genes GENES [GENES ...]]\n\nAlternate module usage: \n    python3 -m src.main [-h] [--version] [--verbose] [--debug] [--samples SAMPLES] [--p P] [--q Q] [--tpop TPOP] [--ppop PPOP] [--qpop QPOP] [--pq2pop PQ2POP] [--genes GENES [GENES ...]]\n\n\nHardy-Weinberg Equilibrium Calculator. Calculates the expected genotype frequencies based on the allele frequencies of a population in Hardy-Weinberg equilibrium. Alternate module usage: python3 -m src.main --ppop 10 --qpop 10\n--pq2pop 200 --verbose See: https://en.wikipedia.org/wiki/Hardy%E2%80%93Weinberg_principle\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --version             show program's version number and exit\n  --verbose             Enable verbose logging. (default: False)\n  --debug               Enable debug logging. (default: False)\n  --samples SAMPLES     Number of samples to generate, if using random data generator. (default: None)\n  --p P                 Frequency of dominant allele. (default: None)\n  --q Q                 Frequency of recessive allele. (default: None)\n  --tpop TPOP           Total population. (default: None)\n  --ppop PPOP           Original population of dominant allele. (default: None)\n  --qpop QPOP           Original population of recessive allele. (default: None)\n  --pq2pop PQ2POP       Original population of heterozygous allele. (default: None)\n  --genes GENES [GENES ...]\n                        List of JSON[Genes] to calculate. Note: This is list of json objects representing of Gene class. (default: <lambda>)\n\nExample: python3 -m main.py --ppop 10 --qpop 10 --pq2pop 200 --verbose | Example: python3 -m [package].[module] --samples 1000 --verbose\n```\n",
    "bugtrack_url": null,
    "license": "LICENSE",
    "summary": "Hardy-Weinberg Equilibrium Calculator. Calculates the expected genotype frequencies based on the allele frequencies of a population in Hardy-Weinberg equilibrium.",
    "version": "0.1.3.post20230611",
    "project_urls": null,
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8198aec4dc1845f79b928fc1b1b4a95f1936aa621daf508eb8e2a37f3deed07c",
                "md5": "165052aa28b445e3ec8e1a27b4b7652b",
                "sha256": "31ef2653ab2589b48b539e6544b9d2f18f1d38d8fc47cb5b0a029f361b1e5453"
            },
            "downloads": -1,
            "filename": "hardyweinberg_equilibrium-0.1.3.post20230611-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "165052aa28b445e3ec8e1a27b4b7652b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 16783,
            "upload_time": "2023-06-11T06:47:08",
            "upload_time_iso_8601": "2023-06-11T06:47:08.762094Z",
            "url": "https://files.pythonhosted.org/packages/81/98/aec4dc1845f79b928fc1b1b4a95f1936aa621daf508eb8e2a37f3deed07c/hardyweinberg_equilibrium-0.1.3.post20230611-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aba594334f894c0f75b83091f566576c7588ff22433070d696110c4c8afb5d53",
                "md5": "2b824ec33d83862422076de2e4625bdf",
                "sha256": "8e8049e95c7a5f90c8c225554928b26a26337f4260819d820798299a73ecce43"
            },
            "downloads": -1,
            "filename": "hardyweinberg_equilibrium-0.1.3.post20230611.tar.gz",
            "has_sig": false,
            "md5_digest": "2b824ec33d83862422076de2e4625bdf",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 17994,
            "upload_time": "2023-06-11T06:47:10",
            "upload_time_iso_8601": "2023-06-11T06:47:10.602425Z",
            "url": "https://files.pythonhosted.org/packages/ab/a5/94334f894c0f75b83091f566576c7588ff22433070d696110c4c8afb5d53/hardyweinberg_equilibrium-0.1.3.post20230611.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-11 06:47:10",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "hardyweinberg-equilibrium"
}
        
Elapsed time: 0.08335s