salmopredict 0.1.0__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.
- salmopredict-0.1.0/LICENSE +202 -0
- salmopredict-0.1.0/MANIFEST.in +8 -0
- salmopredict-0.1.0/PKG-INFO +126 -0
- salmopredict-0.1.0/README.md +102 -0
- salmopredict-0.1.0/environment.yml +16 -0
- salmopredict-0.1.0/examples/example_features.csv +11 -0
- salmopredict-0.1.0/examples/example_meta.csv +11 -0
- salmopredict-0.1.0/examples/example_with_sample.csv +11 -0
- salmopredict-0.1.0/pyproject.toml +45 -0
- salmopredict-0.1.0/salmopredict/__init__.py +30 -0
- salmopredict-0.1.0/salmopredict/cli.py +303 -0
- salmopredict-0.1.0/salmopredict/config.py +103 -0
- salmopredict-0.1.0/salmopredict/core/__init__.py +1 -0
- salmopredict-0.1.0/salmopredict/core/align.py +104 -0
- salmopredict-0.1.0/salmopredict/core/io_tables.py +76 -0
- salmopredict-0.1.0/salmopredict/core/modelinfo.py +71 -0
- salmopredict-0.1.0/salmopredict/core/predict.py +102 -0
- salmopredict-0.1.0/salmopredict/gui/__init__.py +1 -0
- salmopredict-0.1.0/salmopredict/gui/app.py +242 -0
- salmopredict-0.1.0/salmopredict/gui/assets/salmopredict_icon.png +0 -0
- salmopredict-0.1.0/salmopredict/gui/assets/vphs_logo.png +0 -0
- salmopredict-0.1.0/salmopredict/models/.DS_Store +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/learner.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/metadata.json +292 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r100_BAG_L1/S1F1/model-internals.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r100_BAG_L1/S1F1/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r100_BAG_L1/S1F2/model-internals.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r100_BAG_L1/S1F2/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r100_BAG_L1/S1F3/model-internals.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r100_BAG_L1/S1F3/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r100_BAG_L1/S1F4/model-internals.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r100_BAG_L1/S1F4/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r100_BAG_L1/S1F5/model-internals.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r100_BAG_L1/S1F5/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r100_BAG_L1/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r134_BAG_L1/S1F1/model-internals.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r134_BAG_L1/S1F1/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r134_BAG_L1/S1F2/model-internals.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r134_BAG_L1/S1F2/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r134_BAG_L1/S1F3/model-internals.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r134_BAG_L1/S1F3/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r134_BAG_L1/S1F4/model-internals.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r134_BAG_L1/S1F4/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r134_BAG_L1/S1F5/model-internals.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r134_BAG_L1/S1F5/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r134_BAG_L1/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r156_BAG_L1/S1F1/model-internals.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r156_BAG_L1/S1F1/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r156_BAG_L1/S1F2/model-internals.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r156_BAG_L1/S1F2/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r156_BAG_L1/S1F3/model-internals.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r156_BAG_L1/S1F3/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r156_BAG_L1/S1F4/model-internals.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r156_BAG_L1/S1F4/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r156_BAG_L1/S1F5/model-internals.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r156_BAG_L1/S1F5/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetFastAI_r156_BAG_L1/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r121_BAG_L1/S1F1/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r121_BAG_L1/S1F2/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r121_BAG_L1/S1F3/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r121_BAG_L1/S1F4/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r121_BAG_L1/S1F5/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r121_BAG_L1/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r1_BAG_L1/S1F1/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r1_BAG_L1/S1F2/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r1_BAG_L1/S1F3/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r1_BAG_L1/S1F4/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r1_BAG_L1/S1F5/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r1_BAG_L1/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r30_BAG_L1/S1F1/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r30_BAG_L1/S1F2/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r30_BAG_L1/S1F3/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r30_BAG_L1/S1F4/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r30_BAG_L1/S1F5/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r30_BAG_L1/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r79_BAG_L1/S1F1/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r79_BAG_L1/S1F2/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r79_BAG_L1/S1F3/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r79_BAG_L1/S1F4/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r79_BAG_L1/S1F5/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/NeuralNetTorch_r79_BAG_L1/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/WeightedEnsemble_L2/model.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/models/trainer.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/predictor.pkl +0 -0
- salmopredict-0.1.0/salmopredict/models/model_default/version.txt +1 -0
- salmopredict-0.1.0/salmopredict/pipeline.py +112 -0
- salmopredict-0.1.0/salmopredict.egg-info/PKG-INFO +126 -0
- salmopredict-0.1.0/salmopredict.egg-info/SOURCES.txt +91 -0
- salmopredict-0.1.0/salmopredict.egg-info/dependency_links.txt +1 -0
- salmopredict-0.1.0/salmopredict.egg-info/entry_points.txt +2 -0
- salmopredict-0.1.0/salmopredict.egg-info/requires.txt +7 -0
- salmopredict-0.1.0/salmopredict.egg-info/top_level.txt +1 -0
- salmopredict-0.1.0/setup.cfg +4 -0
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
Apache License
|
|
2
|
+
Version 2.0, January 2004
|
|
3
|
+
http://www.apache.org/licenses/
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
6
|
+
|
|
7
|
+
1. Definitions.
|
|
8
|
+
|
|
9
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
10
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
11
|
+
|
|
12
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
13
|
+
the copyright owner that is granting the License.
|
|
14
|
+
|
|
15
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
16
|
+
other entities that control, are controlled by, or are under common
|
|
17
|
+
control with that entity. For the purposes of this definition,
|
|
18
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
19
|
+
direction or management of such entity, whether by contract or
|
|
20
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
21
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
22
|
+
|
|
23
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
24
|
+
exercising permissions granted by this License.
|
|
25
|
+
|
|
26
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
27
|
+
including but not limited to software source code, documentation
|
|
28
|
+
source, and configuration files.
|
|
29
|
+
|
|
30
|
+
"Object" form shall mean any form resulting from mechanical
|
|
31
|
+
transformation or translation of a Source form, including but
|
|
32
|
+
not limited to compiled object code, generated documentation,
|
|
33
|
+
and conversions to other media types.
|
|
34
|
+
|
|
35
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
36
|
+
Object form, made available under the License, as indicated by a
|
|
37
|
+
copyright notice that is included in or attached to the work
|
|
38
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 State Key Laboratory of Veterinary Public Health and Safety,
|
|
190
|
+
China Agricultural University
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# The wheel gets the model + assets via [tool.setuptools.package-data]; the
|
|
2
|
+
# source distribution (sdist) needs them listed here too, otherwise `python -m
|
|
3
|
+
# build` produces a modelless tarball.
|
|
4
|
+
recursive-include salmopredict/models *
|
|
5
|
+
recursive-include salmopredict/gui/assets *.png
|
|
6
|
+
include LICENSE
|
|
7
|
+
include environment.yml
|
|
8
|
+
include examples/*.csv
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: salmopredict
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: AutoGluon-based Incidence predictor for Salmonella virulence-factor gene-frequency features
|
|
5
|
+
Author-email: Dongyan Shao <563608176@qq.com>
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Homepage, https://github.com/shaodongyan/SalmoPredict
|
|
8
|
+
Project-URL: Repository, https://github.com/shaodongyan/SalmoPredict
|
|
9
|
+
Project-URL: Issues, https://github.com/shaodongyan/SalmoPredict/issues
|
|
10
|
+
Keywords: salmonella,incidence,autogluon,prediction,bioinformatics
|
|
11
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
14
|
+
Requires-Python: <3.11,>=3.10
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
License-File: LICENSE
|
|
17
|
+
Requires-Dist: autogluon.tabular==1.1.1
|
|
18
|
+
Requires-Dist: pandas>=2.0
|
|
19
|
+
Requires-Dist: openpyxl>=3.0
|
|
20
|
+
Requires-Dist: rich-argparse>=1.4
|
|
21
|
+
Provides-Extra: gui
|
|
22
|
+
Requires-Dist: streamlit>=1.30; extra == "gui"
|
|
23
|
+
Dynamic: license-file
|
|
24
|
+
|
|
25
|
+
<p align="center">
|
|
26
|
+
<img src="https://raw.githubusercontent.com/shaodongyan/SalmoPredict/main/salmopredict/gui/assets/salmopredict_icon.png" alt="salmopredict" width="200">
|
|
27
|
+
</p>
|
|
28
|
+
|
|
29
|
+
# salmopredict
|
|
30
|
+
|
|
31
|
+
AutoGluon-based **Incidence** predictor for *Salmonella* virulence-factor
|
|
32
|
+
gene-frequency features, with a command-line interface and a Streamlit GUI.
|
|
33
|
+
|
|
34
|
+
Given a feature table (rows = samples, columns = virulence-factor genes),
|
|
35
|
+
salmopredict aligns the columns to the features a pre-trained AutoGluon
|
|
36
|
+
`TabularPredictor` expects, runs the `WeightedEnsemble_L2` model, and writes a
|
|
37
|
+
single prediction file. It reproduces the alignment used by the original
|
|
38
|
+
`predict_autogluon.py`: column names are normalised R-`make.names`-style
|
|
39
|
+
(`/` and `-` become `.`), genes the model expects but the input lacks are filled
|
|
40
|
+
with `0` (a missing gene means frequency 0), and extra input columns are ignored.
|
|
41
|
+
|
|
42
|
+
**Input/output contract** — one input CSV in, one output CSV out. The output
|
|
43
|
+
columns depend on whether the input has a `Sample` column:
|
|
44
|
+
|
|
45
|
+
| Input | Output columns |
|
|
46
|
+
|-------|----------------|
|
|
47
|
+
| No `Sample` column (features only) | `Incidence(%)` |
|
|
48
|
+
| Has a `Sample` column | `Sample`, `Incidence(%)` |
|
|
49
|
+
| Has a `Sample` column **and** `--attach meta.csv` | `Sample`, `Incidence(%)`, + the metadata's other columns |
|
|
50
|
+
|
|
51
|
+
Metadata is joined on the `Sample` key (the metadata CSV must also have a
|
|
52
|
+
`Sample` column), so attaching metadata requires a `Sample` column in the input.
|
|
53
|
+
|
|
54
|
+
## Install
|
|
55
|
+
|
|
56
|
+
The model must be loaded with **AutoGluon 1.1.1**. Reproduce the environment
|
|
57
|
+
with conda (AutoGluon is installed via pip inside the env — conda-installed
|
|
58
|
+
AutoGluon does not resolve cleanly for this project):
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
conda env create -f environment.yml
|
|
62
|
+
conda activate salmopredict
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Or install into an existing env that already has a working AutoGluon 1.1.1:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
pip install -e . # add [gui] for the Streamlit interface: pip install -e ".[gui]"
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
## The model
|
|
72
|
+
|
|
73
|
+
The prediction model is **already bundled** in this repository at
|
|
74
|
+
`salmopredict/models/model_default` — a 30 MB deployment. salmopredict uses it
|
|
75
|
+
automatically, so the tool works out of the box with no extra download or build
|
|
76
|
+
step.
|
|
77
|
+
|
|
78
|
+
Model resolution order is `--model`, then `$SALMOPREDICT_MODEL`, then the single
|
|
79
|
+
directory under the package `models/` folder; with nothing specified it uses the
|
|
80
|
+
bundled `model_default`. Pass `--model /path/to/other` to run a different
|
|
81
|
+
AutoGluon model.
|
|
82
|
+
|
|
83
|
+
## Usage
|
|
84
|
+
|
|
85
|
+
Ready-to-run inputs live in [`examples/`](examples/) (see its README):
|
|
86
|
+
`example_features.csv` (Type 1, no `Sample`), `example_with_sample.csv`
|
|
87
|
+
(Type 2, with `Sample`), and `example_meta.csv` (metadata to attach). Features
|
|
88
|
+
are `gene_frequency × log10(CFU dose)`, matching how the model was trained. Try
|
|
89
|
+
one immediately:
|
|
90
|
+
|
|
91
|
+
```bash
|
|
92
|
+
salmopredict run -i examples/example_features.csv -o results/
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
# Features only -> output has just Incidence(%)
|
|
97
|
+
salmopredict run -i features.csv -o results/ --model /path/to/model
|
|
98
|
+
|
|
99
|
+
# With a Sample column -> output has Sample, Incidence(%)
|
|
100
|
+
salmopredict run -i examples/example_with_sample.csv -o results/
|
|
101
|
+
|
|
102
|
+
# Attach metadata joined on the Sample key -> Sample, Incidence(%), + meta columns
|
|
103
|
+
salmopredict run -i examples/example_with_sample.csv -o results/ \
|
|
104
|
+
--attach examples/example_meta.csv
|
|
105
|
+
|
|
106
|
+
# Launch the GUI, or check the environment/model
|
|
107
|
+
salmopredict gui
|
|
108
|
+
salmopredict check --model /path/to/model
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
Each run writes one `pred_<input-stem>.csv` to the output directory; the
|
|
112
|
+
prediction column is `Incidence(%)`. Features filled with `0` (genes the model
|
|
113
|
+
expects but the input lacks) are always reported, and a prominent warning
|
|
114
|
+
appears when more than `--missing-warn-frac` (default 0.3) of the model's
|
|
115
|
+
features are missing.
|
|
116
|
+
|
|
117
|
+
## License
|
|
118
|
+
|
|
119
|
+
Licensed under the [Apache License, Version 2.0](LICENSE). Developed at the State
|
|
120
|
+
Key Laboratory of Veterinary Public Health and Safety, China Agricultural
|
|
121
|
+
University, in collaboration with the China National Center for Food Safety Risk
|
|
122
|
+
Assessment (CFSA).
|
|
123
|
+
|
|
124
|
+
<p align="center">
|
|
125
|
+
<img src="https://raw.githubusercontent.com/shaodongyan/SalmoPredict/main/salmopredict/gui/assets/vphs_logo.png" alt="State Key Laboratory of Veterinary Public Health and Safety" width="360">
|
|
126
|
+
</p>
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="https://raw.githubusercontent.com/shaodongyan/SalmoPredict/main/salmopredict/gui/assets/salmopredict_icon.png" alt="salmopredict" width="200">
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
# salmopredict
|
|
6
|
+
|
|
7
|
+
AutoGluon-based **Incidence** predictor for *Salmonella* virulence-factor
|
|
8
|
+
gene-frequency features, with a command-line interface and a Streamlit GUI.
|
|
9
|
+
|
|
10
|
+
Given a feature table (rows = samples, columns = virulence-factor genes),
|
|
11
|
+
salmopredict aligns the columns to the features a pre-trained AutoGluon
|
|
12
|
+
`TabularPredictor` expects, runs the `WeightedEnsemble_L2` model, and writes a
|
|
13
|
+
single prediction file. It reproduces the alignment used by the original
|
|
14
|
+
`predict_autogluon.py`: column names are normalised R-`make.names`-style
|
|
15
|
+
(`/` and `-` become `.`), genes the model expects but the input lacks are filled
|
|
16
|
+
with `0` (a missing gene means frequency 0), and extra input columns are ignored.
|
|
17
|
+
|
|
18
|
+
**Input/output contract** — one input CSV in, one output CSV out. The output
|
|
19
|
+
columns depend on whether the input has a `Sample` column:
|
|
20
|
+
|
|
21
|
+
| Input | Output columns |
|
|
22
|
+
|-------|----------------|
|
|
23
|
+
| No `Sample` column (features only) | `Incidence(%)` |
|
|
24
|
+
| Has a `Sample` column | `Sample`, `Incidence(%)` |
|
|
25
|
+
| Has a `Sample` column **and** `--attach meta.csv` | `Sample`, `Incidence(%)`, + the metadata's other columns |
|
|
26
|
+
|
|
27
|
+
Metadata is joined on the `Sample` key (the metadata CSV must also have a
|
|
28
|
+
`Sample` column), so attaching metadata requires a `Sample` column in the input.
|
|
29
|
+
|
|
30
|
+
## Install
|
|
31
|
+
|
|
32
|
+
The model must be loaded with **AutoGluon 1.1.1**. Reproduce the environment
|
|
33
|
+
with conda (AutoGluon is installed via pip inside the env — conda-installed
|
|
34
|
+
AutoGluon does not resolve cleanly for this project):
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
conda env create -f environment.yml
|
|
38
|
+
conda activate salmopredict
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Or install into an existing env that already has a working AutoGluon 1.1.1:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
pip install -e . # add [gui] for the Streamlit interface: pip install -e ".[gui]"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## The model
|
|
48
|
+
|
|
49
|
+
The prediction model is **already bundled** in this repository at
|
|
50
|
+
`salmopredict/models/model_default` — a 30 MB deployment. salmopredict uses it
|
|
51
|
+
automatically, so the tool works out of the box with no extra download or build
|
|
52
|
+
step.
|
|
53
|
+
|
|
54
|
+
Model resolution order is `--model`, then `$SALMOPREDICT_MODEL`, then the single
|
|
55
|
+
directory under the package `models/` folder; with nothing specified it uses the
|
|
56
|
+
bundled `model_default`. Pass `--model /path/to/other` to run a different
|
|
57
|
+
AutoGluon model.
|
|
58
|
+
|
|
59
|
+
## Usage
|
|
60
|
+
|
|
61
|
+
Ready-to-run inputs live in [`examples/`](examples/) (see its README):
|
|
62
|
+
`example_features.csv` (Type 1, no `Sample`), `example_with_sample.csv`
|
|
63
|
+
(Type 2, with `Sample`), and `example_meta.csv` (metadata to attach). Features
|
|
64
|
+
are `gene_frequency × log10(CFU dose)`, matching how the model was trained. Try
|
|
65
|
+
one immediately:
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
salmopredict run -i examples/example_features.csv -o results/
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
# Features only -> output has just Incidence(%)
|
|
73
|
+
salmopredict run -i features.csv -o results/ --model /path/to/model
|
|
74
|
+
|
|
75
|
+
# With a Sample column -> output has Sample, Incidence(%)
|
|
76
|
+
salmopredict run -i examples/example_with_sample.csv -o results/
|
|
77
|
+
|
|
78
|
+
# Attach metadata joined on the Sample key -> Sample, Incidence(%), + meta columns
|
|
79
|
+
salmopredict run -i examples/example_with_sample.csv -o results/ \
|
|
80
|
+
--attach examples/example_meta.csv
|
|
81
|
+
|
|
82
|
+
# Launch the GUI, or check the environment/model
|
|
83
|
+
salmopredict gui
|
|
84
|
+
salmopredict check --model /path/to/model
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
Each run writes one `pred_<input-stem>.csv` to the output directory; the
|
|
88
|
+
prediction column is `Incidence(%)`. Features filled with `0` (genes the model
|
|
89
|
+
expects but the input lacks) are always reported, and a prominent warning
|
|
90
|
+
appears when more than `--missing-warn-frac` (default 0.3) of the model's
|
|
91
|
+
features are missing.
|
|
92
|
+
|
|
93
|
+
## License
|
|
94
|
+
|
|
95
|
+
Licensed under the [Apache License, Version 2.0](LICENSE). Developed at the State
|
|
96
|
+
Key Laboratory of Veterinary Public Health and Safety, China Agricultural
|
|
97
|
+
University, in collaboration with the China National Center for Food Safety Risk
|
|
98
|
+
Assessment (CFSA).
|
|
99
|
+
|
|
100
|
+
<p align="center">
|
|
101
|
+
<img src="https://raw.githubusercontent.com/shaodongyan/SalmoPredict/main/salmopredict/gui/assets/vphs_logo.png" alt="State Key Laboratory of Veterinary Public Health and Safety" width="360">
|
|
102
|
+
</p>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
name: salmopredict
|
|
2
|
+
channels:
|
|
3
|
+
- conda-forge
|
|
4
|
+
dependencies:
|
|
5
|
+
# Conda provides only Python (matched to the model's pickle version); the
|
|
6
|
+
# AutoGluon stack is installed via pip below, because conda-installed
|
|
7
|
+
# autogluon does not resolve cleanly for this project.
|
|
8
|
+
- python=3.10
|
|
9
|
+
- pip
|
|
10
|
+
- pip:
|
|
11
|
+
- autogluon.tabular==1.1.1
|
|
12
|
+
- pandas>=2.0
|
|
13
|
+
- openpyxl>=3.0
|
|
14
|
+
- rich-argparse>=1.4
|
|
15
|
+
- streamlit>=1.30
|
|
16
|
+
- -e .
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
SEAG_RS23305,SEAG_RS23320,SEN_RS22090,SG_RS05215,SG_RS05220,SG_RS05300,SG_RS24060,STM0266,STM0267,STM0268,STM0270,STM0271,STM0272,STM0273,STM0274,STM0275,STM0276,STM0278,STM0279,STM0280,STM0281,STM0282,STM0283,STM0284,STM0285,STM0286,STM0287,STM0289,STM0290,STM0306,STM3026,STM4261,STY_RS21720,STY_RS21730,apeE,avrA,bcfB,cheA,cheB,cheM,cheW,csgB,csgD,fimC,fimY,flgD,flgG,fliC,fliD,fliF,fliG,fliI,fliK,fliL,fliM,fliP,fljB,gogB,hilC,hilD,invA,iroB,iroC,iroD,iroN,lpfA,lpfD,mig-5,motB,nmpC,pefA,pefB,pefC,pefD,pegA,pegB,pegC,pipB,pltA,ratB,rck,rpoS,safA,safB,safC,safD,sefA,sefB,sefC,sefD,shdA,sifB,sinH,sipD,sodCI,sopA,sopD2,sopE,spiC/ssaB,spvB,spvC,spvD,ssaT,ssaU,sseI/srfH,sseK1,sseK2,sseL,sspH1,sspH2,staA,staB,stcA,stcD,stdB,steC,steD,steF,stkA,tae4,tcfA,tcfD,tlde1
|
|
2
|
+
0.0,0.0,2.429073,2.429073,2.69897,0.0,2.429073,2.69897,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,2.69897,2.429073,2.69897,0.0,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,0.0,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,0.0,0.0,2.429073,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,1.889279,2.69897,2.69897,0.0,1.619382,1.619382,1.619382,2.69897,2.69897,2.69897,2.69897,0.0,2.69897,1.349485,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.429073,2.429073,2.429073,0.0,2.429073,0.0,2.69897,2.69897,2.69897,2.429073,2.69897,2.69897,1.889279,1.889279,1.619382,2.69897,2.69897,2.69897,1.619382,2.429073,2.69897,0.0,2.429073,0.0,0.0,0.0,0.0,2.69897,2.69897,2.69897,2.69897,0.0,0.0,0.0,0.0,2.69897
|
|
3
|
+
0.0,0.0,2.7,2.7,3.0,0.0,2.7,3.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.0,2.7,3.0,0.0,0.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,0.0,0.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,0.0,0.0,2.7,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,2.1,3.0,3.0,0.0,1.8,1.8,1.8,3.0,3.0,3.0,3.0,0.0,3.0,1.5,3.0,3.0,3.0,3.0,3.0,3.0,2.7,2.7,2.7,0.0,2.7,0.0,3.0,3.0,3.0,2.7,3.0,3.0,2.1,2.1,1.8,3.0,3.0,3.0,1.8,2.7,3.0,0.0,2.7,0.0,0.0,0.0,0.0,3.0,3.0,3.0,3.0,0.0,0.0,0.0,0.0,3.0
|
|
4
|
+
0.0,0.0,2.970927,2.970927,3.30103,0.0,2.970927,3.30103,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.30103,2.970927,3.30103,0.0,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,0.0,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,0.0,0.0,2.970927,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,2.310721,3.30103,3.30103,0.0,1.980618,1.980618,1.980618,3.30103,3.30103,3.30103,3.30103,0.0,3.30103,1.650515,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,2.970927,2.970927,2.970927,0.0,2.970927,0.0,3.30103,3.30103,3.30103,2.970927,3.30103,3.30103,2.310721,2.310721,1.980618,3.30103,3.30103,3.30103,1.980618,2.970927,3.30103,0.0,2.970927,0.0,0.0,0.0,0.0,3.30103,3.30103,3.30103,3.30103,0.0,0.0,0.0,0.0,3.30103
|
|
5
|
+
0.0,0.0,3.6,3.6,4.0,0.0,3.6,4.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,4.0,3.6,4.0,0.0,0.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,0.0,0.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,0.0,0.0,3.6,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,2.8,4.0,4.0,0.0,2.4,2.4,2.4,4.0,4.0,4.0,4.0,0.0,4.0,2.0,4.0,4.0,4.0,4.0,4.0,4.0,3.6,3.6,3.6,0.0,3.6,0.0,4.0,4.0,4.0,3.6,4.0,4.0,2.8,2.8,2.4,4.0,4.0,4.0,2.4,3.6,4.0,0.0,3.6,0.0,0.0,0.0,0.0,4.0,4.0,4.0,4.0,0.0,0.0,0.0,0.0,4.0
|
|
6
|
+
0.0,0.0,4.5,4.5,5.0,0.0,4.5,5.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,5.0,4.5,5.0,0.0,0.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,0.0,0.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,0.0,0.0,4.5,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,3.5,5.0,5.0,0.0,3.0,3.0,3.0,5.0,5.0,5.0,5.0,0.0,5.0,2.5,5.0,5.0,5.0,5.0,5.0,5.0,4.5,4.5,4.5,0.0,4.5,0.0,5.0,5.0,5.0,4.5,5.0,5.0,3.5,3.5,3.0,5.0,5.0,5.0,3.0,4.5,5.0,0.0,4.5,0.0,0.0,0.0,0.0,5.0,5.0,5.0,5.0,0.0,0.0,0.0,0.0,5.0
|
|
7
|
+
2.69897,2.69897,0.0,0.0,0.0,0.0,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.657946,2.249052,2.657946,2.249052,2.69897,2.69897,2.69897,2.657946,2.576167,2.69897,2.69897,2.69897,2.69897,2.69897,2.657946,2.657946,2.412609,0.0,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.657946,2.69897,2.657946,2.69897,2.69897,2.657946,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.494388,0.408894,2.657946,2.657946,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.657946,0.286361,2.69897,2.69897,0.245336,0.245336,0.245336,0.245336,0.0,0.0,0.0,2.657946,0.0,2.69897,0.122803,2.69897,2.617191,2.69897,2.69897,2.69897,0.0,0.0,0.0,0.0,0.327115,2.535412,2.69897,2.69897,2.617191,2.657946,2.535412,0.0,2.657946,0.286361,0.245336,0.286361,2.657946,2.657946,2.494388,2.535412,2.657946,2.617191,0.041024,2.617191,0.0,0.0,2.657946,2.657946,2.69897,2.657946,0.0,0.0,0.0,2.657946,0.0,0.0,2.69897
|
|
8
|
+
3.0,3.0,0.0,0.0,0.0,0.0,0.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,2.9544,2.4999,2.9544,2.4999,3.0,3.0,3.0,2.9544,2.8635,3.0,3.0,3.0,3.0,3.0,2.9544,2.9544,2.6817,0.0,0.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,2.9544,3.0,2.9544,3.0,3.0,2.9544,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,2.7726,0.4545,2.9544,2.9544,3.0,3.0,3.0,3.0,3.0,3.0,2.9544,0.3183,3.0,3.0,0.2727,0.2727,0.2727,0.2727,0.0,0.0,0.0,2.9544,0.0,3.0,0.1365,3.0,2.9091,3.0,3.0,3.0,0.0,0.0,0.0,0.0,0.3636,2.8182,3.0,3.0,2.9091,2.9544,2.8182,0.0,2.9544,0.3183,0.2727,0.3183,2.9544,2.9544,2.7726,2.8182,2.9544,2.9091,0.0456,2.9091,0.0,0.0,2.9544,2.9544,3.0,2.9544,0.0,0.0,0.0,2.9544,0.0,0.0,3.0
|
|
9
|
+
3.30103,3.30103,0.0,0.0,0.0,0.0,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.250854,2.750748,3.250854,2.750748,3.30103,3.30103,3.30103,3.250854,3.150833,3.30103,3.30103,3.30103,3.30103,3.30103,3.250854,3.250854,2.950791,0.0,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.250854,3.30103,3.250854,3.30103,3.30103,3.250854,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.050812,0.500106,3.250854,3.250854,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.250854,0.350239,3.30103,3.30103,0.300064,0.300064,0.300064,0.300064,0.0,0.0,0.0,3.250854,0.0,3.30103,0.150197,3.30103,3.201009,3.30103,3.30103,3.30103,0.0,0.0,0.0,0.0,0.400085,3.100988,3.30103,3.30103,3.201009,3.250854,3.100988,0.0,3.250854,0.350239,0.300064,0.350239,3.250854,3.250854,3.050812,3.100988,3.250854,3.201009,0.050176,3.201009,0.0,0.0,3.250854,3.250854,3.30103,3.250854,0.0,0.0,0.0,3.250854,0.0,0.0,3.30103
|
|
10
|
+
4.0,4.0,0.0,0.0,0.0,0.0,0.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,3.9392,3.3332,3.9392,3.3332,4.0,4.0,4.0,3.9392,3.818,4.0,4.0,4.0,4.0,4.0,3.9392,3.9392,3.5756,0.0,0.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,3.9392,4.0,3.9392,4.0,4.0,3.9392,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,3.6968,0.606,3.9392,3.9392,4.0,4.0,4.0,4.0,4.0,4.0,3.9392,0.4244,4.0,4.0,0.3636,0.3636,0.3636,0.3636,0.0,0.0,0.0,3.9392,0.0,4.0,0.182,4.0,3.8788,4.0,4.0,4.0,0.0,0.0,0.0,0.0,0.4848,3.7576,4.0,4.0,3.8788,3.9392,3.7576,0.0,3.9392,0.4244,0.3636,0.4244,3.9392,3.9392,3.6968,3.7576,3.9392,3.8788,0.0608,3.8788,0.0,0.0,3.9392,3.9392,4.0,3.9392,0.0,0.0,0.0,3.9392,0.0,0.0,4.0
|
|
11
|
+
5.0,5.0,0.0,0.0,0.0,0.0,0.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,4.924,4.1665,4.924,4.1665,5.0,5.0,5.0,4.924,4.7725,5.0,5.0,5.0,5.0,5.0,4.924,4.924,4.4695,0.0,0.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,4.924,5.0,4.924,5.0,5.0,4.924,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,4.621,0.7575,4.924,4.924,5.0,5.0,5.0,5.0,5.0,5.0,4.924,0.5305,5.0,5.0,0.4545,0.4545,0.4545,0.4545,0.0,0.0,0.0,4.924,0.0,5.0,0.2275,5.0,4.8485,5.0,5.0,5.0,0.0,0.0,0.0,0.0,0.606,4.697,5.0,5.0,4.8485,4.924,4.697,0.0,4.924,0.5305,0.4545,0.5305,4.924,4.924,4.621,4.697,4.924,4.8485,0.076,4.8485,0.0,0.0,4.924,4.924,5.0,4.924,0.0,0.0,0.0,4.924,0.0,0.0,5.0
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Sample,serotype,dose_cfu,source,region
|
|
2
|
+
S001,Enteritidis,500,retail chicken,North
|
|
3
|
+
S002,Enteritidis,1000,retail pork,East
|
|
4
|
+
S003,Enteritidis,2000,retail beef,South
|
|
5
|
+
S004,Enteritidis,10000,retail chicken,Central
|
|
6
|
+
S005,Enteritidis,100000,retail pork,West
|
|
7
|
+
S006,Typhimurium,500,retail chicken,North
|
|
8
|
+
S007,Typhimurium,1000,retail pork,East
|
|
9
|
+
S008,Typhimurium,2000,retail beef,South
|
|
10
|
+
S009,Typhimurium,10000,retail chicken,Central
|
|
11
|
+
S010,Typhimurium,100000,retail pork,West
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Sample,SEAG_RS23305,SEAG_RS23320,SEAG_RS23325,SEN_RS22090,SG_RS05215,SG_RS05220,SG_RS05240,SG_RS05245,SG_RS05300,SG_RS05305,SG_RS05320,SG_RS05325,SG_RS24060,SNSL254_RS24270,SNSL254_RS24285,SNSL254_RS24290,STM0266,STM0267,STM0268,STM0269,STM0270,STM0271,STM0272,STM0273,STM0274,STM0275,STM0276,STM0278,STM0279,STM0280,STM0281,STM0282,STM0283,STM0284,STM0285,STM0286,STM0287,STM0289,STM0290,STM0306,STM3026,STM4261,STM4571,STM4574,STM4575,STY_RS21720,STY_RS21725,STY_RS21730,STY_RS21735,STY_RS21750,apeE,avrA,bcfA,bcfB,bcfC,bcfD,bcfE,bcfF,bcfG,bcfH,cdtB,cheA,cheB,cheM,cheR,cheW,cheY,cheZ,csgA,csgB,csgC,csgD,csgE,csgF,csgG,fimA,fimC,fimD,fimF,fimH,fimI,fimW,fimY,fimZ,flgA,flgB,flgC,flgD,flgE,flgF,flgG,flgH,flgI,flgJ,flgK,flgL,flgM,flgN,flhA,flhB,flhC,flhD,flhE,fliA,fliB,fliC,fliD,fliE,fliF,fliG,fliH,fliI,fliJ,fliK,fliL,fliM,fliN,fliO,fliP,fliQ,fliR,fliS,fliT,fliY,fliZ,fljA,fljB,flk,fur,gogB,hilA,hilC,hilD,hlyE,iacP,iagB,invA,invB,invC/sctN,invE,invF,invG,invH,invI,invJ,iroB,iroC,iroD,iroE,iroN,lpfA,lpfB,lpfC,lpfD,lpfE,mgtB,mgtC,mig-14,mig-5,misL,motA,motB,nmpC,orgA/sctK,orgB/SctL,orgC,pefA,pefB,pefC,pefD,pegA,pegB,pegC,pegD,phoP,phoQ,pilM,pilO2,pilP,pilV,pipB,pipB2,pltA,pltB,pmrA,pmrB,prgH,prgI,prgJ,prgK,ratB,rck,rpoS,safA,safB,safC,safD,sefA,sefB,sefC,sefD,shdA,sicA,sicP,sifA,sifB,sinH,sipA/sspA,sipB/sspB,sipC/sspC,sipD,slrP,sodCI,sopA,sopB/sigD,sopD,sopD2,sopE,sopE2,spaO/sctQ,spaP,spaQ,spaR,spaS,spiC/ssaB,sprB,sptP,spvB,spvC,spvD,ssaC,ssaD,ssaE,ssaG,ssaH,ssaI,ssaJ,ssaK,ssaL,ssaM,ssaN,ssaO,ssaP,ssaQ,ssaR,ssaS,ssaT,ssaU,ssaV,ssaX,sscA,sscB,sseA,sseB,sseC,sseD,sseE,sseF,sseG,sseI/srfH,sseJ,sseK1,sseK2,sseL,sspH1,sspH2,ssrA,ssrB,staA,staB,staC,staD,staE,staF,staG,stbA,stbB,stbC,stbD,stbE,stcA,stcB,stcC,stcD,stdA,stdB,stdC,steA,steB,steC,steD,steE,steF,stfA,stfC,stfD,stfE,stfF,stfG,stgA,stgB,stgC,stgD,sthA,sthB,sthC,sthD,sthE,stiA,stiB,stiC,stiH,stjB,stjC,stkA,stkB,stkC,stkD,stkE,stkF,stkG,tadA,tae4,tagH,tagO,tcfA,tcfB,tcfC,tcfD,tlde1,tssB,tssC,tssF,tssG,tssJ,tssK,tssM,tviA,tviB,tviC,tviD,tviE,vexA,vexB,vexC,vexD,vexE
|
|
2
|
+
S001,0.0,0.0,0.0,2.429073,2.429073,2.69897,0.0,0.0,0.0,0.0,0.0,0.0,2.429073,0.0,0.0,0.0,2.69897,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,2.69897,2.429073,2.69897,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,0.0,0.0,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,0.0,0.0,2.69897,2.69897,0.0,2.69897,2.429073,2.69897,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,1.889279,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,0.0,1.619382,1.619382,1.619382,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,0.0,0.0,0.0,0.0,2.69897,2.69897,0.0,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,1.349485,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.429073,2.429073,2.429073,0.0,2.69897,2.69897,2.69897,2.429073,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.429073,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,1.889279,1.889279,1.619382,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,1.619382,2.429073,2.69897,0.0,2.429073,2.69897,2.69897,0.0,0.0,0.0,0.0,0.0,0.0,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,0.0,0.0,0.0,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.429073,2.429073,2.429073,2.429073,2.429073,2.429073,0.0,0.0,0.0,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.429073,2.429073,2.429073,2.429073,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,2.69897,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
|
|
3
|
+
S002,0.0,0.0,0.0,2.7,2.7,3.0,0.0,0.0,0.0,0.0,0.0,0.0,2.7,0.0,0.0,0.0,3.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.0,2.7,3.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,0.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,0.0,0.0,0.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,0.0,0.0,3.0,3.0,0.0,3.0,2.7,3.0,0.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,2.1,3.0,3.0,3.0,3.0,3.0,3.0,3.0,0.0,1.8,1.8,1.8,3.0,3.0,3.0,3.0,3.0,3.0,0.0,0.0,0.0,0.0,3.0,3.0,0.0,0.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,1.5,3.0,3.0,3.0,3.0,3.0,3.0,2.7,2.7,2.7,0.0,3.0,3.0,3.0,2.7,0.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,2.7,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,2.1,2.1,1.8,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,1.8,2.7,3.0,0.0,2.7,3.0,3.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.0,3.0,3.0,3.0,3.0,0.0,0.0,0.0,0.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,2.7,2.7,2.7,2.7,2.7,2.7,0.0,0.0,0.0,0.0,3.0,3.0,3.0,3.0,3.0,2.7,2.7,2.7,2.7,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
|
|
4
|
+
S003,0.0,0.0,0.0,2.970927,2.970927,3.30103,0.0,0.0,0.0,0.0,0.0,0.0,2.970927,0.0,0.0,0.0,3.30103,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.30103,2.970927,3.30103,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,0.0,0.0,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,0.0,0.0,3.30103,3.30103,0.0,3.30103,2.970927,3.30103,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,2.310721,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,0.0,1.980618,1.980618,1.980618,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,0.0,0.0,0.0,0.0,3.30103,3.30103,0.0,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,1.650515,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,2.970927,2.970927,2.970927,0.0,3.30103,3.30103,3.30103,2.970927,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,2.970927,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,2.310721,2.310721,1.980618,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,1.980618,2.970927,3.30103,0.0,2.970927,3.30103,3.30103,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,0.0,0.0,0.0,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,2.970927,2.970927,2.970927,2.970927,2.970927,2.970927,0.0,0.0,0.0,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,2.970927,2.970927,2.970927,2.970927,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.30103,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
|
|
5
|
+
S004,0.0,0.0,0.0,3.6,3.6,4.0,0.0,0.0,0.0,0.0,0.0,0.0,3.6,0.0,0.0,0.0,4.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,4.0,3.6,4.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,0.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,0.0,0.0,0.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,0.0,0.0,4.0,4.0,0.0,4.0,3.6,4.0,0.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,2.8,4.0,4.0,4.0,4.0,4.0,4.0,4.0,0.0,2.4,2.4,2.4,4.0,4.0,4.0,4.0,4.0,4.0,0.0,0.0,0.0,0.0,4.0,4.0,0.0,0.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,2.0,4.0,4.0,4.0,4.0,4.0,4.0,3.6,3.6,3.6,0.0,4.0,4.0,4.0,3.6,0.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,3.6,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,2.8,2.8,2.4,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,2.4,3.6,4.0,0.0,3.6,4.0,4.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,4.0,4.0,4.0,4.0,4.0,0.0,0.0,0.0,0.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,3.6,3.6,3.6,3.6,3.6,3.6,0.0,0.0,0.0,0.0,4.0,4.0,4.0,4.0,4.0,3.6,3.6,3.6,3.6,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,4.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
|
|
6
|
+
S005,0.0,0.0,0.0,4.5,4.5,5.0,0.0,0.0,0.0,0.0,0.0,0.0,4.5,0.0,0.0,0.0,5.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,5.0,4.5,5.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,0.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,0.0,0.0,0.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,0.0,0.0,5.0,5.0,0.0,5.0,4.5,5.0,0.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,3.5,5.0,5.0,5.0,5.0,5.0,5.0,5.0,0.0,3.0,3.0,3.0,5.0,5.0,5.0,5.0,5.0,5.0,0.0,0.0,0.0,0.0,5.0,5.0,0.0,0.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,2.5,5.0,5.0,5.0,5.0,5.0,5.0,4.5,4.5,4.5,0.0,5.0,5.0,5.0,4.5,0.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,4.5,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,3.5,3.5,3.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,3.0,4.5,5.0,0.0,4.5,5.0,5.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,5.0,5.0,5.0,5.0,5.0,0.0,0.0,0.0,0.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,4.5,4.5,4.5,4.5,4.5,4.5,0.0,0.0,0.0,0.0,5.0,5.0,5.0,5.0,5.0,4.5,4.5,4.5,4.5,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,5.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
|
|
7
|
+
S006,2.69897,2.69897,2.69897,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.657946,2.249052,2.657946,2.249052,2.69897,2.69897,2.69897,2.657946,2.576167,2.69897,2.69897,2.69897,2.69897,2.69897,2.657946,2.657946,2.412609,2.69897,2.69897,2.69897,0.0,0.0,0.0,0.0,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.657946,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.657946,2.69897,2.69897,2.657946,2.657946,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.657946,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.617191,2.494388,2.69897,2.69897,0.408894,2.657946,2.657946,2.657946,0.0,2.657946,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.657946,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.657946,2.69897,2.69897,2.69897,2.657946,0.286361,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,0.245336,0.245336,0.245336,0.245336,0.0,0.0,0.0,0.0,2.69897,2.69897,0.0,0.0,0.0,0.0,2.657946,2.657946,0.0,0.0,2.69897,2.657946,2.69897,2.69897,2.69897,2.69897,2.69897,0.122803,2.69897,2.617191,2.69897,2.69897,2.69897,0.0,0.0,0.0,0.0,0.327115,2.69897,2.657946,2.657946,2.535412,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.617191,2.657946,2.69897,2.69897,2.535412,0.0,2.657946,2.69897,2.69897,2.69897,2.69897,2.657946,2.657946,2.69897,2.657946,0.286361,0.245336,0.286361,2.657946,2.69897,2.69897,2.69897,2.69897,2.657946,2.657946,2.69897,2.69897,2.657946,2.69897,2.69897,2.69897,2.69897,2.69897,2.657946,2.657946,2.657946,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.657946,2.69897,2.69897,2.69897,2.69897,2.494388,2.657946,2.535412,2.657946,2.617191,0.041024,2.617191,2.657946,2.657946,0.0,0.0,0.0,0.0,0.0,0.0,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.657946,2.69897,2.69897,2.657946,2.69897,2.69897,2.69897,2.657946,2.657946,2.657946,0.0,0.0,0.0,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,0.0,0.0,0.0,0.0,2.69897,2.69897,2.657946,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,2.69897,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,2.657946,0.0,0.0,0.0,0.0,0.0,0.0,2.69897,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
|
|
8
|
+
S007,3.0,3.0,3.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,2.9544,2.4999,2.9544,2.4999,3.0,3.0,3.0,2.9544,2.8635,3.0,3.0,3.0,3.0,3.0,2.9544,2.9544,2.6817,3.0,3.0,3.0,0.0,0.0,0.0,0.0,0.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,0.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,2.9544,3.0,3.0,3.0,3.0,3.0,3.0,3.0,2.9544,3.0,3.0,2.9544,2.9544,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,2.9544,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,2.9091,2.7726,3.0,3.0,0.4545,2.9544,2.9544,2.9544,0.0,2.9544,3.0,3.0,3.0,3.0,3.0,3.0,3.0,2.9544,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,2.9544,3.0,3.0,3.0,2.9544,0.3183,3.0,3.0,3.0,3.0,3.0,3.0,3.0,0.2727,0.2727,0.2727,0.2727,0.0,0.0,0.0,0.0,3.0,3.0,0.0,0.0,0.0,0.0,2.9544,2.9544,0.0,0.0,3.0,2.9544,3.0,3.0,3.0,3.0,3.0,0.1365,3.0,2.9091,3.0,3.0,3.0,0.0,0.0,0.0,0.0,0.3636,3.0,2.9544,2.9544,2.8182,3.0,3.0,3.0,3.0,3.0,3.0,2.9091,2.9544,3.0,3.0,2.8182,0.0,2.9544,3.0,3.0,3.0,3.0,2.9544,2.9544,3.0,2.9544,0.3183,0.2727,0.3183,2.9544,3.0,3.0,3.0,3.0,2.9544,2.9544,3.0,3.0,2.9544,3.0,3.0,3.0,3.0,3.0,2.9544,2.9544,2.9544,3.0,3.0,3.0,3.0,3.0,3.0,2.9544,3.0,3.0,3.0,3.0,2.7726,2.9544,2.8182,2.9544,2.9091,0.0456,2.9091,2.9544,2.9544,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.0,3.0,3.0,3.0,3.0,2.9544,3.0,3.0,2.9544,3.0,3.0,3.0,2.9544,2.9544,2.9544,0.0,0.0,0.0,3.0,3.0,3.0,3.0,3.0,3.0,0.0,0.0,0.0,0.0,3.0,3.0,2.9544,3.0,3.0,3.0,3.0,3.0,3.0,3.0,3.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,2.9544,0.0,0.0,0.0,0.0,0.0,0.0,3.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
|
|
9
|
+
S008,3.30103,3.30103,3.30103,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.250854,2.750748,3.250854,2.750748,3.30103,3.30103,3.30103,3.250854,3.150833,3.30103,3.30103,3.30103,3.30103,3.30103,3.250854,3.250854,2.950791,3.30103,3.30103,3.30103,0.0,0.0,0.0,0.0,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.250854,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.250854,3.30103,3.30103,3.250854,3.250854,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.250854,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.201009,3.050812,3.30103,3.30103,0.500106,3.250854,3.250854,3.250854,0.0,3.250854,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.250854,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.250854,3.30103,3.30103,3.30103,3.250854,0.350239,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,0.300064,0.300064,0.300064,0.300064,0.0,0.0,0.0,0.0,3.30103,3.30103,0.0,0.0,0.0,0.0,3.250854,3.250854,0.0,0.0,3.30103,3.250854,3.30103,3.30103,3.30103,3.30103,3.30103,0.150197,3.30103,3.201009,3.30103,3.30103,3.30103,0.0,0.0,0.0,0.0,0.400085,3.30103,3.250854,3.250854,3.100988,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.201009,3.250854,3.30103,3.30103,3.100988,0.0,3.250854,3.30103,3.30103,3.30103,3.30103,3.250854,3.250854,3.30103,3.250854,0.350239,0.300064,0.350239,3.250854,3.30103,3.30103,3.30103,3.30103,3.250854,3.250854,3.30103,3.30103,3.250854,3.30103,3.30103,3.30103,3.30103,3.30103,3.250854,3.250854,3.250854,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.250854,3.30103,3.30103,3.30103,3.30103,3.050812,3.250854,3.100988,3.250854,3.201009,0.050176,3.201009,3.250854,3.250854,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,3.250854,3.30103,3.30103,3.250854,3.30103,3.30103,3.30103,3.250854,3.250854,3.250854,0.0,0.0,0.0,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,0.0,0.0,0.0,0.0,3.30103,3.30103,3.250854,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,3.30103,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.250854,0.0,0.0,0.0,0.0,0.0,0.0,3.30103,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
|
|
10
|
+
S009,4.0,4.0,4.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,3.9392,3.3332,3.9392,3.3332,4.0,4.0,4.0,3.9392,3.818,4.0,4.0,4.0,4.0,4.0,3.9392,3.9392,3.5756,4.0,4.0,4.0,0.0,0.0,0.0,0.0,0.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,0.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,3.9392,4.0,4.0,4.0,4.0,4.0,4.0,4.0,3.9392,4.0,4.0,3.9392,3.9392,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,3.9392,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,3.8788,3.6968,4.0,4.0,0.606,3.9392,3.9392,3.9392,0.0,3.9392,4.0,4.0,4.0,4.0,4.0,4.0,4.0,3.9392,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,3.9392,4.0,4.0,4.0,3.9392,0.4244,4.0,4.0,4.0,4.0,4.0,4.0,4.0,0.3636,0.3636,0.3636,0.3636,0.0,0.0,0.0,0.0,4.0,4.0,0.0,0.0,0.0,0.0,3.9392,3.9392,0.0,0.0,4.0,3.9392,4.0,4.0,4.0,4.0,4.0,0.182,4.0,3.8788,4.0,4.0,4.0,0.0,0.0,0.0,0.0,0.4848,4.0,3.9392,3.9392,3.7576,4.0,4.0,4.0,4.0,4.0,4.0,3.8788,3.9392,4.0,4.0,3.7576,0.0,3.9392,4.0,4.0,4.0,4.0,3.9392,3.9392,4.0,3.9392,0.4244,0.3636,0.4244,3.9392,4.0,4.0,4.0,4.0,3.9392,3.9392,4.0,4.0,3.9392,4.0,4.0,4.0,4.0,4.0,3.9392,3.9392,3.9392,4.0,4.0,4.0,4.0,4.0,4.0,3.9392,4.0,4.0,4.0,4.0,3.6968,3.9392,3.7576,3.9392,3.8788,0.0608,3.8788,3.9392,3.9392,0.0,0.0,0.0,0.0,0.0,0.0,0.0,4.0,4.0,4.0,4.0,4.0,3.9392,4.0,4.0,3.9392,4.0,4.0,4.0,3.9392,3.9392,3.9392,0.0,0.0,0.0,4.0,4.0,4.0,4.0,4.0,4.0,0.0,0.0,0.0,0.0,4.0,4.0,3.9392,4.0,4.0,4.0,4.0,4.0,4.0,4.0,4.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.9392,0.0,0.0,0.0,0.0,0.0,0.0,4.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
|
|
11
|
+
S010,5.0,5.0,5.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,4.924,4.1665,4.924,4.1665,5.0,5.0,5.0,4.924,4.7725,5.0,5.0,5.0,5.0,5.0,4.924,4.924,4.4695,5.0,5.0,5.0,0.0,0.0,0.0,0.0,0.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,0.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,4.924,5.0,5.0,5.0,5.0,5.0,5.0,5.0,4.924,5.0,5.0,4.924,4.924,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,4.924,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,4.8485,4.621,5.0,5.0,0.7575,4.924,4.924,4.924,0.0,4.924,5.0,5.0,5.0,5.0,5.0,5.0,5.0,4.924,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,4.924,5.0,5.0,5.0,4.924,0.5305,5.0,5.0,5.0,5.0,5.0,5.0,5.0,0.4545,0.4545,0.4545,0.4545,0.0,0.0,0.0,0.0,5.0,5.0,0.0,0.0,0.0,0.0,4.924,4.924,0.0,0.0,5.0,4.924,5.0,5.0,5.0,5.0,5.0,0.2275,5.0,4.8485,5.0,5.0,5.0,0.0,0.0,0.0,0.0,0.606,5.0,4.924,4.924,4.697,5.0,5.0,5.0,5.0,5.0,5.0,4.8485,4.924,5.0,5.0,4.697,0.0,4.924,5.0,5.0,5.0,5.0,4.924,4.924,5.0,4.924,0.5305,0.4545,0.5305,4.924,5.0,5.0,5.0,5.0,4.924,4.924,5.0,5.0,4.924,5.0,5.0,5.0,5.0,5.0,4.924,4.924,4.924,5.0,5.0,5.0,5.0,5.0,5.0,4.924,5.0,5.0,5.0,5.0,4.621,4.924,4.697,4.924,4.8485,0.076,4.8485,4.924,4.924,0.0,0.0,0.0,0.0,0.0,0.0,0.0,5.0,5.0,5.0,5.0,5.0,4.924,5.0,5.0,4.924,5.0,5.0,5.0,4.924,4.924,4.924,0.0,0.0,0.0,5.0,5.0,5.0,5.0,5.0,5.0,0.0,0.0,0.0,0.0,5.0,5.0,4.924,5.0,5.0,5.0,5.0,5.0,5.0,5.0,5.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,4.924,0.0,0.0,0.0,0.0,0.0,0.0,5.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=64", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "salmopredict"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "AutoGluon-based Incidence predictor for Salmonella virulence-factor gene-frequency features"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
# Pinned to 3.10 to match the Python version the bundled model was pickled with.
|
|
11
|
+
requires-python = ">=3.10,<3.11"
|
|
12
|
+
license = { text = "Apache-2.0" }
|
|
13
|
+
authors = [{ name = "Dongyan Shao", email = "563608176@qq.com" }]
|
|
14
|
+
keywords = ["salmonella", "incidence", "autogluon", "prediction", "bioinformatics"]
|
|
15
|
+
classifiers = [
|
|
16
|
+
"License :: OSI Approved :: Apache Software License",
|
|
17
|
+
"Programming Language :: Python :: 3",
|
|
18
|
+
"Topic :: Scientific/Engineering :: Bio-Informatics",
|
|
19
|
+
]
|
|
20
|
+
dependencies = [
|
|
21
|
+
"autogluon.tabular==1.1.1",
|
|
22
|
+
"pandas>=2.0",
|
|
23
|
+
"openpyxl>=3.0",
|
|
24
|
+
"rich-argparse>=1.4",
|
|
25
|
+
]
|
|
26
|
+
|
|
27
|
+
[project.optional-dependencies]
|
|
28
|
+
gui = ["streamlit>=1.30"]
|
|
29
|
+
|
|
30
|
+
[project.urls]
|
|
31
|
+
Homepage = "https://github.com/shaodongyan/SalmoPredict"
|
|
32
|
+
Repository = "https://github.com/shaodongyan/SalmoPredict"
|
|
33
|
+
Issues = "https://github.com/shaodongyan/SalmoPredict/issues"
|
|
34
|
+
|
|
35
|
+
[project.scripts]
|
|
36
|
+
salmopredict = "salmopredict.cli:main"
|
|
37
|
+
|
|
38
|
+
[tool.setuptools]
|
|
39
|
+
packages = ["salmopredict", "salmopredict.core", "salmopredict.gui"]
|
|
40
|
+
|
|
41
|
+
[tool.setuptools.package-data]
|
|
42
|
+
"salmopredict.gui" = ["assets/*.png"]
|
|
43
|
+
# Ship the ~30 MB slim deployment model inside the wheel so `pip install
|
|
44
|
+
# salmopredict` works out of the box -- no extra download and no --model flag.
|
|
45
|
+
"salmopredict" = ["models/**"]
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
"""salmopredict: predict Salmonella Incidence from virulence-factor gene features.
|
|
2
|
+
|
|
3
|
+
Given a feature table of Salmonella virulence-factor gene presence/frequency,
|
|
4
|
+
salmopredict:
|
|
5
|
+
|
|
6
|
+
1. Aligns the input columns to the features expected by a pre-trained AutoGluon
|
|
7
|
+
TabularPredictor (normalising R-``make.names``-style column names and filling
|
|
8
|
+
genes the model expects but the input lacks with zero).
|
|
9
|
+
2. Runs the ``WeightedEnsemble_L2`` model to predict the ``Incidence`` target.
|
|
10
|
+
3. Writes one prediction file (``Incidence(%)``, plus a ``Sample`` column and any
|
|
11
|
+
attached metadata when the input carries a ``Sample`` column).
|
|
12
|
+
|
|
13
|
+
The same core is shared by a command-line interface and a Streamlit GUI.
|
|
14
|
+
"""
|
|
15
|
+
|
|
16
|
+
__version__ = "0.1.0"
|
|
17
|
+
|
|
18
|
+
# One-paragraph summary shown in both the CLI help and the GUI, so the two
|
|
19
|
+
# interfaces describe the tool with identical wording.
|
|
20
|
+
DESCRIPTION = (
|
|
21
|
+
"salmopredict predicts Salmonella incidence from virulence-factor "
|
|
22
|
+
"gene-frequency features and provides both command-line and graphical "
|
|
23
|
+
"interfaces. It standardizes the input feature table and outputs per-row "
|
|
24
|
+
"incidence predictions. salmopredict was developed at the State Key "
|
|
25
|
+
"Laboratory of Veterinary Public Health and Safety, China Agricultural "
|
|
26
|
+
"University, in collaboration with the China National Center for Food Safety "
|
|
27
|
+
"Risk Assessment (CFSA)."
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
__all__ = ["__version__", "DESCRIPTION"]
|