snplib 1.1.10__tar.gz → 1.2.11__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. {snplib-1.1.10 → snplib-1.2.11}/.github/workflows/linux.yml +34 -34
  2. {snplib-1.1.10 → snplib-1.2.11}/.github/workflows/macos.yml +34 -34
  3. {snplib-1.1.10 → snplib-1.2.11}/.github/workflows/windows.yml +34 -34
  4. {snplib-1.1.10 → snplib-1.2.11}/.gitignore +27 -27
  5. {snplib-1.1.10 → snplib-1.2.11}/.readthedocs.yaml +39 -39
  6. {snplib-1.1.10 → snplib-1.2.11}/LICENSE +674 -674
  7. {snplib-1.1.10 → snplib-1.2.11}/PKG-INFO +80 -80
  8. {snplib-1.1.10 → snplib-1.2.11}/README.md +59 -59
  9. {snplib-1.1.10 → snplib-1.2.11}/docs/Makefile +20 -20
  10. {snplib-1.1.10 → snplib-1.2.11}/docs/conf.py +56 -56
  11. {snplib-1.1.10 → snplib-1.2.11}/docs/examples.rst +766 -741
  12. {snplib-1.1.10 → snplib-1.2.11}/docs/index.rst +23 -23
  13. {snplib-1.1.10 → snplib-1.2.11}/docs/install.rst +26 -26
  14. {snplib-1.1.10 → snplib-1.2.11}/docs/intro.rst +15 -15
  15. {snplib-1.1.10 → snplib-1.2.11}/docs/make.bat +0 -0
  16. {snplib-1.1.10 → snplib-1.2.11}/docs/modules.rst +7 -7
  17. snplib-1.2.11/docs/requirements.txt +2 -0
  18. {snplib-1.1.10 → snplib-1.2.11}/docs/snplib.finalreport.rst +9 -9
  19. {snplib-1.1.10 → snplib-1.2.11}/docs/snplib.format.rst +10 -10
  20. {snplib-1.1.10 → snplib-1.2.11}/docs/snplib.parentage.rst +12 -12
  21. {snplib-1.1.10 → snplib-1.2.11}/docs/snplib.rst +12 -12
  22. {snplib-1.1.10 → snplib-1.2.11}/docs/snplib.statistics.rst +13 -13
  23. {snplib-1.1.10 → snplib-1.2.11}/docs/usage.rst +26 -26
  24. {snplib-1.1.10 → snplib-1.2.11}/pyproject.toml +44 -44
  25. {snplib-1.1.10 → snplib-1.2.11}/requirements.txt +10 -10
  26. {snplib-1.1.10 → snplib-1.2.11}/setup.cfg +4 -4
  27. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/__init__.py +8 -8
  28. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/finalreport/__init__.py +7 -7
  29. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/finalreport/_finalreport.py +305 -253
  30. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/format/__init__.py +19 -19
  31. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/format/__settings.py +7 -7
  32. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/format/_plink.py +291 -291
  33. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/format/_snp.py +113 -113
  34. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/parentage/__init__.py +15 -15
  35. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/parentage/_discov.py +102 -102
  36. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/parentage/_isagmark.py +15 -15
  37. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/parentage/_verif.py +91 -91
  38. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/statistics/__init__.py +16 -16
  39. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/statistics/_callrate.py +60 -60
  40. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/statistics/_freq.py +67 -67
  41. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/statistics/_snphwe.py +132 -132
  42. {snplib-1.1.10 → snplib-1.2.11}/src/snplib.egg-info/PKG-INFO +80 -80
  43. {snplib-1.1.10/tests/format → snplib-1.2.11/tests/finalreport}/__init__.py +7 -7
  44. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file1.txt +28 -28
  45. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file2.txt +21 -21
  46. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file3.txt +10 -10
  47. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file4.txt +16 -16
  48. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file6.txt +28 -28
  49. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file7.txt +28 -28
  50. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file8.txt +28 -28
  51. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file9.txt +28 -28
  52. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/test_finalreport.py +306 -229
  53. {snplib-1.1.10/tests/finalreport → snplib-1.2.11/tests/format}/__init__.py +7 -7
  54. {snplib-1.1.10 → snplib-1.2.11}/tests/format/files/fplink/map/file_bovinesnp50.csv +31 -31
  55. {snplib-1.1.10 → snplib-1.2.11}/tests/format/files/fsnp/file1.txt +35 -35
  56. {snplib-1.1.10 → snplib-1.2.11}/tests/format/files/fsnp/file2.txt +35 -35
  57. {snplib-1.1.10 → snplib-1.2.11}/tests/format/test_plink_fam.py +121 -121
  58. {snplib-1.1.10 → snplib-1.2.11}/tests/format/test_plink_lgen.py +106 -106
  59. {snplib-1.1.10 → snplib-1.2.11}/tests/format/test_plink_map.py +42 -42
  60. {snplib-1.1.10 → snplib-1.2.11}/tests/format/test_plink_ped.py +136 -136
  61. {snplib-1.1.10 → snplib-1.2.11}/tests/format/test_snp.py +128 -128
  62. {snplib-1.1.10 → snplib-1.2.11}/tests/parentage/__init__.py +7 -7
  63. {snplib-1.1.10 → snplib-1.2.11}/tests/parentage/data/parentage_test_disc.csv +623 -623
  64. {snplib-1.1.10 → snplib-1.2.11}/tests/parentage/data/parentage_test_verf.csv +245 -245
  65. {snplib-1.1.10 → snplib-1.2.11}/tests/parentage/test_discov.py +164 -164
  66. {snplib-1.1.10 → snplib-1.2.11}/tests/parentage/test_verif.py +160 -160
  67. {snplib-1.1.10 → snplib-1.2.11}/tests/statistics/__init__.py +7 -7
  68. {snplib-1.1.10 → snplib-1.2.11}/tests/statistics/data/freq/etalon.txt +8 -8
  69. {snplib-1.1.10 → snplib-1.2.11}/tests/statistics/test_callrate.py +171 -171
  70. {snplib-1.1.10 → snplib-1.2.11}/tests/statistics/test_freq_allele.py +87 -87
  71. {snplib-1.1.10 → snplib-1.2.11}/tests/statistics/test_freq_maf.py +17 -17
  72. {snplib-1.1.10 → snplib-1.2.11}/tests/statistics/test_hwe_t.py +41 -41
  73. {snplib-1.1.10 → snplib-1.2.11}/tests/statistics/test_snphwe.py +41 -41
  74. snplib-1.1.10/docs/requirements.txt +0 -2
  75. {snplib-1.1.10 → snplib-1.2.11}/__init__.py +0 -0
  76. {snplib-1.1.10 → snplib-1.2.11}/docs/logo.png +0 -0
  77. {snplib-1.1.10 → snplib-1.2.11}/iconlib.png +0 -0
  78. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/parentage/isag_disc.pl +0 -0
  79. {snplib-1.1.10 → snplib-1.2.11}/src/snplib/parentage/isag_verif.pl +0 -0
  80. {snplib-1.1.10 → snplib-1.2.11}/src/snplib.egg-info/SOURCES.txt +0 -0
  81. {snplib-1.1.10 → snplib-1.2.11}/src/snplib.egg-info/dependency_links.txt +0 -0
  82. {snplib-1.1.10 → snplib-1.2.11}/src/snplib.egg-info/requires.txt +0 -0
  83. {snplib-1.1.10 → snplib-1.2.11}/src/snplib.egg-info/top_level.txt +0 -0
  84. {snplib-1.1.10 → snplib-1.2.11}/tests/__init__.py +0 -0
  85. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file1.xlsx +0 -0
  86. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file2.xlsx +0 -0
  87. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file3.xlsx +0 -0
  88. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file5.txt +0 -0
  89. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file5.xlsx +0 -0
  90. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file6.xlsx +0 -0
  91. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file7.xlsx +0 -0
  92. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file8.xlsx +0 -0
  93. {snplib-1.1.10 → snplib-1.2.11}/tests/finalreport/files/fr/file9.xlsx +0 -0
  94. {snplib-1.1.10 → snplib-1.2.11}/tests/format/files/fplink/fam/file.pl +0 -0
  95. {snplib-1.1.10 → snplib-1.2.11}/tests/format/files/fplink/fam/file2.pl +0 -0
  96. {snplib-1.1.10 → snplib-1.2.11}/tests/format/files/fplink/fam/file3.pl +0 -0
  97. {snplib-1.1.10 → snplib-1.2.11}/tests/format/files/fplink/fam/file4.pl +0 -0
  98. {snplib-1.1.10 → snplib-1.2.11}/tests/format/files/fplink/lgen/file.pl +0 -0
  99. {snplib-1.1.10 → snplib-1.2.11}/tests/format/files/fplink/ped/file.pl +0 -0
  100. {snplib-1.1.10 → snplib-1.2.11}/tests/format/files/fplink/ped/file2.pl +0 -0
  101. {snplib-1.1.10 → snplib-1.2.11}/tests/format/files/fplink/ped/file3.pl +0 -0
  102. {snplib-1.1.10 → snplib-1.2.11}/tests/format/files/fplink/ped/file4.pl +0 -0
  103. {snplib-1.1.10 → snplib-1.2.11}/tests/statistics/data/cr/file_cra.pl +0 -0
  104. {snplib-1.1.10 → snplib-1.2.11}/tests/statistics/data/cr/file_crm.pl +0 -0
  105. {snplib-1.1.10 → snplib-1.2.11}/tests/statistics/data/freq/file.pl +0 -0
