cocoatree 0.0.0a0.dev0__tar.gz → 0.1.0rc0.dev2__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.
- cocoatree-0.1.0rc0.dev2/LICENSE +28 -0
- cocoatree-0.1.0rc0.dev2/MANIFEST.in +4 -0
- cocoatree-0.1.0rc0.dev2/PKG-INFO +66 -0
- cocoatree-0.1.0rc0.dev2/README.md +41 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/__init__.py +8 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/__params.py +80 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/_pipeline.py +144 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/_scraper.py +23 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/_version.py +1 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/__init__.py +3 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/_base.py +188 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/data/DHFR/3QL0.pdb +3507 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/data/DHFR/DHFR_sectors.npz +0 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/data/DHFR/alignment.faa.gz +0 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/data/S1A_serine_proteases/3tgi.pdb +2844 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/data/S1A_serine_proteases/halabi_alignment.fasta +20580 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/data/S1A_serine_proteases/halabi_metadata.csv +1471 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/data/S1A_serine_proteases/halabi_sectors.npz +0 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/data/S1A_serine_proteases/rivoire_alignment.fasta +19460 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/data/S1A_serine_proteases/rivoire_metadata.csv +1391 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/data/S1A_serine_proteases/rivoire_sectors.npz +0 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/data/rhomboid_proteases/2NRF.pdb +3300 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/data/rhomboid_proteases/Data_S1_Rhomboid_MSA_short_names.fasta +5534 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/data/rhomboid_proteases/rhomboid_metadata_clean.csv +2766 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/data/rhomboid_proteases/rhomboid_sectors.npz +0 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/datasets/tests/test_datasets.py +14 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/decomposition.py +263 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/io.py +185 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/msa.py +579 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/pysca.py +238 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/randomize.py +30 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/scripts/cocoatree-sca.py +6 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/statistics/__init__.py +58 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/statistics/pairwise.py +318 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/statistics/position.py +258 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/tests/test_init.py +24 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/tests/test_msa.py +14 -0
- cocoatree-0.1.0rc0.dev2/cocoatree/visualization.py +440 -0
- cocoatree-0.1.0rc0.dev2/cocoatree.egg-info/PKG-INFO +66 -0
- cocoatree-0.1.0rc0.dev2/cocoatree.egg-info/SOURCES.txt +556 -0
- cocoatree-0.1.0rc0.dev2/doc/Makefile +27 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/advanced/index.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/advanced/plot_full_SCA_analysis.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/advanced/plot_sca_vs_mi.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/advanced/plot_sca_with_own_metric.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/advanced/sg_execution_times.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/datasets/index.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/datasets/plot_DHFR.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/datasets/plot_rhomboid_proteases.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/datasets/plot_s1A_serine_proteases.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/datasets/sg_execution_times.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/index.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/plot_map_alignments.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/plot_simple_sca.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/sg_execution_times.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/visualizations/index.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/visualizations/plot_simple_tree.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/visualizations/plot_tree_metadata_colors.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/visualizations/plot_tree_metadata_sector_seq_and_coevol.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/visualizations/sg_execution_times.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/auto_examples/visualizations/test.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/environment.pickle +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/index.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/install.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/interface_cocoatree_pymol.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/classes.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.datasets.load_S1A_serine_proteases.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.datasets.load_rhomboid_proteases.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.deconvolution.extract_independent_components.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.deconvolution.extract_principal_components.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.deconvolution.extract_sectors.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.deconvolution.substract_first_principal_component.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.io.export_fasta.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.io.export_sector_for_pymol.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.io.load_MSA.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.io.load_pdb.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.io.load_tree_ete3.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.msa.compute_seq_identity.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.msa.compute_seq_weights.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.msa.filter_ref_seq.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.msa.filter_seq_id.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.msa.filter_sequences.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.msa.map_msa_positions.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.msa.map_to_pdb.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.perform_sca.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.statistics.compute_all_frequencies.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.statistics.pairwise.compute_apc.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.statistics.pairwise.compute_entropy_correction.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.statistics.pairwise.compute_mutual_information_matrix.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.statistics.pairwise.compute_sca_matrix.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.statistics.position.compute_conservation.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.statistics.position.compute_entropy.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.visualization.add_heatmap_to_tree.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.visualization.add_sector_sequences_to_tree.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/modules/generated/cocoatree.visualization.update_tree_ete3_and_return_style.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/doctrees/sg_execution_times.doctree +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/.buildinfo +4 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/0374de3c6926bbd5a58a7c8a7df42fda/plot_simple_tree.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/07fcc19ba03226cd3d83d4e40ec44385/auto_examples_python.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/10eb65c259b6271afff7d254a763148d/plot_tree_metadata_colors.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/1bb7871f4a5f9cc5b040f1494d20a8ea/test.py +63 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/1fa7a9f31a7c7875aa8f0fdfd81d2286/plot_full_SCA_analysis.py +257 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/20699c4ebf1029edbb65bac9a30ca53c/plot_simple_tree.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/20b773b4d60d124dd773547cf976b421/plot_tree_metadata_sector_seq_and_coevol.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/20d1ead536b47dfb2c81b86adadc17d1/test.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/282c008c74902f321517797ac9a604f6/plot_tree_metadata_sector_seq_and_coevol.py +37 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/29e2e00704256f3dcf70d5d14058a0e8/plot_map_alignments.ipynb +115 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/312f094dab6fc82d28945e1e2832f67a/plot_DHFR.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/492ba585dce674b31e094a71494cb395/plot_tree_metadata_colors.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/4e2d97e3f68619eff71dbf065b11b002/plot_simple_sca.ipynb +133 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/4e4212d09f31039b3b4128de935596b4/plot_simple_tree.py +34 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/4ed0b966bac6eb13c4235685ce58647e/plot_s1A_serine_proteases.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/5630b62ffc15581830f629401de06f83/plot_s1A_serine_proteases.py +37 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/58d39400d667ccd3dd9f1f3f1861cb6e/plot_tree_metadata_colors.py +54 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/5c7836f1e2daea4fb0c819b3e0014473/plot_sca_vs_mi.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/606d8c31da981567d1d6899556f8d4cb/plot_rhomboid_proteases.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/6f1e7a639e0699d6164445b55e6c116d/auto_examples_jupyter.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/765e738333fcde443cab6b461275acb4/plot_map_alignments.py +70 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/7d9cf6448f30df2aacb55e0777708f0b/plot_sca_with_own_metric.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/860d9f0a5d22e6f0ccd1fc0a6bc8da09/plot_sca_with_own_metric.ipynb +61 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/889f3826087bdf52c08ec81fa2a13bd2/plot_full_SCA_analysis.ipynb +277 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/8f45a6338ee29c51e6b74bce49f985a9/plot_sca_vs_mi.ipynb +194 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/97ca54b4c6391f8fc33145af8dc225df/plot_rhomboid_proteases.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/a0043a90df0474f1ca9a9fac8ee5c75c/plot_DHFR.py +33 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/aa18e874220e03cdbd9fb750c66aa97a/plot_DHFR.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/bdbf58b120a1c28a3f4c808b23879d9d/plot_simple_sca.py +83 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/c66a92f21893162d7078e821cfa5f98e/plot_map_alignments.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/d19661322ae2a606467fab5e104ffbb7/plot_full_SCA_analysis.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/d2b0a4e88076244d7910997aa3cadf91/test.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/debeeff8f08bdf029703e30d257c5a11/plot_simple_sca.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/e9b0195d5d25e426a42a081cc67b49ff/plot_rhomboid_proteases.py +31 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/ee1c54dc71ec4a66f421a31b3507b129/plot_tree_metadata_sector_seq_and_coevol.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/f6681c3f086256641ea60d7bee1f08b8/plot_sca_with_own_metric.py +39 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/fc8491f4e0b1196991b112cd4dbe2b4d/plot_sca_vs_mi.py +122 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_downloads/ff2fa92a46aba1f77d7300a89be09a35/plot_s1A_serine_proteases.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/binder_badge_logo.svg +1 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/binder_badge_logo1.svg +1 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/binder_badge_logo2.svg +1 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/binder_badge_logo3.svg +1 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/graphical_abstract.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/pymol_open_pdb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/pymol_structure_after_color.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_DHFR_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_full_SCA_analysis_001.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_full_SCA_analysis_002.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_full_SCA_analysis_003.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_full_SCA_analysis_004.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_full_SCA_analysis_005.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_full_SCA_analysis_006.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_full_SCA_analysis_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_map_alignments_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_rhomboid_proteases_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_s1A_serine_proteases_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_sca_vs_mi_001.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_sca_vs_mi_002.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_sca_vs_mi_003.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_sca_vs_mi_004.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_sca_vs_mi_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_sca_with_own_metric_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_simple_sca_001.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_simple_sca_002.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_simple_sca_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_simple_tree_001.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_simple_tree_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_tree_metadata_colors_001.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_tree_metadata_colors_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_tree_metadata_sector_seq_and_coevol_001.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_plot_tree_metadata_sector_seq_and_coevol_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_images/sphx_glr_test_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_modules/cocoatree/_pipeline.html +193 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_modules/cocoatree/datasets/_base.html +246 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_modules/cocoatree/deconvolution.html +291 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_modules/cocoatree/io.html +248 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_modules/cocoatree/msa.html +509 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_modules/cocoatree/statistics/pairwise.html +382 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_modules/cocoatree/statistics/position.html +316 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_modules/cocoatree/statistics.html +113 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_modules/cocoatree/visualization.html +475 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_modules/index.html +61 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/advanced/index.rst.txt +82 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/advanced/plot_full_SCA_analysis.rst.txt +574 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/advanced/plot_sca_vs_mi.rst.txt +334 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/advanced/plot_sca_with_own_metric.rst.txt +124 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/advanced/sg_execution_times.rst.txt +43 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/datasets/index.rst.txt +82 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/datasets/plot_DHFR.rst.txt +113 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/datasets/plot_rhomboid_proteases.rst.txt +110 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/datasets/plot_s1A_serine_proteases.rst.txt +126 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/datasets/sg_execution_times.rst.txt +43 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/index.rst.txt +319 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/plot_map_alignments.rst.txt +200 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/plot_simple_sca.rst.txt +259 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/sg_execution_times.rst.txt +40 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/visualizations/index.rst.txt +100 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/visualizations/plot_simple_tree.rst.txt +115 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/visualizations/plot_tree_metadata_colors.rst.txt +135 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/visualizations/plot_tree_metadata_sector_seq_and_coevol.rst.txt +118 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/visualizations/sg_execution_times.rst.txt +46 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/auto_examples/visualizations/test.rst.txt +118 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/index.rst.txt +64 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/install.rst.txt +117 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/interface_cocoatree_pymol.rst.txt +103 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/classes.rst.txt +198 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.datasets.load_S1A_serine_proteases.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.datasets.load_rhomboid_proteases.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.deconvolution.extract_independent_components.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.deconvolution.extract_principal_components.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.deconvolution.extract_sectors.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.deconvolution.substract_first_principal_component.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.io.export_fasta.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.io.export_sector_for_pymol.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.io.load_MSA.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.io.load_pdb.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.io.load_tree_ete3.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.msa.compute_seq_identity.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.msa.compute_seq_weights.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.msa.filter_ref_seq.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.msa.filter_seq_id.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.msa.filter_sequences.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.msa.map_msa_positions.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.msa.map_to_pdb.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.perform_sca.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.statistics.compute_all_frequencies.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.statistics.pairwise.compute_apc.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.statistics.pairwise.compute_entropy_correction.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.statistics.pairwise.compute_mutual_information_matrix.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.statistics.pairwise.compute_sca_matrix.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.statistics.position.compute_conservation.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.statistics.position.compute_entropy.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.visualization.add_heatmap_to_tree.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.visualization.add_sector_sequences_to_tree.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/modules/generated/cocoatree.visualization.update_tree_ete3_and_return_style.rst.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_sources/sg_execution_times.rst.txt +70 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/basic.css +914 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/binder_badge_logo.svg +1 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/broken_example.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/doctools.js +149 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/documentation_options.js +13 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/file.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/jupyterlite_badge_logo.svg +3 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/language_data.js +192 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/minus.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/nameko.css +530 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/no_image.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/plus.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/pygments.css +70 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/searchtools.js +632 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/sg_gallery-binder.css +11 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/sg_gallery-dataframe.css +47 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/sg_gallery-rendered-html.css +224 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/sg_gallery.css +367 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/_static/sphinx_highlight.js +154 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/advanced/index.html +66 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/advanced/plot_full_SCA_analysis.html +364 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/advanced/plot_sca_vs_mi.html +261 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/advanced/plot_sca_with_own_metric.html +127 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/advanced/sg_execution_times.html +91 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/datasets/index.html +66 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/datasets/plot_DHFR.html +155 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/datasets/plot_rhomboid_proteases.html +141 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/datasets/plot_s1A_serine_proteases.html +156 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/datasets/sg_execution_times.html +91 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/index.html +125 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/plot_map_alignments.html +144 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/plot_simple_sca.html +186 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/sg_execution_times.html +87 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/visualizations/index.html +69 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/visualizations/plot_simple_tree.html +111 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/visualizations/plot_tree_metadata_colors.html +131 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/visualizations/plot_tree_metadata_sector_seq_and_coevol.html +114 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/visualizations/sg_execution_times.html +95 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/auto_examples/visualizations/test.html +133 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/binder/requirements.txt +14 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/genindex.html +256 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/index.html +128 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/install.html +158 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/interface_cocoatree_pymol.html +136 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/classes.html +225 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.datasets.load_S1A_serine_proteases.html +112 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.datasets.load_rhomboid_proteases.html +93 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.deconvolution.extract_independent_components.html +99 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.deconvolution.extract_principal_components.html +81 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.deconvolution.extract_sectors.html +79 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.deconvolution.substract_first_principal_component.html +83 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.io.export_fasta.html +73 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.io.export_sector_for_pymol.html +94 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.io.load_MSA.html +99 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.io.load_pdb.html +88 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.io.load_tree_ete3.html +84 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.msa.compute_seq_identity.html +76 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.msa.compute_seq_weights.html +94 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.msa.filter_ref_seq.html +80 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.msa.filter_seq_id.html +79 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.msa.filter_sequences.html +105 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.msa.map_msa_positions.html +89 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.msa.map_to_pdb.html +93 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.perform_sca.html +112 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.statistics.compute_all_frequencies.html +86 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.statistics.pairwise.compute_apc.html +86 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.statistics.pairwise.compute_entropy_correction.html +77 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.statistics.pairwise.compute_mutual_information_matrix.html +90 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.statistics.pairwise.compute_sca_matrix.html +90 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.statistics.position.compute_conservation.html +99 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.statistics.position.compute_entropy.html +79 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.visualization.add_heatmap_to_tree.html +89 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.visualization.add_sector_sequences_to_tree.html +84 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/modules/generated/cocoatree.visualization.update_tree_ete3_and_return_style.html +133 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/notebooks/auto_examples/advanced/plot_full_SCA_analysis.ipynb +277 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/notebooks/auto_examples/advanced/plot_sca_vs_mi.ipynb +194 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/notebooks/auto_examples/advanced/plot_sca_with_own_metric.ipynb +61 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/notebooks/auto_examples/datasets/plot_DHFR.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/notebooks/auto_examples/datasets/plot_rhomboid_proteases.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/notebooks/auto_examples/datasets/plot_s1A_serine_proteases.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/notebooks/auto_examples/plot_map_alignments.ipynb +115 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/notebooks/auto_examples/plot_simple_sca.ipynb +133 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/notebooks/auto_examples/visualizations/plot_simple_tree.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/notebooks/auto_examples/visualizations/plot_tree_metadata_colors.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/notebooks/auto_examples/visualizations/plot_tree_metadata_sector_seq_and_coevol.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/notebooks/auto_examples/visualizations/test.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/objects.inv +0 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/py-modindex.html +102 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/search.html +84 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/searchindex.js +1 -0
- cocoatree-0.1.0rc0.dev2/doc/_build/html/sg_execution_times.html +127 -0
- cocoatree-0.1.0rc0.dev2/doc/_templates/class.rst +15 -0
- cocoatree-0.1.0rc0.dev2/doc/_templates/function.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/images/binder_badge_logo.svg +1 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/images/sphx_glr_plot_full_SCA_analysis_001.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/images/sphx_glr_plot_full_SCA_analysis_002.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/images/sphx_glr_plot_full_SCA_analysis_003.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/images/sphx_glr_plot_full_SCA_analysis_004.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/images/sphx_glr_plot_full_SCA_analysis_005.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/images/sphx_glr_plot_full_SCA_analysis_006.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/images/sphx_glr_plot_sca_vs_mi_001.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/images/sphx_glr_plot_sca_vs_mi_002.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/images/sphx_glr_plot_sca_vs_mi_003.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/images/sphx_glr_plot_sca_vs_mi_004.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/images/thumb/sphx_glr_plot_full_SCA_analysis_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/images/thumb/sphx_glr_plot_sca_vs_mi_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/images/thumb/sphx_glr_plot_sca_with_own_metric_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/index.rst +82 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_full_SCA_analysis.codeobj.json +1237 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_full_SCA_analysis.ipynb +277 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_full_SCA_analysis.py +257 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_full_SCA_analysis.py.md5 +1 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_full_SCA_analysis.rst +574 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_full_SCA_analysis.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_sca_vs_mi.codeobj.json +411 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_sca_vs_mi.ipynb +194 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_sca_vs_mi.py +122 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_sca_vs_mi.py.md5 +1 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_sca_vs_mi.rst +334 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_sca_vs_mi.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_sca_with_own_metric.codeobj.json +294 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_sca_with_own_metric.ipynb +61 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_sca_with_own_metric.py +39 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_sca_with_own_metric.py.md5 +1 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_sca_with_own_metric.rst +124 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/plot_sca_with_own_metric.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/advanced/sg_execution_times.rst +43 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/auto_examples_jupyter.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/auto_examples_python.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/images/binder_badge_logo.svg +1 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/images/thumb/sphx_glr_plot_DHFR_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/images/thumb/sphx_glr_plot_rhomboid_proteases_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/images/thumb/sphx_glr_plot_s1A_serine_proteases_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/index.rst +82 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_DHFR.codeobj.json +165 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_DHFR.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_DHFR.py +33 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_DHFR.py.md5 +1 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_DHFR.rst +113 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_DHFR.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_rhomboid_proteases.codeobj.json +165 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_rhomboid_proteases.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_rhomboid_proteases.py +31 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_rhomboid_proteases.py.md5 +1 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_rhomboid_proteases.rst +110 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_rhomboid_proteases.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_s1A_serine_proteases.codeobj.json +174 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_s1A_serine_proteases.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_s1A_serine_proteases.py +37 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_s1A_serine_proteases.py.md5 +1 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_s1A_serine_proteases.rst +126 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/plot_s1A_serine_proteases.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/datasets/sg_execution_times.rst +43 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/images/binder_badge_logo.svg +1 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/images/sphx_glr_plot_simple_sca_001.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/images/sphx_glr_plot_simple_sca_002.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/images/thumb/sphx_glr_plot_map_alignments_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/images/thumb/sphx_glr_plot_simple_sca_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/index.rst +319 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/plot_map_alignments.codeobj.json +537 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/plot_map_alignments.ipynb +115 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/plot_map_alignments.py +70 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/plot_map_alignments.py.md5 +1 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/plot_map_alignments.rst +200 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/plot_map_alignments.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/plot_simple_sca.codeobj.json +672 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/plot_simple_sca.ipynb +133 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/plot_simple_sca.py +83 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/plot_simple_sca.py.md5 +1 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/plot_simple_sca.rst +259 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/plot_simple_sca.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/searchindex.bak +3 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/searchindex.dat +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/searchindex.dir +3 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/sg_execution_times.rst +40 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/images/binder_badge_logo.svg +1 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/images/sphx_glr_plot_simple_tree_001.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/images/sphx_glr_plot_tree_metadata_colors_001.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/images/sphx_glr_plot_tree_metadata_sector_seq_and_coevol_001.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/images/thumb/sphx_glr_plot_simple_tree_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/images/thumb/sphx_glr_plot_tree_metadata_colors_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/images/thumb/sphx_glr_plot_tree_metadata_sector_seq_and_coevol_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/images/thumb/sphx_glr_test_thumb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/index.rst +100 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_simple_tree.codeobj.json +221 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_simple_tree.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_simple_tree.py +34 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_simple_tree.py.md5 +1 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_simple_tree.rst +115 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_simple_tree.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_tree_metadata_colors.codeobj.json +230 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_tree_metadata_colors.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_tree_metadata_colors.py +54 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_tree_metadata_colors.py.md5 +1 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_tree_metadata_colors.rst +135 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_tree_metadata_colors.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_tree_metadata_sector_seq_and_coevol.codeobj.json +221 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_tree_metadata_sector_seq_and_coevol.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_tree_metadata_sector_seq_and_coevol.py +37 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_tree_metadata_sector_seq_and_coevol.py.md5 +1 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_tree_metadata_sector_seq_and_coevol.rst +118 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/plot_tree_metadata_sector_seq_and_coevol.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/sg_execution_times.rst +46 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/test.codeobj.json +47 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/test.ipynb +43 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/test.py +63 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/test.rst +118 -0
- cocoatree-0.1.0rc0.dev2/doc/auto_examples/visualizations/test.zip +0 -0
- cocoatree-0.1.0rc0.dev2/doc/conf.py +120 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.datasets.load_DHFR.examples +42 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.datasets.load_S1A_serine_proteases.examples +147 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.datasets.load_rhomboid_proteases.examples +42 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.deconvolution.extract_independent_components.examples +42 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.deconvolution.extract_principal_components.examples +42 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.deconvolution.extract_sectors.examples +42 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.deconvolution.substract_first_principal_component.examples +42 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.io.export_fasta.examples +42 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.io.export_sector_for_pymol.examples +42 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.io.load_MSA.examples +105 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.io.load_pdb.examples +42 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.io.load_tree_ete3.examples +105 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.msa.compute_seq_identity.examples +42 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.msa.compute_seq_weights.examples +42 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.msa.filter_sequences.examples +147 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.msa.map_msa_positions.examples +42 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.msa.map_to_pdb.examples +42 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.perform_sca.examples +63 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.statistics.pairwise.compute_mutual_information_matrix.examples +42 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.statistics.pairwise.compute_sca_matrix.examples +63 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.statistics.position.compute_conservation.examples +63 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.statistics.position.compute_seq_weights.examples +84 -0
- cocoatree-0.1.0rc0.dev2/doc/generated/backreferences/cocoatree.visualization.update_tree_ete3_and_return_style.examples +84 -0
- cocoatree-0.1.0rc0.dev2/doc/images/3TGI.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/images/pymol_open_pdb.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/images/pymol_structure_after_color.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/index.rst +64 -0
- cocoatree-0.1.0rc0.dev2/doc/install.rst +117 -0
- cocoatree-0.1.0rc0.dev2/doc/interface_cocoatree_pymol.rst +103 -0
- cocoatree-0.1.0rc0.dev2/doc/make.bat +35 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/classes.rst +202 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.datasets.load_S1A_serine_proteases.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.datasets.load_rhomboid_proteases.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.deconvolution.extract_independent_components.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.deconvolution.extract_principal_components.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.deconvolution.extract_sectors.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.deconvolution.substract_first_principal_component.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.io.export_fasta.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.io.export_sector_for_pymol.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.io.load_MSA.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.io.load_pdb.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.io.load_tree_ete3.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.msa.compute_seq_identity.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.msa.compute_seq_weights.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.msa.filter_ref_seq.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.msa.filter_seq_id.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.msa.filter_sequences.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.msa.map_msa_positions.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.msa.map_to_pdb.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.perform_sca.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.statistics.compute_all_frequencies.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.statistics.pairwise.compute_apc.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.statistics.pairwise.compute_entropy_correction.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.statistics.pairwise.compute_mutual_information_matrix.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.statistics.pairwise.compute_sca_matrix.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.statistics.position.compute_conservation.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.statistics.position.compute_entropy.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.visualization.add_heatmap_to_tree.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.visualization.add_sector_sequences_to_tree.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/modules/generated/cocoatree.visualization.update_tree_ete3_and_return_style.rst +14 -0
- cocoatree-0.1.0rc0.dev2/doc/refs.bib +56 -0
- cocoatree-0.1.0rc0.dev2/doc/schemas/cocoa_orga_v5.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/schemas/draft_fig1_v5.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/schemas/graphical_abstract.png +0 -0
- cocoatree-0.1.0rc0.dev2/doc/schemas/graphical_abstract.svg +7636 -0
- cocoatree-0.1.0rc0.dev2/doc/sg_execution_times.rst +70 -0
- cocoatree-0.1.0rc0.dev2/doc/themes/nameko/layout.html +36 -0
- cocoatree-0.1.0rc0.dev2/doc/themes/nameko/reference.html +0 -0
- cocoatree-0.1.0rc0.dev2/doc/themes/nameko/relations.html +0 -0
- cocoatree-0.1.0rc0.dev2/doc/themes/nameko/static/nameko.css_t +530 -0
- cocoatree-0.1.0rc0.dev2/doc/themes/nameko/static/pygments.css +70 -0
- cocoatree-0.1.0rc0.dev2/doc/themes/nameko/theme.conf +3 -0
- cocoatree-0.1.0rc0.dev2/examples/ColorResidues_withScore_Pymol.pml +40 -0
- cocoatree-0.1.0rc0.dev2/examples/README.txt +9 -0
- cocoatree-0.1.0rc0.dev2/examples/a_quick_start/README.txt +6 -0
- cocoatree-0.1.0rc0.dev2/examples/a_quick_start/data/3TGI.pdb +2844 -0
- cocoatree-0.1.0rc0.dev2/examples/a_quick_start/plot_01_minimal_coevo.py +170 -0
- cocoatree-0.1.0rc0.dev2/examples/a_quick_start/plot_02_minimal_coevo_pd.py +166 -0
- cocoatree-0.1.0rc0.dev2/examples/a_quick_start/plot_03_map_alignments.py +71 -0
- cocoatree-0.1.0rc0.dev2/examples/a_quick_start/plot_04_load_tree.py +46 -0
- cocoatree-0.1.0rc0.dev2/examples/a_quick_start/plot_05_load_pdb.py +100 -0
- cocoatree-0.1.0rc0.dev2/examples/advanced/sector_1.fasta +2752 -0
- cocoatree-0.1.0rc0.dev2/examples/b_advanced/README.txt +7 -0
- cocoatree-0.1.0rc0.dev2/examples/b_advanced/plot_full_SCA_analysis.py +277 -0
- cocoatree-0.1.0rc0.dev2/examples/b_advanced/plot_sca_vs_mi.py +112 -0
- cocoatree-0.1.0rc0.dev2/examples/b_advanced/plot_sca_with_own_metric.py +46 -0
- cocoatree-0.1.0rc0.dev2/examples/b_advanced/sector_1.fasta +2752 -0
- cocoatree-0.1.0rc0.dev2/examples/c_visualizations/README.txt +6 -0
- cocoatree-0.1.0rc0.dev2/examples/c_visualizations/data/3TGI.pdb +2844 -0
- cocoatree-0.1.0rc0.dev2/examples/c_visualizations/data/halabi_82_seqs.txt +1 -0
- cocoatree-0.1.0rc0.dev2/examples/c_visualizations/data/halabi_xcor_1_SCA.fasta +2940 -0
- cocoatree-0.1.0rc0.dev2/examples/c_visualizations/data/s1Ahalabi_1470.an +20580 -0
- cocoatree-0.1.0rc0.dev2/examples/c_visualizations/plot_simple_tree.py +71 -0
- cocoatree-0.1.0rc0.dev2/examples/c_visualizations/plot_tree_metadata_colors.py +97 -0
- cocoatree-0.1.0rc0.dev2/examples/c_visualizations/plot_tree_metadata_xcor_seq_and_coevol.py +87 -0
- cocoatree-0.1.0rc0.dev2/examples/c_visualizations/plot_tree_similarity_heatmap.py +188 -0
- cocoatree-0.1.0rc0.dev2/examples/color_sector_1_pymol.npy +0 -0
- cocoatree-0.1.0rc0.dev2/examples/d_datasets/README.txt +6 -0
- cocoatree-0.1.0rc0.dev2/examples/d_datasets/plot_DHFR.py +79 -0
- cocoatree-0.1.0rc0.dev2/examples/d_datasets/plot_rhomboid_proteases.py +88 -0
- cocoatree-0.1.0rc0.dev2/examples/d_datasets/plot_s1A_serine_proteases.py +141 -0
- cocoatree-0.1.0rc0.dev2/examples/figures/centered_ica.png +0 -0
- cocoatree-0.1.0rc0.dev2/examples/figures/centered_iou.png +0 -0
- cocoatree-0.1.0rc0.dev2/examples/figures/centered_pca.png +0 -0
- cocoatree-0.1.0rc0.dev2/examples/figures/centered_sca_vs_rest.png +0 -0
- cocoatree-0.1.0rc0.dev2/examples/figures/uncentered_ica.png +0 -0
- cocoatree-0.1.0rc0.dev2/examples/figures/uncentered_iou.png +0 -0
- cocoatree-0.1.0rc0.dev2/examples/figures/uncentered_pca.png +0 -0
- cocoatree-0.1.0rc0.dev2/examples/figures/uncentered_sca_vs_rest.png +0 -0
- cocoatree-0.1.0rc0.dev2/examples/sector_1.fasta +2752 -0
- cocoatree-0.1.0rc0.dev2/examples/visualizations/test.py +63 -0
- cocoatree-0.1.0rc0.dev2/pyproject.toml +46 -0
- cocoatree-0.0.0a0.dev0/PKG-INFO +0 -22
- cocoatree-0.0.0a0.dev0/cocoatree/__init__.py +0 -1
- cocoatree-0.0.0a0.dev0/cocoatree.egg-info/PKG-INFO +0 -22
- cocoatree-0.0.0a0.dev0/cocoatree.egg-info/SOURCES.txt +0 -7
- cocoatree-0.0.0a0.dev0/setup.py +0 -35
- {cocoatree-0.0.0a0.dev0 → cocoatree-0.1.0rc0.dev2}/cocoatree.egg-info/dependency_links.txt +0 -0
- {cocoatree-0.0.0a0.dev0 → cocoatree-0.1.0rc0.dev2}/cocoatree.egg-info/requires.txt +0 -0
- {cocoatree-0.0.0a0.dev0 → cocoatree-0.1.0rc0.dev2}/cocoatree.egg-info/top_level.txt +0 -0
- {cocoatree-0.0.0a0.dev0 → cocoatree-0.1.0rc0.dev2}/setup.cfg +0 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
Copyright (c) 2025 The COCOA-Tree developers.
|
|
2
|
+
All rights reserved.
|
|
3
|
+
|
|
4
|
+
Redistribution and use in source and binary forms, with or without
|
|
5
|
+
modification, are permitted provided that the following conditions are met:
|
|
6
|
+
|
|
7
|
+
1. Redistributions of source code must retain the above copyright notice,
|
|
8
|
+
this list of conditions and the following disclaimer.
|
|
9
|
+
|
|
10
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
11
|
+
this list of conditions and the following disclaimer in the documentation
|
|
12
|
+
and/or other materials provided with the distribution.
|
|
13
|
+
|
|
14
|
+
3. Neither the name of the copyright holder nor the names of its contributors
|
|
15
|
+
may be used to endorse or promote products derived from this software without
|
|
16
|
+
specific prior written permission.
|
|
17
|
+
|
|
18
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
19
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
20
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
21
|
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
22
|
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
23
|
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
24
|
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
25
|
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
26
|
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
27
|
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
|
28
|
+
THE POSSIBILITY OF SUCH DAMAGE.
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cocoatree
|
|
3
|
+
Version: 0.1.0rc0.dev2
|
|
4
|
+
Summary: Awesome coevolution stuff
|
|
5
|
+
Author:
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Bug Reports, https://github.com/FIXME
|
|
8
|
+
Project-URL: Source, https://github.com/FIXME/
|
|
9
|
+
Keywords: coevolution,MSA
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
13
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
16
|
+
Requires-Python: <4.0,>=3.8
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
License-File: LICENSE
|
|
19
|
+
Requires-Dist: numpy
|
|
20
|
+
Provides-Extra: dev
|
|
21
|
+
Requires-Dist: flake8; extra == "dev"
|
|
22
|
+
Provides-Extra: test
|
|
23
|
+
Requires-Dist: pytest; extra == "test"
|
|
24
|
+
Dynamic: license-file
|
|
25
|
+
|
|
26
|
+
# COCOA-Tree: COllaborative COevolution Analysis Toolbox
|
|
27
|
+
|
|
28
|
+
**COCOA-Tree** is a Python library to perform coevolution analyses of proteins and integrate phylogenetic information
|
|
29
|
+
to better understand the coevolution signals.
|
|
30
|
+
|
|
31
|
+
It regroups various coevolution metrics and corrections, such as statistical coevolution analysis (SCA) or mutual
|
|
32
|
+
information (MI).
|
|
33
|
+
|
|
34
|
+
Website: [tree-bioinfo-intra.timc.fr/projects/cocoa/](http://tree-bioinfo-intra.timc.fr/projects/cocoa/index.html)
|
|
35
|
+
|
|
36
|
+
## Library organization
|
|
37
|
+
|
|
38
|
+
COCOA-Tree is organized in several modules, each allowing to perform different tasks of a coevolution analysis
|
|
39
|
+
pipeline:
|
|
40
|
+
|
|
41
|
+
[cocoatree_orga](../cocoatree_orga.pdf)
|
|
42
|
+
|
|
43
|
+
## Installation
|
|
44
|
+
|
|
45
|
+
### Dependencies
|
|
46
|
+
|
|
47
|
+
COCOA-Tree requires:
|
|
48
|
+
- Python (>= 3.9)
|
|
49
|
+
- NumPy
|
|
50
|
+
- scikit-learn
|
|
51
|
+
- biopython
|
|
52
|
+
- ete3
|
|
53
|
+
|
|
54
|
+
Matplotlib is also required for running the examples.
|
|
55
|
+
|
|
56
|
+
### User installation
|
|
57
|
+
|
|
58
|
+
To install for development purposes, use::
|
|
59
|
+
|
|
60
|
+
python setup.py develop
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
All changes in the python module will be repercuted on the installed version
|
|
64
|
+
(in practice the installed version is a symlink towards the package in
|
|
65
|
+
development).
|
|
66
|
+
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# COCOA-Tree: COllaborative COevolution Analysis Toolbox
|
|
2
|
+
|
|
3
|
+
**COCOA-Tree** is a Python library to perform coevolution analyses of proteins and integrate phylogenetic information
|
|
4
|
+
to better understand the coevolution signals.
|
|
5
|
+
|
|
6
|
+
It regroups various coevolution metrics and corrections, such as statistical coevolution analysis (SCA) or mutual
|
|
7
|
+
information (MI).
|
|
8
|
+
|
|
9
|
+
Website: [tree-bioinfo-intra.timc.fr/projects/cocoa/](http://tree-bioinfo-intra.timc.fr/projects/cocoa/index.html)
|
|
10
|
+
|
|
11
|
+
## Library organization
|
|
12
|
+
|
|
13
|
+
COCOA-Tree is organized in several modules, each allowing to perform different tasks of a coevolution analysis
|
|
14
|
+
pipeline:
|
|
15
|
+
|
|
16
|
+
[cocoatree_orga](../cocoatree_orga.pdf)
|
|
17
|
+
|
|
18
|
+
## Installation
|
|
19
|
+
|
|
20
|
+
### Dependencies
|
|
21
|
+
|
|
22
|
+
COCOA-Tree requires:
|
|
23
|
+
- Python (>= 3.9)
|
|
24
|
+
- NumPy
|
|
25
|
+
- scikit-learn
|
|
26
|
+
- biopython
|
|
27
|
+
- ete3
|
|
28
|
+
|
|
29
|
+
Matplotlib is also required for running the examples.
|
|
30
|
+
|
|
31
|
+
### User installation
|
|
32
|
+
|
|
33
|
+
To install for development purposes, use::
|
|
34
|
+
|
|
35
|
+
python setup.py develop
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
All changes in the python module will be repercuted on the installed version
|
|
39
|
+
(in practice the installed version is a symlink towards the package in
|
|
40
|
+
development).
|
|
41
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
from . import msa # noqa: F401
|
|
2
|
+
from . import datasets # noqa: F401
|
|
3
|
+
from . import statistics # noqa: F401
|
|
4
|
+
from . import io # noqa: F401
|
|
5
|
+
from . import decomposition # noqa: F401
|
|
6
|
+
from ._pipeline import perform_sca # noqa: F401
|
|
7
|
+
from ._version import __version__ # noqa: F401
|
|
8
|
+
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
# Parameters for COCOA-Tree
|
|
2
|
+
|
|
3
|
+
import numpy as np
|
|
4
|
+
|
|
5
|
+
# in pySCA, the defautl value is 0.03 (default here)
|
|
6
|
+
# in mean-field DCA, the default value is 0.5
|
|
7
|
+
__freq_regularization_ref = 0.03
|
|
8
|
+
|
|
9
|
+
__freq0 = np.array(
|
|
10
|
+
[
|
|
11
|
+
0.073,
|
|
12
|
+
0.025,
|
|
13
|
+
0.050,
|
|
14
|
+
0.061,
|
|
15
|
+
0.042,
|
|
16
|
+
0.072,
|
|
17
|
+
0.023,
|
|
18
|
+
0.053,
|
|
19
|
+
0.064,
|
|
20
|
+
0.089,
|
|
21
|
+
0.023,
|
|
22
|
+
0.043,
|
|
23
|
+
0.052,
|
|
24
|
+
0.040,
|
|
25
|
+
0.052,
|
|
26
|
+
0.073,
|
|
27
|
+
0.056,
|
|
28
|
+
0.063,
|
|
29
|
+
0.013,
|
|
30
|
+
0.033
|
|
31
|
+
]
|
|
32
|
+
)
|
|
33
|
+
|
|
34
|
+
lett2num = {
|
|
35
|
+
'-': 0,
|
|
36
|
+
'A': 1,
|
|
37
|
+
'C': 2,
|
|
38
|
+
'D': 3,
|
|
39
|
+
'E': 4,
|
|
40
|
+
'F': 5,
|
|
41
|
+
'G': 6,
|
|
42
|
+
'H': 7,
|
|
43
|
+
'I': 8,
|
|
44
|
+
'K': 9,
|
|
45
|
+
'L': 10,
|
|
46
|
+
'M': 11,
|
|
47
|
+
'N': 12,
|
|
48
|
+
'P': 13,
|
|
49
|
+
'Q': 14,
|
|
50
|
+
'R': 15,
|
|
51
|
+
'S': 16,
|
|
52
|
+
'T': 17,
|
|
53
|
+
'V': 18,
|
|
54
|
+
'W': 19,
|
|
55
|
+
'Y': 20}
|
|
56
|
+
|
|
57
|
+
__aa_count = len(lett2num)
|
|
58
|
+
|
|
59
|
+
aatable = {
|
|
60
|
+
"ALA": "A",
|
|
61
|
+
"ARG": "R",
|
|
62
|
+
"ASN": "N",
|
|
63
|
+
"ASP": "D",
|
|
64
|
+
"CYS": "C",
|
|
65
|
+
"GLN": "Q",
|
|
66
|
+
"GLU": "E",
|
|
67
|
+
"GLY": "G",
|
|
68
|
+
"HIS": "H",
|
|
69
|
+
"ILE": "I",
|
|
70
|
+
"LEU": "L",
|
|
71
|
+
"LYS": "K",
|
|
72
|
+
"MET": "M",
|
|
73
|
+
"PHE": "F",
|
|
74
|
+
"PRO": "P",
|
|
75
|
+
"SER": "S",
|
|
76
|
+
"THR": "T",
|
|
77
|
+
"TRP": "W",
|
|
78
|
+
"TYR": "Y",
|
|
79
|
+
"VAL": "V",
|
|
80
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
from . import msa
|
|
2
|
+
from . import statistics
|
|
3
|
+
from . import decomposition
|
|
4
|
+
from . import __params
|
|
5
|
+
|
|
6
|
+
import pandas as pd
|
|
7
|
+
import numpy as np
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
def perform_sca(sequences_id, sequences,
|
|
11
|
+
n_components=4,
|
|
12
|
+
freq_regul=__params.__freq_regularization_ref,
|
|
13
|
+
gap_threshold=0.4, seq_threshold=0.2,
|
|
14
|
+
coevolution_metric="SCA", correction=None):
|
|
15
|
+
"""
|
|
16
|
+
Perform statistical coupling analysis (SCA)
|
|
17
|
+
|
|
18
|
+
Parameters
|
|
19
|
+
----------
|
|
20
|
+
sequences : list of MSA sequences to filter
|
|
21
|
+
|
|
22
|
+
sequences_id : list of the MSA's sequence identifiers
|
|
23
|
+
|
|
24
|
+
n_components : int, default: 4
|
|
25
|
+
|
|
26
|
+
gap_threshold : float [0, 1], default: 0.4
|
|
27
|
+
max proportion of gaps tolerated
|
|
28
|
+
|
|
29
|
+
seq_threshold : maximum fraction of gaps per sequence (default 0.2)
|
|
30
|
+
|
|
31
|
+
coevolution_metric : str or callable, optional, default: 'SCA'
|
|
32
|
+
which coevolution metric to use:
|
|
33
|
+
|
|
34
|
+
- SCA: the coevolution matrix from Rivoire et al
|
|
35
|
+
- MI: the mutual information
|
|
36
|
+
- NMI: the normalized mutual information
|
|
37
|
+
- callable: a function that takes as arguments (1) sequences, (2)
|
|
38
|
+
`seq_weights`, and `freq_regul`
|
|
39
|
+
|
|
40
|
+
correction : {None, 'APC', 'entropy'}, default: None
|
|
41
|
+
which correction to use
|
|
42
|
+
|
|
43
|
+
Returns
|
|
44
|
+
-------
|
|
45
|
+
coevol_matrix : np.ndarray (n_filtered_pos, n_filtered_pos)
|
|
46
|
+
coevolution matrix
|
|
47
|
+
|
|
48
|
+
coevol_matrix_ngm : np.ndarray (n_filtered_pos, n_filtered_pos)
|
|
49
|
+
coevolution matrix without global mode (ngm = no global mode)
|
|
50
|
+
|
|
51
|
+
df : pd.DataFrame with the following columns
|
|
52
|
+
|
|
53
|
+
- original_msa_pos : the original MSA position
|
|
54
|
+
- filtered_msa_pos : the position in the filtered MSA
|
|
55
|
+
|
|
56
|
+
and for each component:
|
|
57
|
+
|
|
58
|
+
- PCk: the projection of the residue onto the kth principal component
|
|
59
|
+
- ICk: the projeciton of the residue onto the kth independent
|
|
60
|
+
component
|
|
61
|
+
- xcor_k: wherether the residue is found to be part of xcor k
|
|
62
|
+
|
|
63
|
+
"""
|
|
64
|
+
|
|
65
|
+
# Start by filtering sequences
|
|
66
|
+
seq_kept, seq_kept_id, pos_kept = msa.filter_sequences(
|
|
67
|
+
sequences, sequences_id, gap_threshold=gap_threshold,
|
|
68
|
+
seq_threshold=seq_threshold)
|
|
69
|
+
|
|
70
|
+
# Compute sequence weights. This is mostly to avoid recomputing it at
|
|
71
|
+
# several step in the pipeline and thus speed things up a bit
|
|
72
|
+
seq_weights, _ = msa.compute_seq_weights(seq_kept)
|
|
73
|
+
|
|
74
|
+
# Compute co-evolution matrix
|
|
75
|
+
if coevolution_metric == "SCA":
|
|
76
|
+
coevol_matrix = statistics.pairwise.compute_sca_matrix(
|
|
77
|
+
seq_kept,
|
|
78
|
+
seq_weights=seq_weights,
|
|
79
|
+
freq_regul=freq_regul)
|
|
80
|
+
elif coevolution_metric == "MI":
|
|
81
|
+
coevol_matrix = statistics.pairwise.compute_mutual_information_matrix(
|
|
82
|
+
seq_kept, seq_weights=seq_weights, freq_regul=freq_regul,
|
|
83
|
+
normalize=False)
|
|
84
|
+
elif coevolution_metric == "NMI":
|
|
85
|
+
coevol_matrix = statistics.pairwise.compute_mutual_information_matrix(
|
|
86
|
+
seq_kept, seq_weights=seq_weights, freq_regul=freq_regul)
|
|
87
|
+
elif callable(coevolution_metric):
|
|
88
|
+
coevol_matrix = coevolution_metric(
|
|
89
|
+
seq_kept, seq_weights=seq_weights,
|
|
90
|
+
freq_regul=freq_regul)
|
|
91
|
+
else:
|
|
92
|
+
raise ValueError(
|
|
93
|
+
"Unknown 'coevol_metric' value. User provided"
|
|
94
|
+
f"{coevolution_metric}. Options are 'SCA', 'MI', 'NMI'")
|
|
95
|
+
|
|
96
|
+
# Compute correction on coevolution matrix
|
|
97
|
+
if correction is not None:
|
|
98
|
+
if correction == "APC":
|
|
99
|
+
_, coevol_matrix = statistics.pairwise.compute_apc(coevol_matrix)
|
|
100
|
+
elif correction == "entropy":
|
|
101
|
+
entropy_aa = statistics.position.compute_conservation(
|
|
102
|
+
seq_kept,
|
|
103
|
+
seq_weights=seq_weights)
|
|
104
|
+
coevol_matrix = statistics.pairwise.compute_entropy_correction(
|
|
105
|
+
coevol_matrix, entropy_aa)
|
|
106
|
+
else:
|
|
107
|
+
raise ValueError(
|
|
108
|
+
"Unknown 'correction' value. User provided"
|
|
109
|
+
f"{correction}. Options are 'APC', 'entropy'")
|
|
110
|
+
|
|
111
|
+
# Now, compute deconvolution
|
|
112
|
+
|
|
113
|
+
principal_components = decomposition.extract_principal_components(
|
|
114
|
+
coevol_matrix)
|
|
115
|
+
independent_components = decomposition.extract_independent_components(
|
|
116
|
+
coevol_matrix, n_components=n_components)
|
|
117
|
+
xcors = decomposition.extract_xcors_from_ICs(
|
|
118
|
+
independent_components, coevol_matrix)
|
|
119
|
+
|
|
120
|
+
# Now, map everything into a nice pandas DataFrame
|
|
121
|
+
pos_mapping, _ = msa.map_msa_positions(len(sequences[0]), pos_kept)
|
|
122
|
+
|
|
123
|
+
df = pd.DataFrame(
|
|
124
|
+
{"original_msa_pos": np.arange(len(sequences[0]), dtype=int),
|
|
125
|
+
"filtered_msa_pos": pos_mapping.values()})
|
|
126
|
+
# make filtered_msa_pos stay integer with NaN support
|
|
127
|
+
df["filtered_msa_pos"] = df["filtered_msa_pos"].astype("Int64")
|
|
128
|
+
|
|
129
|
+
# Add PCA and ICA results
|
|
130
|
+
for k in range(n_components):
|
|
131
|
+
df.loc[~df["filtered_msa_pos"].isna(),
|
|
132
|
+
"PC%d" % (k+1)] = principal_components[k]
|
|
133
|
+
df.loc[~df["filtered_msa_pos"].isna(),
|
|
134
|
+
"IC%d" % (k+1)] = independent_components[k]
|
|
135
|
+
df["xcor_%d" % (k+1)] = np.isin(
|
|
136
|
+
df["filtered_msa_pos"], xcors[k])
|
|
137
|
+
df.loc[~df["filtered_msa_pos"].isna(),
|
|
138
|
+
"xcor_%d" % (k+1)] = np.isin(
|
|
139
|
+
df.loc[~df["filtered_msa_pos"].isna(),
|
|
140
|
+
"filtered_msa_pos"], xcors[k])
|
|
141
|
+
|
|
142
|
+
coevol_matrix_ngm = decomposition.remove_global_correlations(coevol_matrix)
|
|
143
|
+
|
|
144
|
+
return coevol_matrix, coevol_matrix_ngm, df
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
from glob import glob
|
|
2
|
+
import shutil
|
|
3
|
+
import os
|
|
4
|
+
from sphinx_gallery.scrapers import figure_rst
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def png_scraper(block, block_vars, gallery_conf):
|
|
8
|
+
# Find all PNG files in the directory of this example.
|
|
9
|
+
path_current_example = os.path.dirname(block_vars['src_file'])
|
|
10
|
+
pngs = sorted(glob(os.path.join(path_current_example, '*.png')))
|
|
11
|
+
|
|
12
|
+
# Iterate through PNGs, copy them to the Sphinx-Gallery output directory
|
|
13
|
+
image_names = list()
|
|
14
|
+
image_path_iterator = block_vars['image_path_iterator']
|
|
15
|
+
seen = set()
|
|
16
|
+
for png in pngs:
|
|
17
|
+
if png not in seen:
|
|
18
|
+
seen |= set(png)
|
|
19
|
+
this_image_path = image_path_iterator.next()
|
|
20
|
+
image_names.append(this_image_path)
|
|
21
|
+
shutil.move(png, this_image_path)
|
|
22
|
+
# Use the `figure_rst` helper function to generate reST for image files
|
|
23
|
+
return figure_rst(image_names, gallery_conf['src_dir'])
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.1.0.rc0.dev2"
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import os
|
|
2
|
+
from ..io import load_MSA, load_pdb
|
|
3
|
+
import numpy as np
|
|
4
|
+
import pandas as pd
|
|
5
|
+
import gzip
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def load_S1A_serine_proteases(paper='rivoire'):
|
|
9
|
+
"""
|
|
10
|
+
Load the S1A serine protease dataset
|
|
11
|
+
|
|
12
|
+
Halabi dataset: 1470 sequences of length 832; 3 sectors identified
|
|
13
|
+
Rivoire dataset : 1390 sequences of length 832 (snake sequences were
|
|
14
|
+
removed for the paper's analysis); 6 sectors identified (including the
|
|
15
|
+
3 from Halabi et al, 2008)
|
|
16
|
+
|
|
17
|
+
Parameters
|
|
18
|
+
----------
|
|
19
|
+
paper: str, either 'halabi' or 'rivoire'
|
|
20
|
+
whether to load the dataset from Halabi et al, Cell, 2008 or from
|
|
21
|
+
Rivoire et al, PLoS Comput Biol, 2016
|
|
22
|
+
|
|
23
|
+
Returns
|
|
24
|
+
-------
|
|
25
|
+
a dictionnary containing :
|
|
26
|
+
- `sequences_ids`: a list of strings corresponding to sequence names
|
|
27
|
+
- `alignment`: a list of strings corresponding to sequences. Because it
|
|
28
|
+
is an MSA, all the strings are of same length.
|
|
29
|
+
- `metadata`: a pandas dataframe containing the metadata associated
|
|
30
|
+
with the alignment.
|
|
31
|
+
- `sector_positions`: a dictionnary of arrays containing the residue
|
|
32
|
+
positions associated to each sector, either in Halabi et al, or in
|
|
33
|
+
Rivoire et al.
|
|
34
|
+
- `pdb_sequence`: sequence extracted from rat's trypsin PDB structure
|
|
35
|
+
- `pdb_positions`: positions extracted from rat's trypsin PDB structure
|
|
36
|
+
"""
|
|
37
|
+
|
|
38
|
+
module_path = os.path.dirname(__file__)
|
|
39
|
+
|
|
40
|
+
if paper == 'halabi':
|
|
41
|
+
# Load the alignment used in Halabi et al, 2008
|
|
42
|
+
filename = os.path.join(
|
|
43
|
+
module_path,
|
|
44
|
+
"data/S1A_serine_proteases/halabi_alignment.fasta")
|
|
45
|
+
data = load_MSA(filename, format="fasta")
|
|
46
|
+
# Load the positions of the 3 sectors identified in Halabi et al, Cell,
|
|
47
|
+
# 2008
|
|
48
|
+
filename = os.path.join(
|
|
49
|
+
module_path,
|
|
50
|
+
"data/S1A_serine_proteases/halabi_sectors.npz")
|
|
51
|
+
sectors = np.load(filename)
|
|
52
|
+
# Load the metadata
|
|
53
|
+
filename = os.path.join(
|
|
54
|
+
module_path,
|
|
55
|
+
"data/S1A_serine_proteases/halabi_metadata.csv")
|
|
56
|
+
metadata = pd.read_csv(filename)
|
|
57
|
+
|
|
58
|
+
elif paper == 'rivoire':
|
|
59
|
+
# Load the alignment used in Rivoire et al, 2016
|
|
60
|
+
filename = os.path.join(
|
|
61
|
+
module_path,
|
|
62
|
+
"data/S1A_serine_proteases/rivoire_alignment.fasta")
|
|
63
|
+
data = load_MSA(filename, format="fasta")
|
|
64
|
+
# Load the positions of the 6 sectors identified in Rivoire et al, PLoS
|
|
65
|
+
# Comput Biol, 2016
|
|
66
|
+
filename = os.path.join(
|
|
67
|
+
module_path,
|
|
68
|
+
"data/S1A_serine_proteases/rivoire_sectors.npz")
|
|
69
|
+
sectors = np.load(filename)
|
|
70
|
+
# Load the metadata
|
|
71
|
+
filename = os.path.join(
|
|
72
|
+
module_path,
|
|
73
|
+
"data/S1A_serine_proteases/rivoire_metadata.csv")
|
|
74
|
+
metadata = pd.read_csv(filename)
|
|
75
|
+
|
|
76
|
+
else:
|
|
77
|
+
raise ValueError(f"invalid paper: {paper}. Options are 'halabi' or \
|
|
78
|
+
'rivoire'")
|
|
79
|
+
|
|
80
|
+
# Load the PDB structure
|
|
81
|
+
filename = os.path.join(
|
|
82
|
+
module_path,
|
|
83
|
+
"data/S1A_serine_proteases/3tgi.pdb")
|
|
84
|
+
pdb_sequence, pdb_positions = load_pdb(filename, '3TGI', 'E')
|
|
85
|
+
data["sector_positions"] = sectors
|
|
86
|
+
data["metadata"] = metadata
|
|
87
|
+
data["pdb_sequence"] = pdb_sequence,
|
|
88
|
+
data["pdb_positions"] = pdb_positions
|
|
89
|
+
|
|
90
|
+
return data
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
def load_rhomboid_proteases():
|
|
94
|
+
"""
|
|
95
|
+
Load the rhomboid protease dataset
|
|
96
|
+
|
|
97
|
+
This dataset comes from Mihaljevic & Urban, Cell, 2020
|
|
98
|
+
(DOI: https://doi.org/10.1016/j.str.2020.07.015).
|
|
99
|
+
|
|
100
|
+
Returns
|
|
101
|
+
-------
|
|
102
|
+
a dictionnary containing :
|
|
103
|
+
- `sequence_ids`: a list of strings corresponding to sequence names
|
|
104
|
+
- `alignment`: a list of strings corresponding to sequences. Because it
|
|
105
|
+
is an MSA, all the strings are of same length.
|
|
106
|
+
- `sector_positions`: a dictionnary of arrays containing the residue
|
|
107
|
+
positions associated to each sector as published in the original
|
|
108
|
+
paper.
|
|
109
|
+
- `pdb_sequence`: sequence extracted from E. coli's PDB structure
|
|
110
|
+
- `pdb_positions`: positions extracted from E. coli's PDB structure
|
|
111
|
+
|
|
112
|
+
"""
|
|
113
|
+
|
|
114
|
+
module_path = os.path.dirname(__file__)
|
|
115
|
+
filename = os.path.join(
|
|
116
|
+
module_path,
|
|
117
|
+
"data/rhomboid_proteases/Data_S1_Rhomboid_MSA_short_names.fasta")
|
|
118
|
+
data = load_MSA(filename, format="fasta")
|
|
119
|
+
|
|
120
|
+
filename = os.path.join(
|
|
121
|
+
module_path,
|
|
122
|
+
"data/rhomboid_proteases/rhomboid_sectors.npz")
|
|
123
|
+
sectors = np.load(filename)
|
|
124
|
+
|
|
125
|
+
# Load the metadata
|
|
126
|
+
filename = os.path.join(
|
|
127
|
+
module_path,
|
|
128
|
+
"data/rhomboid_proteases/rhomboid_metadata_clean.csv")
|
|
129
|
+
metadata = pd.read_csv(filename)
|
|
130
|
+
|
|
131
|
+
# Load the PDB structure
|
|
132
|
+
filename = os.path.join(
|
|
133
|
+
module_path,
|
|
134
|
+
"data/rhomboid_proteases/2NRF.pdb")
|
|
135
|
+
# Two chains: A or B
|
|
136
|
+
pdb_sequence, pdb_positions = load_pdb(filename, '2NRF', 'A')
|
|
137
|
+
|
|
138
|
+
data["sector_positions"] = sectors
|
|
139
|
+
data["metadata"] = metadata
|
|
140
|
+
data["pdb_sequence"] = pdb_sequence,
|
|
141
|
+
data["pdb_positions"] = pdb_positions
|
|
142
|
+
|
|
143
|
+
return data
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
def load_DHFR():
|
|
147
|
+
"""
|
|
148
|
+
load the DHFR dataset
|
|
149
|
+
|
|
150
|
+
This dataset comes from Kalmer et al, The Journal of Physical Chemistry B,
|
|
151
|
+
2024 (https://pubs.acs.org/doi/10.1021/acs.jpcb.4c04195)
|
|
152
|
+
|
|
153
|
+
Returns
|
|
154
|
+
-------
|
|
155
|
+
a dictionnary containing :
|
|
156
|
+
- `sequence_ids`: a list of strings corresponding to sequence names
|
|
157
|
+
- `alignment`: a list of strings corresponding to sequences. Because it
|
|
158
|
+
is an MSA, all the strings are of same length.
|
|
159
|
+
- `sector_positions`: a dictionnary of arrays containing the residue
|
|
160
|
+
positions associated to each sector as published in the original
|
|
161
|
+
paper.
|
|
162
|
+
- `pdb_sequence`: sequence extracted from E. coli's PDB structure
|
|
163
|
+
- `pdb_positions`: positions extracted from E. coli's PDB structure
|
|
164
|
+
"""
|
|
165
|
+
module_path = os.path.dirname(__file__)
|
|
166
|
+
|
|
167
|
+
filename = os.path.join(
|
|
168
|
+
module_path,
|
|
169
|
+
"data/DHFR/alignment.faa.gz")
|
|
170
|
+
with gzip.open(filename, "rt") as f:
|
|
171
|
+
data = load_MSA(f, format="fasta")
|
|
172
|
+
|
|
173
|
+
filename = os.path.join(
|
|
174
|
+
module_path,
|
|
175
|
+
"data/DHFR/DHFR_sectors.npz")
|
|
176
|
+
sectors = np.load(filename)
|
|
177
|
+
|
|
178
|
+
# Load the PDB structure
|
|
179
|
+
filename = os.path.join(
|
|
180
|
+
module_path,
|
|
181
|
+
"data/DHFR/3QL0.pdb")
|
|
182
|
+
pdb_sequence, pdb_positions = load_pdb(filename, '3QL0', 'A')
|
|
183
|
+
|
|
184
|
+
data["sector_positions"] = sectors
|
|
185
|
+
data["pdb_sequence"] = pdb_sequence,
|
|
186
|
+
data["pdb_positions"] = pdb_positions
|
|
187
|
+
|
|
188
|
+
return data
|