countess 0.0.1__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.
- CountESS-0.0.1/CountESS.egg-info/PKG-INFO +33 -0
- CountESS-0.0.1/CountESS.egg-info/SOURCES.txt +149 -0
- CountESS-0.0.1/CountESS.egg-info/dependency_links.txt +1 -0
- CountESS-0.0.1/CountESS.egg-info/entry_points.txt +6 -0
- CountESS-0.0.1/CountESS.egg-info/requires.txt +11 -0
- CountESS-0.0.1/CountESS.egg-info/top_level.txt +2 -0
- CountESS-0.0.1/MANIFEST.in +2 -0
- CountESS-0.0.1/PKG-INFO +33 -0
- CountESS-0.0.1/README.md +16 -0
- CountESS-0.0.1/countess/__init__.py +11 -0
- CountESS-0.0.1/countess/base/__init__.py +10 -0
- CountESS-0.0.1/countess/base/config_constants.py +55 -0
- CountESS-0.0.1/countess/base/constants.py +288 -0
- CountESS-0.0.1/countess/base/dataframe.py +332 -0
- CountESS-0.0.1/countess/base/storemanager.py +1015 -0
- CountESS-0.0.1/countess/base/utils.py +308 -0
- CountESS-0.0.1/countess/config/__init__.py +13 -0
- CountESS-0.0.1/countess/config/config_check.py +192 -0
- CountESS-0.0.1/countess/config/types.py +1584 -0
- CountESS-0.0.1/countess/experiment/__init__.py +7 -0
- CountESS-0.0.1/countess/experiment/condition.py +134 -0
- CountESS-0.0.1/countess/experiment/experiment.py +750 -0
- CountESS-0.0.1/countess/gui/__init__.py +21 -0
- CountESS-0.0.1/countess/gui/configurator.py +1031 -0
- CountESS-0.0.1/countess/gui/create_root_dialog.py +189 -0
- CountESS-0.0.1/countess/gui/create_seqlib_dialog.py +108 -0
- CountESS-0.0.1/countess/gui/delete_dialog.py +124 -0
- CountESS-0.0.1/countess/gui/dialog.py +188 -0
- CountESS-0.0.1/countess/gui/dialog_elements.py +682 -0
- CountESS-0.0.1/countess/gui/edit_dialog.py +552 -0
- CountESS-0.0.1/countess/gui/logging_frame.py +296 -0
- CountESS-0.0.1/countess/gui/options_frame.py +1402 -0
- CountESS-0.0.1/countess/gui/plugin.py +152 -0
- CountESS-0.0.1/countess/gui/plugin_source_window.py +354 -0
- CountESS-0.0.1/countess/gui/seqlib_apply_dialog.py +82 -0
- CountESS-0.0.1/countess/libraries/__init__.py +22 -0
- CountESS-0.0.1/countess/libraries/barcode.py +228 -0
- CountESS-0.0.1/countess/libraries/barcodeid.py +187 -0
- CountESS-0.0.1/countess/libraries/barcodemap.py +122 -0
- CountESS-0.0.1/countess/libraries/barcodevariant.py +201 -0
- CountESS-0.0.1/countess/libraries/basic.py +218 -0
- CountESS-0.0.1/countess/libraries/idonly.py +104 -0
- CountESS-0.0.1/countess/libraries/seqlib.py +628 -0
- CountESS-0.0.1/countess/libraries/variant.py +638 -0
- CountESS-0.0.1/countess/main.py +307 -0
- CountESS-0.0.1/countess/plugins/__init__.py +194 -0
- CountESS-0.0.1/countess/plugins/options.py +988 -0
- CountESS-0.0.1/countess/plugins/scoring.py +363 -0
- CountESS-0.0.1/countess/selection/__init__.py +7 -0
- CountESS-0.0.1/countess/selection/selection.py +857 -0
- CountESS-0.0.1/countess/sequence/__init__.py +10 -0
- CountESS-0.0.1/countess/sequence/aligner.py +581 -0
- CountESS-0.0.1/countess/sequence/fqread.py +501 -0
- CountESS-0.0.1/countess/sequence/wildtype.py +237 -0
- CountESS-0.0.1/countess/statistics/__init__.py +10 -0
- CountESS-0.0.1/countess/statistics/random_effects.py +158 -0
- CountESS-0.0.1/countess/statistics/ztest.py +82 -0
- CountESS-0.0.1/countess/store/__init__.py +0 -0
- CountESS-0.0.1/countess/store/csv.py +303 -0
- CountESS-0.0.1/countess/store/hdf.py +272 -0
- CountESS-0.0.1/countess/store/interface.py +88 -0
- CountESS-0.0.1/countess/store/parquet.py +298 -0
- CountESS-0.0.1/countess/tests/__init__.py +8 -0
- CountESS-0.0.1/countess/tests/methods.py +755 -0
- CountESS-0.0.1/countess/tests/test_enrich2.py +20 -0
- CountESS-0.0.1/countess/tests/test_experiment_barcode_lib.py +332 -0
- CountESS-0.0.1/countess/tests/test_experiment_barcodeid_lib.py +331 -0
- CountESS-0.0.1/countess/tests/test_experiment_barcodevariant_lib_coding.py +472 -0
- CountESS-0.0.1/countess/tests/test_experiment_barcodevariant_lib_noncoding.py +472 -0
- CountESS-0.0.1/countess/tests/test_experiment_basic_lib_coding.py +472 -0
- CountESS-0.0.1/countess/tests/test_experiment_basic_lib_noncoding.py +472 -0
- CountESS-0.0.1/countess/tests/test_experiment_idonly_lib.py +324 -0
- CountESS-0.0.1/countess/tests/test_lib_barcode.py +361 -0
- CountESS-0.0.1/countess/tests/test_lib_barcodeid.py +424 -0
- CountESS-0.0.1/countess/tests/test_lib_barcodevariant_coding.py +785 -0
- CountESS-0.0.1/countess/tests/test_lib_barcodevariant_noncoding.py +784 -0
- CountESS-0.0.1/countess/tests/test_lib_basic_coding.py +618 -0
- CountESS-0.0.1/countess/tests/test_lib_basic_noncoding.py +617 -0
- CountESS-0.0.1/countess/tests/test_lib_idonly.py +91 -0
- CountESS-0.0.1/countess/tests/test_module_ambivert_aligner.py +102 -0
- CountESS-0.0.1/countess/tests/test_module_config_check.py +68 -0
- CountESS-0.0.1/countess/tests/test_module_config_types.py +63 -0
- CountESS-0.0.1/countess/tests/test_module_dataframe.py +482 -0
- CountESS-0.0.1/countess/tests/test_module_enrich2_aligner.py +102 -0
- CountESS-0.0.1/countess/tests/test_module_fqreader.py +59 -0
- CountESS-0.0.1/countess/tests/test_module_options.py +775 -0
- CountESS-0.0.1/countess/tests/test_module_plugins_base.py +93 -0
- CountESS-0.0.1/countess/tests/test_module_types_basic.py +515 -0
- CountESS-0.0.1/countess/tests/test_module_types_libs.py +434 -0
- CountESS-0.0.1/countess/tests/test_module_types_sel_exp_cond.py +376 -0
- CountESS-0.0.1/countess/tests/test_module_variant.py +190 -0
- CountESS-0.0.1/countess/tests/test_module_wildtype.py +190 -0
- CountESS-0.0.1/countess/tests/test_selection_barcode_lib.py +331 -0
- CountESS-0.0.1/countess/tests/test_selection_barcodeid_lib.py +332 -0
- CountESS-0.0.1/countess/tests/test_selection_barcodevariant_lib_coding.py +487 -0
- CountESS-0.0.1/countess/tests/test_selection_barcodevariant_lib_noncoding.py +487 -0
- CountESS-0.0.1/countess/tests/test_selection_basic_lib_coding.py +487 -0
- CountESS-0.0.1/countess/tests/test_selection_basic_lib_noncoding.py +487 -0
- CountESS-0.0.1/countess/tests/test_selection_idonly_lib.py +334 -0
- CountESS-0.0.1/countess/tests/test_selection_timepoint_merge.py +52 -0
- CountESS-0.0.1/countess/tests/test_selection_valueerrors.py +40 -0
- CountESS-0.0.1/countess/tests/utilities.py +307 -0
- CountESS-0.0.1/docs/Makefile +153 -0
- CountESS-0.0.1/docs/_static/cartoons/data_hierarchy.png +0 -0
- CountESS-0.0.1/docs/_static/cartoons/overlap.png +0 -0
- CountESS-0.0.1/docs/_static/cartoons/overlap_reads.png +0 -0
- CountESS-0.0.1/docs/_static/gui_screenshots/complete_example.png +0 -0
- CountESS-0.0.1/docs/_static/gui_screenshots/context_menu.png +0 -0
- CountESS-0.0.1/docs/_static/gui_screenshots/empty.png +0 -0
- CountESS-0.0.1/docs/_static/gui_screenshots/new_child.png +0 -0
- CountESS-0.0.1/docs/_static/gui_screenshots/new_root.png +0 -0
- CountESS-0.0.1/docs/_static/gui_screenshots/seqlib.png +0 -0
- CountESS-0.0.1/docs/_static/gui_screenshots/seqlib_choice.png +0 -0
- CountESS-0.0.1/docs/_static/iD_icon.png +0 -0
- CountESS-0.0.1/docs/_static/notebook_plots/min_count_plot.png +0 -0
- CountESS-0.0.1/docs/_static/notebook_plots/unique_barcodes_plot.png +0 -0
- CountESS-0.0.1/docs/_static/plots/barcodes_per_variant.png +0 -0
- CountESS-0.0.1/docs/_static/plots/diversity.png +0 -0
- CountESS-0.0.1/docs/_static/plots/overlap_mismatches.png +0 -0
- CountESS-0.0.1/docs/_static/plots/regression_weights.png +0 -0
- CountESS-0.0.1/docs/_static/plots/se_pctile.png +0 -0
- CountESS-0.0.1/docs/_static/plots/selection_counts.png +0 -0
- CountESS-0.0.1/docs/_static/plots/seqlib_counts.png +0 -0
- CountESS-0.0.1/docs/_static/plots/sfmap.png +0 -0
- CountESS-0.0.1/docs/_static/plots/volcano.png +0 -0
- CountESS-0.0.1/docs/_static/plots/wt_shape.png +0 -0
- CountESS-0.0.1/docs/api.rst +178 -0
- CountESS-0.0.1/docs/conf.py +296 -0
- CountESS-0.0.1/docs/exported_notebooks/README +14 -0
- CountESS-0.0.1/docs/exported_notebooks/min_count.rst +429 -0
- CountESS-0.0.1/docs/exported_notebooks/unique_barcodes.rst +686 -0
- CountESS-0.0.1/docs/gui.rst +147 -0
- CountESS-0.0.1/docs/index.rst +27 -0
- CountESS-0.0.1/docs/installation.rst +46 -0
- CountESS-0.0.1/docs/introduction.rst +92 -0
- CountESS-0.0.1/docs/make.bat +190 -0
- CountESS-0.0.1/docs/notebooks/min_count.ipynb +658 -0
- CountESS-0.0.1/docs/notebooks/unique_barcodes.ipynb +1014 -0
- CountESS-0.0.1/docs/notebooks.rst +16 -0
- CountESS-0.0.1/docs/output.rst +98 -0
- CountESS-0.0.1/docs/plots.rst +81 -0
- CountESS-0.0.1/docs/scripting.rst +337 -0
- CountESS-0.0.1/docs/seqlib_config.rst +144 -0
- CountESS-0.0.1/setup.cfg +4 -0
- CountESS-0.0.1/setup.py +56 -0
- CountESS-0.0.1/tests/__init__.py +0 -0
- CountESS-0.0.1/tests/test_store/__init__.py +0 -0
- CountESS-0.0.1/tests/test_store/store_interface_tests.py +410 -0
- CountESS-0.0.1/tests/test_store/test_store_csv.py +19 -0
- CountESS-0.0.1/tests/test_store/test_store_hdf.py +19 -0
- CountESS-0.0.1/tests/test_store/test_store_parquet.py +19 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: CountESS
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Analysis program for calculating variant scores from deep mutational scanning data.
|
|
5
|
+
Home-page: https://github.com/countess-project/countess
|
|
6
|
+
Author: Alan F Rubin
|
|
7
|
+
Author-email: alan.rubin@wehi.edu.au
|
|
8
|
+
License: UNKNOWN
|
|
9
|
+
Description: [](https://travis-ci.com/CountESS-Project/CountESS)
|
|
10
|
+
[](https://coveralls.io/github/CountESS-Project/CountESS?branch=master)
|
|
11
|
+
|
|
12
|
+
CountESS
|
|
13
|
+
========
|
|
14
|
+
|
|
15
|
+
CountESS (Count-based Experiment Scoring and Statistics) is a general software tool for processing, analyzing, and visualizing data from high-throughput functional genomics experiments based on count data, such as deep mutational scanning.
|
|
16
|
+
|
|
17
|
+
This project extends previous work on Enrich2 by moving from Python 2.7 to Python 3.6+ and add adding new features to improve performance and enable analysis of new types of data.
|
|
18
|
+
|
|
19
|
+
Questions?
|
|
20
|
+
----------
|
|
21
|
+
|
|
22
|
+
Please use the [GitHub Issue Tracker](https://github.com/VariantEffect/CountESS/issues) to file bug reports or request features.
|
|
23
|
+
|
|
24
|
+
CountESS is maintained by [Alan F Rubin](mailto:alan.rubin@wehi.edu.au).
|
|
25
|
+
|
|
26
|
+
Platform: UNKNOWN
|
|
27
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
28
|
+
Classifier: Intended Audience :: Science/Research
|
|
29
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
30
|
+
Classifier: Programming Language :: Python :: 3
|
|
31
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
32
|
+
Classifier: Operating System :: OS Independent
|
|
33
|
+
Description-Content-Type: text/markdown
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
MANIFEST.in
|
|
2
|
+
README.md
|
|
3
|
+
setup.py
|
|
4
|
+
CountESS.egg-info/PKG-INFO
|
|
5
|
+
CountESS.egg-info/SOURCES.txt
|
|
6
|
+
CountESS.egg-info/dependency_links.txt
|
|
7
|
+
CountESS.egg-info/entry_points.txt
|
|
8
|
+
CountESS.egg-info/requires.txt
|
|
9
|
+
CountESS.egg-info/top_level.txt
|
|
10
|
+
countess/__init__.py
|
|
11
|
+
countess/main.py
|
|
12
|
+
countess/base/__init__.py
|
|
13
|
+
countess/base/config_constants.py
|
|
14
|
+
countess/base/constants.py
|
|
15
|
+
countess/base/dataframe.py
|
|
16
|
+
countess/base/storemanager.py
|
|
17
|
+
countess/base/utils.py
|
|
18
|
+
countess/config/__init__.py
|
|
19
|
+
countess/config/config_check.py
|
|
20
|
+
countess/config/types.py
|
|
21
|
+
countess/experiment/__init__.py
|
|
22
|
+
countess/experiment/condition.py
|
|
23
|
+
countess/experiment/experiment.py
|
|
24
|
+
countess/gui/__init__.py
|
|
25
|
+
countess/gui/configurator.py
|
|
26
|
+
countess/gui/create_root_dialog.py
|
|
27
|
+
countess/gui/create_seqlib_dialog.py
|
|
28
|
+
countess/gui/delete_dialog.py
|
|
29
|
+
countess/gui/dialog.py
|
|
30
|
+
countess/gui/dialog_elements.py
|
|
31
|
+
countess/gui/edit_dialog.py
|
|
32
|
+
countess/gui/logging_frame.py
|
|
33
|
+
countess/gui/options_frame.py
|
|
34
|
+
countess/gui/plugin.py
|
|
35
|
+
countess/gui/plugin_source_window.py
|
|
36
|
+
countess/gui/seqlib_apply_dialog.py
|
|
37
|
+
countess/libraries/__init__.py
|
|
38
|
+
countess/libraries/barcode.py
|
|
39
|
+
countess/libraries/barcodeid.py
|
|
40
|
+
countess/libraries/barcodemap.py
|
|
41
|
+
countess/libraries/barcodevariant.py
|
|
42
|
+
countess/libraries/basic.py
|
|
43
|
+
countess/libraries/idonly.py
|
|
44
|
+
countess/libraries/seqlib.py
|
|
45
|
+
countess/libraries/variant.py
|
|
46
|
+
countess/plugins/__init__.py
|
|
47
|
+
countess/plugins/options.py
|
|
48
|
+
countess/plugins/scoring.py
|
|
49
|
+
countess/selection/__init__.py
|
|
50
|
+
countess/selection/selection.py
|
|
51
|
+
countess/sequence/__init__.py
|
|
52
|
+
countess/sequence/aligner.py
|
|
53
|
+
countess/sequence/fqread.py
|
|
54
|
+
countess/sequence/wildtype.py
|
|
55
|
+
countess/statistics/__init__.py
|
|
56
|
+
countess/statistics/random_effects.py
|
|
57
|
+
countess/statistics/ztest.py
|
|
58
|
+
countess/store/__init__.py
|
|
59
|
+
countess/store/csv.py
|
|
60
|
+
countess/store/hdf.py
|
|
61
|
+
countess/store/interface.py
|
|
62
|
+
countess/store/parquet.py
|
|
63
|
+
countess/tests/__init__.py
|
|
64
|
+
countess/tests/methods.py
|
|
65
|
+
countess/tests/test_enrich2.py
|
|
66
|
+
countess/tests/test_experiment_barcode_lib.py
|
|
67
|
+
countess/tests/test_experiment_barcodeid_lib.py
|
|
68
|
+
countess/tests/test_experiment_barcodevariant_lib_coding.py
|
|
69
|
+
countess/tests/test_experiment_barcodevariant_lib_noncoding.py
|
|
70
|
+
countess/tests/test_experiment_basic_lib_coding.py
|
|
71
|
+
countess/tests/test_experiment_basic_lib_noncoding.py
|
|
72
|
+
countess/tests/test_experiment_idonly_lib.py
|
|
73
|
+
countess/tests/test_lib_barcode.py
|
|
74
|
+
countess/tests/test_lib_barcodeid.py
|
|
75
|
+
countess/tests/test_lib_barcodevariant_coding.py
|
|
76
|
+
countess/tests/test_lib_barcodevariant_noncoding.py
|
|
77
|
+
countess/tests/test_lib_basic_coding.py
|
|
78
|
+
countess/tests/test_lib_basic_noncoding.py
|
|
79
|
+
countess/tests/test_lib_idonly.py
|
|
80
|
+
countess/tests/test_module_ambivert_aligner.py
|
|
81
|
+
countess/tests/test_module_config_check.py
|
|
82
|
+
countess/tests/test_module_config_types.py
|
|
83
|
+
countess/tests/test_module_dataframe.py
|
|
84
|
+
countess/tests/test_module_enrich2_aligner.py
|
|
85
|
+
countess/tests/test_module_fqreader.py
|
|
86
|
+
countess/tests/test_module_options.py
|
|
87
|
+
countess/tests/test_module_plugins_base.py
|
|
88
|
+
countess/tests/test_module_types_basic.py
|
|
89
|
+
countess/tests/test_module_types_libs.py
|
|
90
|
+
countess/tests/test_module_types_sel_exp_cond.py
|
|
91
|
+
countess/tests/test_module_variant.py
|
|
92
|
+
countess/tests/test_module_wildtype.py
|
|
93
|
+
countess/tests/test_selection_barcode_lib.py
|
|
94
|
+
countess/tests/test_selection_barcodeid_lib.py
|
|
95
|
+
countess/tests/test_selection_barcodevariant_lib_coding.py
|
|
96
|
+
countess/tests/test_selection_barcodevariant_lib_noncoding.py
|
|
97
|
+
countess/tests/test_selection_basic_lib_coding.py
|
|
98
|
+
countess/tests/test_selection_basic_lib_noncoding.py
|
|
99
|
+
countess/tests/test_selection_idonly_lib.py
|
|
100
|
+
countess/tests/test_selection_timepoint_merge.py
|
|
101
|
+
countess/tests/test_selection_valueerrors.py
|
|
102
|
+
countess/tests/utilities.py
|
|
103
|
+
docs/Makefile
|
|
104
|
+
docs/api.rst
|
|
105
|
+
docs/conf.py
|
|
106
|
+
docs/gui.rst
|
|
107
|
+
docs/index.rst
|
|
108
|
+
docs/installation.rst
|
|
109
|
+
docs/introduction.rst
|
|
110
|
+
docs/make.bat
|
|
111
|
+
docs/notebooks.rst
|
|
112
|
+
docs/output.rst
|
|
113
|
+
docs/plots.rst
|
|
114
|
+
docs/scripting.rst
|
|
115
|
+
docs/seqlib_config.rst
|
|
116
|
+
docs/_static/iD_icon.png
|
|
117
|
+
docs/_static/cartoons/data_hierarchy.png
|
|
118
|
+
docs/_static/cartoons/overlap.png
|
|
119
|
+
docs/_static/cartoons/overlap_reads.png
|
|
120
|
+
docs/_static/gui_screenshots/complete_example.png
|
|
121
|
+
docs/_static/gui_screenshots/context_menu.png
|
|
122
|
+
docs/_static/gui_screenshots/empty.png
|
|
123
|
+
docs/_static/gui_screenshots/new_child.png
|
|
124
|
+
docs/_static/gui_screenshots/new_root.png
|
|
125
|
+
docs/_static/gui_screenshots/seqlib.png
|
|
126
|
+
docs/_static/gui_screenshots/seqlib_choice.png
|
|
127
|
+
docs/_static/notebook_plots/min_count_plot.png
|
|
128
|
+
docs/_static/notebook_plots/unique_barcodes_plot.png
|
|
129
|
+
docs/_static/plots/barcodes_per_variant.png
|
|
130
|
+
docs/_static/plots/diversity.png
|
|
131
|
+
docs/_static/plots/overlap_mismatches.png
|
|
132
|
+
docs/_static/plots/regression_weights.png
|
|
133
|
+
docs/_static/plots/se_pctile.png
|
|
134
|
+
docs/_static/plots/selection_counts.png
|
|
135
|
+
docs/_static/plots/seqlib_counts.png
|
|
136
|
+
docs/_static/plots/sfmap.png
|
|
137
|
+
docs/_static/plots/volcano.png
|
|
138
|
+
docs/_static/plots/wt_shape.png
|
|
139
|
+
docs/exported_notebooks/README
|
|
140
|
+
docs/exported_notebooks/min_count.rst
|
|
141
|
+
docs/exported_notebooks/unique_barcodes.rst
|
|
142
|
+
docs/notebooks/min_count.ipynb
|
|
143
|
+
docs/notebooks/unique_barcodes.ipynb
|
|
144
|
+
tests/__init__.py
|
|
145
|
+
tests/test_store/__init__.py
|
|
146
|
+
tests/test_store/store_interface_tests.py
|
|
147
|
+
tests/test_store/test_store_csv.py
|
|
148
|
+
tests/test_store/test_store_hdf.py
|
|
149
|
+
tests/test_store/test_store_parquet.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
CountESS-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: CountESS
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Analysis program for calculating variant scores from deep mutational scanning data.
|
|
5
|
+
Home-page: https://github.com/countess-project/countess
|
|
6
|
+
Author: Alan F Rubin
|
|
7
|
+
Author-email: alan.rubin@wehi.edu.au
|
|
8
|
+
License: UNKNOWN
|
|
9
|
+
Description: [](https://travis-ci.com/CountESS-Project/CountESS)
|
|
10
|
+
[](https://coveralls.io/github/CountESS-Project/CountESS?branch=master)
|
|
11
|
+
|
|
12
|
+
CountESS
|
|
13
|
+
========
|
|
14
|
+
|
|
15
|
+
CountESS (Count-based Experiment Scoring and Statistics) is a general software tool for processing, analyzing, and visualizing data from high-throughput functional genomics experiments based on count data, such as deep mutational scanning.
|
|
16
|
+
|
|
17
|
+
This project extends previous work on Enrich2 by moving from Python 2.7 to Python 3.6+ and add adding new features to improve performance and enable analysis of new types of data.
|
|
18
|
+
|
|
19
|
+
Questions?
|
|
20
|
+
----------
|
|
21
|
+
|
|
22
|
+
Please use the [GitHub Issue Tracker](https://github.com/VariantEffect/CountESS/issues) to file bug reports or request features.
|
|
23
|
+
|
|
24
|
+
CountESS is maintained by [Alan F Rubin](mailto:alan.rubin@wehi.edu.au).
|
|
25
|
+
|
|
26
|
+
Platform: UNKNOWN
|
|
27
|
+
Classifier: Development Status :: 2 - Pre-Alpha
|
|
28
|
+
Classifier: Intended Audience :: Science/Research
|
|
29
|
+
Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
|
|
30
|
+
Classifier: Programming Language :: Python :: 3
|
|
31
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
32
|
+
Classifier: Operating System :: OS Independent
|
|
33
|
+
Description-Content-Type: text/markdown
|
CountESS-0.0.1/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
[](https://travis-ci.com/CountESS-Project/CountESS)
|
|
2
|
+
[](https://coveralls.io/github/CountESS-Project/CountESS?branch=master)
|
|
3
|
+
|
|
4
|
+
CountESS
|
|
5
|
+
========
|
|
6
|
+
|
|
7
|
+
CountESS (Count-based Experiment Scoring and Statistics) is a general software tool for processing, analyzing, and visualizing data from high-throughput functional genomics experiments based on count data, such as deep mutational scanning.
|
|
8
|
+
|
|
9
|
+
This project extends previous work on Enrich2 by moving from Python 2.7 to Python 3.6+ and add adding new features to improve performance and enable analysis of new types of data.
|
|
10
|
+
|
|
11
|
+
Questions?
|
|
12
|
+
----------
|
|
13
|
+
|
|
14
|
+
Please use the [GitHub Issue Tracker](https://github.com/VariantEffect/CountESS/issues) to file bug reports or request features.
|
|
15
|
+
|
|
16
|
+
CountESS is maintained by [Alan F Rubin](mailto:alan.rubin@wehi.edu.au).
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Enrich2 configuration constants module
|
|
3
|
+
======================================
|
|
4
|
+
|
|
5
|
+
This module contains all the constants used as keys in configuration files.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
NAME = "name"
|
|
10
|
+
CONDITIONS = "conditions"
|
|
11
|
+
LIBRARIES = "libraries"
|
|
12
|
+
SELECTIONS = "selections"
|
|
13
|
+
TIMEPOINT = "timepoint"
|
|
14
|
+
OUTPUT_DIR = "output directory"
|
|
15
|
+
REPORT_FILTERED_READS = "report filtered reads"
|
|
16
|
+
STORE = "store"
|
|
17
|
+
OVERLAP = "overlap"
|
|
18
|
+
|
|
19
|
+
FASTQ = "fastq"
|
|
20
|
+
READS = "reads"
|
|
21
|
+
REVERSE = "reverse"
|
|
22
|
+
FILTERS = "filters"
|
|
23
|
+
FILTERS_MAX_N = "max N"
|
|
24
|
+
FILTERS_MIN_COUNT = "min count"
|
|
25
|
+
FILTERS_AVG_Q = "avg quality"
|
|
26
|
+
FILTERS_MIN_Q = "min quality"
|
|
27
|
+
FILTERS_CHASTITY = "chastity"
|
|
28
|
+
TRIM_START = "start"
|
|
29
|
+
TRIM_LENGTH = "length"
|
|
30
|
+
SCORER = "scorer"
|
|
31
|
+
SCORER_PATH = "scorer path"
|
|
32
|
+
SCORER_OPTIONS = "scorer options"
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
COUNTS_FILE = "counts file"
|
|
36
|
+
IDENTIFIERS = "identifiers"
|
|
37
|
+
IDENTIFIERS_MIN_COUNT = "min count"
|
|
38
|
+
|
|
39
|
+
VARIANTS = "variants"
|
|
40
|
+
VARIANTS_MIN_COUNT = "min count"
|
|
41
|
+
VARIANTS_MAX_MUTATIONS = "max mutations"
|
|
42
|
+
USE_ALIGNER = "use aligner"
|
|
43
|
+
WILDTYPE = "wild type"
|
|
44
|
+
CODING = "coding"
|
|
45
|
+
REF_OFFSET = "reference offset"
|
|
46
|
+
SEQUENCE = "sequence"
|
|
47
|
+
|
|
48
|
+
BARCODES = "barcodes"
|
|
49
|
+
BARCODE_MAP_FILE = "map file"
|
|
50
|
+
BARCODE_MIN_COUNT = "min count"
|
|
51
|
+
|
|
52
|
+
FORCE_RECALCULATE = "force_recalculate"
|
|
53
|
+
COMPONENT_OUTLIERS = "component_outliers"
|
|
54
|
+
TSV_REQUESTED = "tsv_requested"
|
|
55
|
+
OUTPUT_DIR_OVERRIDE = "output_dir_override"
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Enrich2 constants module
|
|
3
|
+
========================
|
|
4
|
+
|
|
5
|
+
This module contains all the constants used in the Enrich2 source code.
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
import re
|
|
10
|
+
import collections
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
#: Variant string for counting wild type sequences
|
|
14
|
+
WILD_TYPE_VARIANT = "_wt"
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
#: Variant string for synonymous variants in 'synonymous' DataFrame
|
|
18
|
+
SYNONYMOUS_VARIANT = "_sy"
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
#: Logging constants
|
|
22
|
+
CALLBACK = "callback"
|
|
23
|
+
MESSAGE = "msg"
|
|
24
|
+
KWARGS = "kwargs"
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
#: HDFStore keys used by enrich2
|
|
28
|
+
GROUP_RAW = "raw"
|
|
29
|
+
GROUP_MAIN = "main"
|
|
30
|
+
BARCODEMAP_TABLE = "barcodemap"
|
|
31
|
+
IDENTIFIERS_TABLE = "identifiers"
|
|
32
|
+
SYNONYMOUS_TABLE = "synonymous"
|
|
33
|
+
VARIANTS_TABLE = "variants"
|
|
34
|
+
BARCODES_TABLE = "barcodes"
|
|
35
|
+
COUNTS_TABLE = "counts"
|
|
36
|
+
COUNTS_UNFILTERED_TABLE = "counts_unfiltered"
|
|
37
|
+
SCORES_TABLE = "scores"
|
|
38
|
+
SCORES_SHARED_TABLE = "scores_shared"
|
|
39
|
+
SCORES_SHARED_FULL_TABLE = "scores_shared_full"
|
|
40
|
+
SCORES_PVALUES_WT = "scores_pvalues_wt"
|
|
41
|
+
SCORES_PVALUES = "scores_pvalues"
|
|
42
|
+
OUTLIERS_TABLE = "outliers"
|
|
43
|
+
LOG_RATIOS_TABLE = "log_ratios"
|
|
44
|
+
WEIGHTS_TABLE = "weights"
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
#: Element types
|
|
48
|
+
VARIANTS = "variants"
|
|
49
|
+
BARCODES = "barcodes"
|
|
50
|
+
IDENTIFIERS = "identifiers"
|
|
51
|
+
SYNONYMOUS = "synonymous"
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
#: Dataframe columns used by Enrich2
|
|
55
|
+
PVALUE_RAW = "pvalue_raw"
|
|
56
|
+
Z_STAT = "z"
|
|
57
|
+
SCORE = "score"
|
|
58
|
+
COUNT = "count"
|
|
59
|
+
SE = "SE"
|
|
60
|
+
EPSILON = "epsilon"
|
|
61
|
+
INDEX = "index"
|
|
62
|
+
REPLICATES = "replicates"
|
|
63
|
+
VARIANCE = "var"
|
|
64
|
+
PARENT = "parent"
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
#: Standard codon table for translating wild type and variant DNA sequences
|
|
68
|
+
CODON_TABLE = {
|
|
69
|
+
"TTT": "F",
|
|
70
|
+
"TCT": "S",
|
|
71
|
+
"TAT": "Y",
|
|
72
|
+
"TGT": "C",
|
|
73
|
+
"TTC": "F",
|
|
74
|
+
"TCC": "S",
|
|
75
|
+
"TAC": "Y",
|
|
76
|
+
"TGC": "C",
|
|
77
|
+
"TTA": "L",
|
|
78
|
+
"TCA": "S",
|
|
79
|
+
"TAA": "*",
|
|
80
|
+
"TGA": "*",
|
|
81
|
+
"TTG": "L",
|
|
82
|
+
"TCG": "S",
|
|
83
|
+
"TAG": "*",
|
|
84
|
+
"TGG": "W",
|
|
85
|
+
"CTT": "L",
|
|
86
|
+
"CCT": "P",
|
|
87
|
+
"CAT": "H",
|
|
88
|
+
"CGT": "R",
|
|
89
|
+
"CTC": "L",
|
|
90
|
+
"CCC": "P",
|
|
91
|
+
"CAC": "H",
|
|
92
|
+
"CGC": "R",
|
|
93
|
+
"CTA": "L",
|
|
94
|
+
"CCA": "P",
|
|
95
|
+
"CAA": "Q",
|
|
96
|
+
"CGA": "R",
|
|
97
|
+
"CTG": "L",
|
|
98
|
+
"CCG": "P",
|
|
99
|
+
"CAG": "Q",
|
|
100
|
+
"CGG": "R",
|
|
101
|
+
"ATT": "I",
|
|
102
|
+
"ACT": "T",
|
|
103
|
+
"AAT": "N",
|
|
104
|
+
"AGT": "S",
|
|
105
|
+
"ATC": "I",
|
|
106
|
+
"ACC": "T",
|
|
107
|
+
"AAC": "N",
|
|
108
|
+
"AGC": "S",
|
|
109
|
+
"ATA": "I",
|
|
110
|
+
"ACA": "T",
|
|
111
|
+
"AAA": "K",
|
|
112
|
+
"AGA": "R",
|
|
113
|
+
"ATG": "M",
|
|
114
|
+
"ACG": "T",
|
|
115
|
+
"AAG": "K",
|
|
116
|
+
"AGG": "R",
|
|
117
|
+
"GTT": "V",
|
|
118
|
+
"GCT": "A",
|
|
119
|
+
"GAT": "D",
|
|
120
|
+
"GGT": "G",
|
|
121
|
+
"GTC": "V",
|
|
122
|
+
"GCC": "A",
|
|
123
|
+
"GAC": "D",
|
|
124
|
+
"GGC": "G",
|
|
125
|
+
"GTA": "V",
|
|
126
|
+
"GCA": "A",
|
|
127
|
+
"GAA": "E",
|
|
128
|
+
"GGA": "G",
|
|
129
|
+
"GTG": "V",
|
|
130
|
+
"GCG": "A",
|
|
131
|
+
"GAG": "E",
|
|
132
|
+
"GGG": "G",
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
#: Conversions between single- and three-letter amino acid codes
|
|
137
|
+
AA_CODES = {
|
|
138
|
+
"Ala": "A",
|
|
139
|
+
"A": "Ala",
|
|
140
|
+
"Arg": "R",
|
|
141
|
+
"R": "Arg",
|
|
142
|
+
"Asn": "N",
|
|
143
|
+
"N": "Asn",
|
|
144
|
+
"Asp": "D",
|
|
145
|
+
"D": "Asp",
|
|
146
|
+
"Cys": "C",
|
|
147
|
+
"C": "Cys",
|
|
148
|
+
"Glu": "E",
|
|
149
|
+
"E": "Glu",
|
|
150
|
+
"Gln": "Q",
|
|
151
|
+
"Q": "Gln",
|
|
152
|
+
"Gly": "G",
|
|
153
|
+
"G": "Gly",
|
|
154
|
+
"His": "H",
|
|
155
|
+
"H": "His",
|
|
156
|
+
"Ile": "I",
|
|
157
|
+
"I": "Ile",
|
|
158
|
+
"Leu": "L",
|
|
159
|
+
"L": "Leu",
|
|
160
|
+
"Lys": "K",
|
|
161
|
+
"K": "Lys",
|
|
162
|
+
"Met": "M",
|
|
163
|
+
"M": "Met",
|
|
164
|
+
"Phe": "F",
|
|
165
|
+
"F": "Phe",
|
|
166
|
+
"Pro": "P",
|
|
167
|
+
"P": "Pro",
|
|
168
|
+
"Ser": "S",
|
|
169
|
+
"S": "Ser",
|
|
170
|
+
"Thr": "T",
|
|
171
|
+
"T": "Thr",
|
|
172
|
+
"Trp": "W",
|
|
173
|
+
"W": "Trp",
|
|
174
|
+
"Tyr": "Y",
|
|
175
|
+
"Y": "Tyr",
|
|
176
|
+
"Val": "V",
|
|
177
|
+
"V": "Val",
|
|
178
|
+
"Ter": "*",
|
|
179
|
+
"*": "Ter",
|
|
180
|
+
"???": "?",
|
|
181
|
+
"?": "???",
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
#: List of amino acids in row order for sequence-function maps.
|
|
186
|
+
AA_LIST = [
|
|
187
|
+
"H",
|
|
188
|
+
"K",
|
|
189
|
+
"R", # (+)
|
|
190
|
+
"D",
|
|
191
|
+
"E", # (-)
|
|
192
|
+
"C",
|
|
193
|
+
"M",
|
|
194
|
+
"N",
|
|
195
|
+
"Q",
|
|
196
|
+
"S",
|
|
197
|
+
"T", # Polar-neutral
|
|
198
|
+
"A",
|
|
199
|
+
"G",
|
|
200
|
+
"I",
|
|
201
|
+
"L",
|
|
202
|
+
"P",
|
|
203
|
+
"V", # Non-polar
|
|
204
|
+
"F",
|
|
205
|
+
"W",
|
|
206
|
+
"Y", # Aromatic
|
|
207
|
+
"*",
|
|
208
|
+
]
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
#: List of tuples for amino acid physiochemical property groups.
|
|
212
|
+
#: Each tuple contains the label string and the corresponding start and end
|
|
213
|
+
#: indices in :py:const:`aa_list` (inclusive).
|
|
214
|
+
AA_LABEL_GROUPS = [
|
|
215
|
+
("(+)", 0, 2),
|
|
216
|
+
("(-)", 3, 4),
|
|
217
|
+
("Polar-neutral", 5, 10),
|
|
218
|
+
("Non-polar", 11, 16),
|
|
219
|
+
("Aromatic", 17, 19),
|
|
220
|
+
]
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
#: List of nucleotides in row order for sequence-function maps.
|
|
224
|
+
NT_LIST = ["A", "C", "G", "T"]
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
#: Dictionary specifying available scoring methods for the analysis
|
|
228
|
+
#: Key is the internal name of the method, value is the GUI label
|
|
229
|
+
#: For command line options, internal name is used for the option string itself
|
|
230
|
+
#: and the value is the help string
|
|
231
|
+
SCORING_METHODS = collections.OrderedDict(
|
|
232
|
+
[
|
|
233
|
+
("WLS", "weighted least squares"),
|
|
234
|
+
("ratios", "log ratios (Enrich2)"),
|
|
235
|
+
("counts", "counts only"),
|
|
236
|
+
("OLS", "ordinary least squares"),
|
|
237
|
+
("simple", "log ratios (old Enrich)"),
|
|
238
|
+
]
|
|
239
|
+
)
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
#: Dictionary specifying available scoring methods for the analysis
|
|
243
|
+
#: Key is the internal name of the method, value is the GUI label
|
|
244
|
+
#: For command line options, internal name is used for the option string itself
|
|
245
|
+
#: and the value is the help string
|
|
246
|
+
LOGR_METHODS = collections.OrderedDict(
|
|
247
|
+
[
|
|
248
|
+
("wt", "wild type"),
|
|
249
|
+
("complete", "library size (complete cases)"),
|
|
250
|
+
("full", "library size (all reads)"),
|
|
251
|
+
]
|
|
252
|
+
)
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
#: List specifying valid labels in their sorted order
|
|
256
|
+
#: Sorted order is the order in which they should be calculated in
|
|
257
|
+
ELEMENT_LABELS = ["barcodes", "identifiers", "variants", "synonymous"]
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
#: Default number of maximum mutation.
|
|
261
|
+
#: Must be set to avoid data frame performance errors.
|
|
262
|
+
DEFAULT_MAX_MUTATIONS = 10
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
#: Matches a single amino acid substitution in HGVS_ format.
|
|
266
|
+
re_protein = re.compile(
|
|
267
|
+
"(?P<match>p\.(?P<pre>[A-Z][a-z][a-z])(?P<pos>-?\d+)" "(?P<post>[A-Z][a-z][a-z]))"
|
|
268
|
+
)
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
#: Matches a single nucleotide substitution (coding or noncoding)
|
|
272
|
+
#: in HGVS_ format.
|
|
273
|
+
re_nucleotide = re.compile(
|
|
274
|
+
"(?P<match>[nc]\.(?P<pos>-?\d+)(?P<pre>[ACGT])>(?P<post>[ACGT]))"
|
|
275
|
+
)
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
#: Matches a single coding nucleotide substitution in HGVS_ format.
|
|
279
|
+
re_coding = re.compile(
|
|
280
|
+
"(?P<match>c\.(?P<pos>-?\d+)(?P<pre>[ACGT])>(?P<post>[ACGT]) "
|
|
281
|
+
"\(p\.(?:=|[A-Z][a-z][a-z]-?\d+[A-Z][a-z][a-z])\))"
|
|
282
|
+
)
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
#: Matches a single noncoding nucleotide substitution in HGVS_ format.
|
|
286
|
+
re_noncoding = re.compile(
|
|
287
|
+
"(?P<match>n\.(?P<pos>-?\d+)(?P<pre>[ACGT])>(?P<post>[ACGT]))"
|
|
288
|
+
)
|