@@ -1,34 +1,34 @@
1
- name: Test on Linux
2
-
3
- on:
4
- push:
5
- branches: ["dev_v1"]
6
-
7
- pull_request:
8
- branches: ["main"]
9
-
10
-
11
- jobs:
12
- test_lin:
13
-
14
- runs-on: ubuntu-latest
15
- strategy:
16
- fail-fast: false
17
-
18
- matrix:
19
- python-version: ["3.10", "3.11", "3.12"]
20
-
21
- steps:
22
- - uses: actions/checkout@v3
23
- - name: Set up Python ${{ matrix.python-version }}
24
- uses: actions/setup-python@v3
25
- with:
26
- python-version: ${{ matrix.python-version }}
27
-
28
- - name: Install dependencies
29
- run: |
30
- python -m pip install --upgrade pip
31
- pip install -r requirements.txt
32
-
33
- - name: Test with pytest
34
- run: pytest
1
+ name: Test on Linux
2
+
3
+ on:
4
+ push:
5
+ branches: ["dev_v1"]
6
+
7
+ pull_request:
8
+ branches: ["main"]
9
+
10
+
11
+ jobs:
12
+ test_lin:
13
+
14
+ runs-on: ubuntu-latest
15
+ strategy:
16
+ fail-fast: false
17
+
18
+ matrix:
19
+ python-version: ["3.10", "3.11", "3.12"]
20
+
21
+ steps:
22
+ - uses: actions/checkout@v3
23
+ - name: Set up Python ${{ matrix.python-version }}
24
+ uses: actions/setup-python@v3
25
+ with:
26
+ python-version: ${{ matrix.python-version }}
27
+
28
+ - name: Install dependencies
29
+ run: |
30
+ python -m pip install --upgrade pip
31
+ pip install -r requirements.txt
32
+
33
+ - name: Test with pytest
34
+ run: pytest
@@ -1,34 +1,34 @@
1
- name: Test on MacOs
2
-
3
- on:
4
- push:
5
- branches: ["dev_v1"]
6
-
7
- pull_request:
8
- branches: ["main"]
9
-
10
-
11
- jobs:
12
- test_mac:
13
-
14
- runs-on: macos-latest
15
- strategy:
16
- fail-fast: false
17
-
18
- matrix:
19
- python-version: ['3.10', '3.11', '3.12']
20
-
21
- steps:
22
- - uses: actions/checkout@v3
23
- - name: Set up Python ${{ matrix.python-version }}
24
- uses: actions/setup-python@v3
25
- with:
26
- python-version: ${{ matrix.python-version }}
27
-
28
- - name: Install dependencies
29
- run: |
30
- python -m pip install --upgrade pip
31
- pip install -r requirements.txt
32
-
33
- - name: Test with pytest
34
- run: pytest
1
+ name: Test on MacOs
2
+
3
+ on:
4
+ push:
5
+ branches: ["dev_v1"]
6
+
7
+ pull_request:
8
+ branches: ["main"]
9
+
10
+
11
+ jobs:
12
+ test_mac:
13
+
14
+ runs-on: macos-latest
15
+ strategy:
16
+ fail-fast: false
17
+
18
+ matrix:
19
+ python-version: ['3.10', '3.11', '3.12']
20
+
21
+ steps:
22
+ - uses: actions/checkout@v3
23
+ - name: Set up Python ${{ matrix.python-version }}
24
+ uses: actions/setup-python@v3
25
+ with:
26
+ python-version: ${{ matrix.python-version }}
27
+
28
+ - name: Install dependencies
29
+ run: |
30
+ python -m pip install --upgrade pip
31
+ pip install -r requirements.txt
32
+
33
+ - name: Test with pytest
34
+ run: pytest
@@ -1,34 +1,34 @@
1
- name: Test on Windows
2
-
3
- on:
4
- push:
5
- branches: ["dev_v1"]
6
-
7
- pull_request:
8
- branches: ["main"]
9
-
10
-
11
- jobs:
12
- test_wind:
13
-
14
- runs-on: windows-latest
15
- strategy:
16
- fail-fast: false
17
-
18
- matrix:
19
- python-version: ['3.10', '3.11', '3.12']
20
-
21
- steps:
22
- - uses: actions/checkout@v3
23
- - name: Set up Python ${{ matrix.python-version }}
24
- uses: actions/setup-python@v3
25
- with:
26
- python-version: ${{ matrix.python-version }}
27
-
28
- - name: Install dependencies
29
- run: |
30
- python -m pip install --upgrade pip
31
- pip install -r requirements.txt
32
-
33
- - name: Test with pytest
34
- run: pytest
1
+ name: Test on Windows
2
+
3
+ on:
4
+ push:
5
+ branches: ["dev_v1"]
6
+
7
+ pull_request:
8
+ branches: ["main"]
9
+
10
+
11
+ jobs:
12
+ test_wind:
13
+
14
+ runs-on: windows-latest
15
+ strategy:
16
+ fail-fast: false
17
+
18
+ matrix:
19
+ python-version: ['3.10', '3.11', '3.12']
20
+
21
+ steps:
22
+ - uses: actions/checkout@v3
23
+ - name: Set up Python ${{ matrix.python-version }}
24
+ uses: actions/setup-python@v3
25
+ with:
26
+ python-version: ${{ matrix.python-version }}
27
+
28
+ - name: Install dependencies
29
+ run: |
30
+ python -m pip install --upgrade pip
31
+ pip install -r requirements.txt
32
+
33
+ - name: Test with pytest
34
+ run: pytest
@@ -1,27 +1,27 @@
1
- /.venv
2
-
3
- *.bz2
4
- *.jpg
5
- *.log
6
- *.html
7
- *.rar
8
- *.zip
9
- *.txt
10
- *.csv
11
- *.npz
12
- *.xlsx
13
- *.7z
14
- *.ipynb
15
- *.docx
16
-
17
- !requirements.txt
18
- !/tests/*/**
19
- !/docs/*/**
20
- /docs/_build
21
-
22
-
23
- *.idea*
24
- *__pycache__*
25
- *.pytest_cache*
26
- *.ipynb_checkpoints*
27
-
1
+ /.venv
2
+
3
+ *.bz2
4
+ *.jpg
5
+ *.log
6
+ *.html
7
+ *.rar
8
+ *.zip
9
+ *.txt
10
+ *.csv
11
+ *.npz
12
+ *.xlsx
13
+ *.7z
14
+ *.ipynb
15
+ *.docx
16
+
17
+ !requirements.txt
18
+ !/tests/*/**
19
+ !/docs/*/**
20
+ /docs/_build
21
+
22
+
23
+ *.idea*
24
+ *__pycache__*
25
+ *.pytest_cache*
26
+ *.ipynb_checkpoints*
27
+
@@ -1,39 +1,39 @@
1
- # Read the Docs configuration file for Sphinx projects
2
- # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
-
4
- # Required
5
- version: 2
6
-
7
- # Set the OS, Python version and other tools you might need
8
- build:
9
- os: ubuntu-22.04
10
- tools:
11
- python: "3.12"
12
- # You can also specify other tool versions:
13
- # nodejs: "20"
14
- # rust: "1.70"
15
- # golang: "1.20"
16
-
17
- # Build documentation in the "docs/" directory with Sphinx
18
- sphinx:
19
- builder: html
20
- configuration: docs/conf.py
21
- fail_on_warning: true
22
- # You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
23
- # builder: "dirhtml"
24
- # Fail on all warnings to avoid broken references
25
- # fail_on_warning: true
26
-
27
- # Optionally build your docs in additional formats such as PDF and ePub
28
- # formats:
29
- # - pdf
30
- # - epub
31
-
32
- # Optional but recommended, declare the Python requirements required
33
- # to build your documentation
34
- # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
35
- python:
36
- install:
37
- - requirements: docs/requirements.txt
38
- - method: pip
39
- path: .
1
+ # Read the Docs configuration file for Sphinx projects
2
+ # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3
+
4
+ # Required
5
+ version: 2
6
+
7
+ # Set the OS, Python version and other tools you might need
8
+ build:
9
+ os: ubuntu-22.04
10
+ tools:
11
+ python: "3.12"
12
+ # You can also specify other tool versions:
13
+ # nodejs: "20"
14
+ # rust: "1.70"
15
+ # golang: "1.20"
16
+
17
+ # Build documentation in the "docs/" directory with Sphinx
18
+ sphinx:
19
+ builder: html
20
+ configuration: docs/conf.py
21
+ fail_on_warning: true
22
+ # You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
23
+ # builder: "dirhtml"
24
+ # Fail on all warnings to avoid broken references
25
+ # fail_on_warning: true
26
+
27
+ # Optionally build your docs in additional formats such as PDF and ePub
28
+ # formats:
29
+ # - pdf
30
+ # - epub
31
+
32
+ # Optional but recommended, declare the Python requirements required
33
+ # to build your documentation
34
+ # See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
35
+ python:
36
+ install:
37
+ - requirements: docs/requirements.txt
38
+ - method: pip
39
+ path: .