torchcell 0.2.7__tar.gz → 0.2.8__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. {torchcell-0.2.7 → torchcell-0.2.8}/PKG-INFO +8 -6
  2. {torchcell-0.2.7 → torchcell-0.2.8}/README.md +1 -1
  3. torchcell-0.2.8/env/requirements.txt +112 -0
  4. {torchcell-0.2.7 → torchcell-0.2.8}/pyproject.toml +2 -2
  5. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/__version__.py +1 -1
  6. torchcell-0.2.8/torchcell/adapters/__init__.py +68 -0
  7. torchcell-0.2.8/torchcell/adapters/cell_adapter.py +1095 -0
  8. torchcell-0.2.8/torchcell/adapters/conf/dmf_costanzo2016_adapter.yaml +45 -0
  9. torchcell-0.2.8/torchcell/adapters/conf/dmf_kuzmin2018_adapter.yaml +36 -0
  10. torchcell-0.2.8/torchcell/adapters/conf/dmf_kuzmin2020_adapter.yaml +36 -0
  11. torchcell-0.2.8/torchcell/adapters/conf/dmi_costanzo2016_adapter.yaml +45 -0
  12. torchcell-0.2.8/torchcell/adapters/conf/dmi_kuzmin2018_adapter.yaml +36 -0
  13. torchcell-0.2.8/torchcell/adapters/conf/dmi_kuzmin2020_adapter.yaml +36 -0
  14. torchcell-0.2.8/torchcell/adapters/conf/gene_essentiality_sgd_adapter.yaml +35 -0
  15. torchcell-0.2.8/torchcell/adapters/conf/smf_costanzo2016_adapter.yaml +35 -0
  16. torchcell-0.2.8/torchcell/adapters/conf/smf_kuzmin2018_adapter.yaml +36 -0
  17. torchcell-0.2.8/torchcell/adapters/conf/smf_kuzmin2020_adapter.yaml +36 -0
  18. torchcell-0.2.8/torchcell/adapters/conf/synth_lethality_yeast_synth_leth_db_adapter.yaml +36 -0
  19. torchcell-0.2.8/torchcell/adapters/conf/synth_rescue_yeast_synth_leth_db_adapter.yaml +35 -0
  20. torchcell-0.2.8/torchcell/adapters/conf/tmf_kuzmin2018_adapter.yaml +35 -0
  21. torchcell-0.2.8/torchcell/adapters/conf/tmf_kuzmin2020_adapter.yaml +35 -0
  22. torchcell-0.2.8/torchcell/adapters/conf/tmi_kuzmin2018_adapter.yaml +36 -0
  23. torchcell-0.2.8/torchcell/adapters/conf/tmi_kuzmin2020_adapter.yaml +35 -0
  24. torchcell-0.2.8/torchcell/adapters/costanzo2016_adapter.py +229 -0
  25. torchcell-0.2.8/torchcell/adapters/kuzmin2018_adapter.py +335 -0
  26. torchcell-0.2.8/torchcell/adapters/kuzmin2020_adapter.py +335 -0
  27. torchcell-0.2.8/torchcell/adapters/sgd_adapter.py +108 -0
  28. torchcell-0.2.8/torchcell/adapters/synth_leth_db_adapter.py +169 -0
  29. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/data/__init__.py +2 -2
  30. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/data/data.py +2 -9
  31. {torchcell-0.2.7/torchcell/datasets → torchcell-0.2.8/torchcell/data}/embedding.py +6 -7
  32. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/data/experiment_dataset.py +20 -42
  33. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/data/neo4j_cell.py +218 -96
  34. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/data/neo4j_query_raw.py +77 -27
  35. torchcell-0.2.8/torchcell/database/biocypher_out_combine.py +321 -0
  36. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/database/directory_setup.py +4 -1
  37. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/dataloading_lmdb.py +1 -1
  38. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datamodels/__init__.py +28 -7
  39. torchcell-0.2.8/torchcell/datamodels/schema.py +594 -0
  40. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datamodules/cell.py +61 -31
  41. torchcell-0.2.8/torchcell/datasets/__init__.py +103 -0
  42. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/add_datasets_check.py +1 -1
  43. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/base_cell.py +2 -2
  44. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/cell.py +2 -2
  45. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/codon_frequency.py +2 -2
  46. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/codon_language_model.py +2 -2
  47. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/dataset_registry.py +1 -0
  48. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/dcell.py +2 -2
  49. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/esm2.py +2 -2
  50. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/fungal_up_down_transformer.py +2 -2
  51. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/go.py +1 -1
  52. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/nucleotide_transformer.py +2 -2
  53. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/one_hot_gene.py +2 -2
  54. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/ontology.py +4 -4
  55. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/protT5.py +2 -2
  56. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/random_embedding.py +4 -2
  57. torchcell-0.2.8/torchcell/datasets/scerevisiae/__init__.py +19 -0
  58. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/scerevisiae/baryshnikovna2010.py +1 -1
  59. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/scerevisiae/costanzo2016.py +443 -122
  60. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/scerevisiae/costanzo2016_deprecated.py +5 -5
  61. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/scerevisiae/kuzmin2018.py +524 -91
  62. torchcell-0.2.8/torchcell/datasets/scerevisiae/kuzmin2020.py +1108 -0
  63. torchcell-0.2.8/torchcell/datasets/scerevisiae/mechanisitc_aware.py +26 -0
  64. torchcell-0.2.8/torchcell/datasets/scerevisiae/oduibhir2014.py +39 -0
  65. torchcell-0.2.8/torchcell/datasets/scerevisiae/sgd.py +262 -0
  66. torchcell-0.2.8/torchcell/datasets/scerevisiae/synth_leth_db.py +404 -0
  67. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/scerevisiae/tutorial_joining_nucleotide_embeddings.py +2 -2
  68. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/sgd_gene_graph.py +2 -2
  69. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/sgd_gene_graph_hot.py +2 -2
  70. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/graph/graph.py +75 -20
  71. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/graph/sgd.py +3 -3
  72. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/graph/uniprot_api_ec.py +1 -1
  73. torchcell-0.2.8/torchcell/knowledge_graphs/__init__.py +8 -0
  74. torchcell-0.2.8/torchcell/knowledge_graphs/conf/dmf_costanzo2016_kg.yaml +24 -0
  75. torchcell-0.2.8/torchcell/knowledge_graphs/conf/dmf_kuzmin2018_kg.yaml +22 -0
  76. torchcell-0.2.8/torchcell/knowledge_graphs/conf/dmf_kuzmin2020_kg.yaml +22 -0
  77. torchcell-0.2.8/torchcell/knowledge_graphs/conf/dmi_costanzo2016_kg.yaml +24 -0
  78. torchcell-0.2.8/torchcell/knowledge_graphs/conf/dmi_kuzmin2018_kg.yaml +22 -0
  79. torchcell-0.2.8/torchcell/knowledge_graphs/conf/dmi_kuzmin2020_kg.yaml +22 -0
  80. torchcell-0.2.8/torchcell/knowledge_graphs/conf/gene_essentiality_sgd.yaml +22 -0
  81. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/knowledge_graphs/conf/kg.yaml +4 -3
  82. torchcell-0.2.8/torchcell/knowledge_graphs/conf/scerevisiae_global_kg.yaml +81 -0
  83. torchcell-0.2.8/torchcell/knowledge_graphs/conf/scerevisiae_small_global_kg.yaml +79 -0
  84. torchcell-0.2.8/torchcell/knowledge_graphs/conf/smf_costanzo2016_kg.yaml +23 -0
  85. torchcell-0.2.8/torchcell/knowledge_graphs/conf/smf_kuzmin2018_kg.yaml +22 -0
  86. torchcell-0.2.8/torchcell/knowledge_graphs/conf/smf_kuzmin2020_kg.yaml +22 -0
  87. torchcell-0.2.8/torchcell/knowledge_graphs/conf/synth_lethality_yeast_synth_leth_db.yaml +23 -0
  88. torchcell-0.2.8/torchcell/knowledge_graphs/conf/synth_rescue_yeast_synth_leth_db.yaml +22 -0
  89. torchcell-0.2.8/torchcell/knowledge_graphs/conf/tmf_kuzmin2018_kg.yaml +22 -0
  90. torchcell-0.2.8/torchcell/knowledge_graphs/conf/tmf_kuzmin2020_kg.yaml +23 -0
  91. torchcell-0.2.8/torchcell/knowledge_graphs/conf/tmi_kuzmin2018_kg.yaml +22 -0
  92. torchcell-0.2.8/torchcell/knowledge_graphs/conf/tmi_kuzmin2020_kg.yaml +23 -0
  93. torchcell-0.2.8/torchcell/knowledge_graphs/create_kg.py +191 -0
  94. torchcell-0.2.8/torchcell/knowledge_graphs/dataset_adapter_map.py +62 -0
  95. torchcell-0.2.8/torchcell/knowledge_graphs/gene_interactions_scerevisae_kg.py +188 -0
  96. torchcell-0.2.8/torchcell/knowledge_graphs/gene_interactions_scerevisae_kg_small.py +198 -0
  97. torchcell-0.2.7/torchcell/knowledge_graphs/minimal_kg.py → torchcell-0.2.8/torchcell/knowledge_graphs/smf_kg.py +32 -45
  98. torchcell-0.2.8/torchcell/knowledge_graphs/smf_tmi_combine_kg.py +183 -0
  99. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/loader/__init__.py +5 -1
  100. torchcell-0.2.8/torchcell/loader/cpu_experiment_loader.py +306 -0
  101. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/dcell.py +31 -15
  102. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/species_aware_lm.py +1 -1
  103. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/neo4j_example.py +2 -2
  104. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/pypy_adapters/costanzo2016_pypy_adapter.py +60 -60
  105. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/pypy_adapters/kuzmin2018_pypy_adapter.py +90 -90
  106. torchcell-0.2.8/torchcell/scratch/cpu_performance_benchmark.py +49 -0
  107. torchcell-0.2.8/torchcell/scratch/neo4j_query_speed.py +38 -0
  108. torchcell-0.2.8/torchcell/scratch/neo4j_utils_query_speed.py +52 -0
  109. torchcell-0.2.8/torchcell/scratch/rustworkx_comparison.py +102 -0
  110. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/sequence/data.py +1 -1
  111. torchcell-0.2.8/torchcell/sequence/genome/scerevisiae/__init__.py +3 -0
  112. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/sequence/genome/scerevisiae/s288c.py +9 -9
  113. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/sequence/genome/scerevisiae/s288c_gb.py +6 -6
  114. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/sequence/genome/scerevisiae/s288c_ncbi.py +9 -9
  115. torchcell-0.2.8/torchcell/viz/__init__.py +0 -0
  116. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/viz/genetic_interaction_score.py +5 -1
  117. torchcell-0.2.8/torchcell/yeastmine/__init__.py +0 -0
  118. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell.egg-info/PKG-INFO +8 -6
  119. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell.egg-info/SOURCES.txt +59 -4
  120. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell.egg-info/requires.txt +6 -4
  121. torchcell-0.2.7/env/requirements.txt +0 -106
  122. torchcell-0.2.7/torchcell/adapters/__init__.py +0 -22
  123. torchcell-0.2.7/torchcell/adapters/cell_adapter.py +0 -721
  124. torchcell-0.2.7/torchcell/adapters/costanzo2016_adapter.py +0 -351
  125. torchcell-0.2.7/torchcell/adapters/costanzo2016_async_adapter.py +0 -1563
  126. torchcell-0.2.7/torchcell/adapters/kuzmin2018_adapter.py +0 -139
  127. torchcell-0.2.7/torchcell/datamodels/schema.py +0 -305
  128. torchcell-0.2.7/torchcell/datasets/__init__.py +0 -40
  129. torchcell-0.2.7/torchcell/datasets/scerevisiae/__init__.py +0 -19
  130. torchcell-0.2.7/torchcell/knowledge_graphs/__init__.py +0 -5
  131. torchcell-0.2.7/torchcell/knowledge_graphs/conf/kg_small.yaml +0 -16
  132. torchcell-0.2.7/torchcell/loader/cpu_experiment_loader.py +0 -148
  133. torchcell-0.2.7/torchcell/sequence/genome/scerevisiae/__init__.py +0 -3
  134. {torchcell-0.2.7 → torchcell-0.2.8}/MANIFEST.in +0 -0
  135. {torchcell-0.2.7 → torchcell-0.2.8}/env/requirements_dependent.txt +0 -0
  136. {torchcell-0.2.7 → torchcell-0.2.8}/setup.cfg +0 -0
  137. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/__init__.py +0 -0
  138. {torchcell-0.2.7/torchcell/dataset_preprocess → torchcell-0.2.8/torchcell/adapters/conf}/__init__.py +0 -0
  139. /torchcell-0.2.7/torchcell/cell.py → /torchcell-0.2.8/torchcell/adapters/conf/default.yaml +0 -0
  140. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/cell/__init__.py +0 -0
  141. /torchcell-0.2.7/torchcell/go/__init__.py → /torchcell-0.2.8/torchcell/cell.py +0 -0
  142. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/config.py +0 -0
  143. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/data_download_yeastmine.py +0 -0
  144. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/database/__init__.py +0 -0
  145. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/database/build_command.py +0 -0
  146. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/database/tcdb.py +0 -0
  147. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datamodels/pydant.py +0 -0
  148. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datamodules/__init__.py +0 -0
  149. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datamodules/dcell.py +0 -0
  150. {torchcell-0.2.7/torchcell/graph/validation → torchcell-0.2.8/torchcell/dataset_preprocess}/__init__.py +0 -0
  151. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/dataset_readers/__init__.py +0 -0
  152. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/dataset_readers/reader.py +0 -0
  153. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/cell_scratch.py +0 -0
  154. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/dummy.py +0 -0
  155. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/experiment.py +0 -0
  156. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/genome.py +0 -0
  157. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/pronto_ontology.py +0 -0
  158. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/datasets/scerevisiae/fitness_yeast9.py +0 -0
  159. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/delete_subset.py +0 -0
  160. {torchcell-0.2.7/torchcell/graph/validation/locus_related → torchcell-0.2.8/torchcell/go}/__init__.py +0 -0
  161. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/go/check_deprecated.py +0 -0
  162. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/graph/__init__.py +0 -0
  163. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/graph/metabolism.py +0 -0
  164. {torchcell-0.2.7/torchcell/knowledge_graphs/conf → torchcell-0.2.8/torchcell/graph/validation}/__init__.py +0 -0
  165. {torchcell-0.2.7/torchcell/ontology → torchcell-0.2.8/torchcell/graph/validation/locus_related}/__init__.py +0 -0
  166. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/graph/validation/locus_related/locus.py +0 -0
  167. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/graph/validation/raw_structure.py +0 -0
  168. {torchcell-0.2.7/torchcell/sequence/genome → torchcell-0.2.8/torchcell/knowledge_graphs/conf}/__init__.py +0 -0
  169. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/knowledge_graphs/conf/default.yaml +0 -0
  170. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/knowledge_graphs/create_pypy_scerevisiae_kg.py +0 -0
  171. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/knowledge_graphs/create_scerevisiae_kg.py +0 -0
  172. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/knowledge_graphs/create_scerevisiae_kg_small.py +0 -0
  173. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/losses/SupCr.py +0 -0
  174. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/losses/__init__.py +0 -0
  175. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/losses/dcell.py +0 -0
  176. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/losses/list_mle.py +0 -0
  177. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/losses/weighted_mse.py +0 -0
  178. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/__init__.py +0 -0
  179. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/act.py +0 -0
  180. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/constants.py +0 -0
  181. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/deep_set.py +0 -0
  182. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/esm2.py +0 -0
  183. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/fungal_up_down_transformer.py +0 -0
  184. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/graph_attention.py +0 -0
  185. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/graph_convolution.py +0 -0
  186. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/linear.py +0 -0
  187. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/llm.py +0 -0
  188. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/mlp.py +0 -0
  189. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/nucleotide_transformer.py +0 -0
  190. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/protT5.py +0 -0
  191. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/self_attention_deep_set.py +0 -0
  192. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/models/self_attention_sag.py +0 -0
  193. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/mypy_check.py +0 -0
  194. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/ncbi/__init__.py +0 -0
  195. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/ncbi/ncbi.py +0 -0
  196. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/ncbi/sequence.py +0 -0
  197. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/ncbi/sequence_scratch.py +0 -0
  198. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/ncbi.py +0 -0
  199. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/neo4j_fitness_lmdb.py +0 -0
  200. {torchcell-0.2.7/torchcell/viz → torchcell-0.2.8/torchcell/ontology}/__init__.py +0 -0
  201. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/ontology/tc_ontology.py +0 -0
  202. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/prof.py +0 -0
  203. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/py.typed +0 -0
  204. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/pypy_adapters/__init__.py +0 -0
  205. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/sc_graph.py +0 -0
  206. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/scratch/delete.py +0 -0
  207. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/scratch/delete_0.py +0 -0
  208. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/scratch/delete_00.py +0 -0
  209. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/scratch/delete_1.py +0 -0
  210. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/sequence/__init__.py +0 -0
  211. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/sequence/data_scratch.py +0 -0
  212. {torchcell-0.2.7/torchcell/yeastmine → torchcell-0.2.8/torchcell/sequence/genome}/__init__.py +0 -0
  213. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/sequence/sequence_plot.py +0 -0
  214. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/sequence/sequence_scratch.py +0 -0
  215. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/torchcell.mplstyle +0 -0
  216. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/trainers/__init__.py +0 -0
  217. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/trainers/cell.py +0 -0
  218. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/trainers/dcell_regression.py +0 -0
  219. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/trainers/dcell_regression_slim.py +0 -0
  220. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/trainers/graph_convolution_regression.py +0 -0
  221. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/trainers/neo_regression.py +0 -0
  222. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/trainers/regression.py +0 -0
  223. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/trainers/regression_deep_set_transformer.py +0 -0
  224. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/trainers/simple_linear_regression.py +0 -0
  225. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/trainers/utils.py +0 -0
  226. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/utils.py +0 -0
  227. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/viz/fitness.py +0 -0
  228. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/yeastmine/graphs.py +0 -0
  229. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell/yeastmine/yeastmine.py +0 -0
  230. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell.egg-info/dependency_links.txt +0 -0
  231. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell.egg-info/entry_points.txt +0 -0
  232. {torchcell-0.2.7 → torchcell-0.2.8}/torchcell.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: torchcell
3
- Version: 0.2.7
3
+ Version: 0.2.8
4
4
  Summary: An example package
5
5
  Author-email: Michael Volk <michaeljvolk7@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/Mjvolk3/Dendron-Template
@@ -20,11 +20,12 @@ Requires-Dist: scipy>=1.11.4
20
20
  Requires-Dist: networkx>=3.2.1
21
21
  Requires-Dist: umap-learn>=0.5.3
22
22
  Requires-Dist: hydra-core>=1.3.2
23
- Requires-Dist: torch>=2.1.0
23
+ Requires-Dist: deepdiff>=7.0.1
24
+ Requires-Dist: torch>=2.4.0
24
25
  Requires-Dist: torch_geometric>=2.4.0
25
26
  Requires-Dist: torchmetrics>=1.2.1
26
27
  Requires-Dist: lightning>=2.1.2
27
- Requires-Dist: wandb>=0.16.6
28
+ Requires-Dist: wandb>=0.17.5
28
29
  Requires-Dist: wandb_osh>=1.2.2
29
30
  Requires-Dist: matplotlib>=3.7.2
30
31
  Requires-Dist: adjustText>=0.8
@@ -38,12 +39,13 @@ Requires-Dist: biopython>=1.81
38
39
  Requires-Dist: goatools>=1.3.1
39
40
  Requires-Dist: intermine>=1.13.0
40
41
  Requires-Dist: gffutils>=0.12
42
+ Requires-Dist: GEOparse>=2.0.4
41
43
  Requires-Dist: pandas-stubs>=2.0.3.230814
42
44
  Requires-Dist: types-tqdm>=4.65.0.2
43
45
  Requires-Dist: types-requests>=2.31.0.2
44
46
  Requires-Dist: sortedcontainers>=2.4.0
45
47
  Requires-Dist: attrs>=23.1.0
46
- Requires-Dist: pydantic>=2.5.2
48
+ Requires-Dist: pydantic>=2.8.2
47
49
  Requires-Dist: h5py>=3.9.0
48
50
  Requires-Dist: lmdb>=1.4.1
49
51
  Requires-Dist: aiohttp>=3.8.5
@@ -57,7 +59,7 @@ Requires-Dist: pip-tools>=7.1.0
57
59
  Requires-Dist: snakeviz>=2.2.0
58
60
  Requires-Dist: twine>=4.0.2
59
61
  Requires-Dist: memory-profiler>=0.61.0
60
- Requires-Dist: neo4j>=4.4.11
62
+ Requires-Dist: neo4j<5.0,>=4.4.11
61
63
  Requires-Dist: cliff>=4.5.0
62
64
  Provides-Extra: dev
63
65
  Requires-Dist: black; extra == "dev"
@@ -75,4 +77,4 @@ Packaging: Add packing <!-- ![Python application](https://github.com/mjvolk3/tor
75
77
 
76
78
  Testing: ![Code Styling](https://github.com/mjvolk3/torchcell/workflows/Code%20Styling/badge.svg) [![codecov](https://codecov.io/gh/mjvolk3/torchcell/branch/main/graph/badge.svg)](https://codecov.io/gh/mjvolk3/torchcell)
77
79
 
78
- Docs to come soon!!
80
+ Docs to come soon!!!
@@ -8,4 +8,4 @@ Packaging: Add packing <!-- ![Python application](https://github.com/mjvolk3/tor
8
8
 
9
9
  Testing: ![Code Styling](https://github.com/mjvolk3/torchcell/workflows/Code%20Styling/badge.svg) [![codecov](https://codecov.io/gh/mjvolk3/torchcell/branch/main/graph/badge.svg)](https://codecov.io/gh/mjvolk3/torchcell)
10
10
 
11
- Docs to come soon!!
11
+ Docs to come soon!!!
@@ -0,0 +1,112 @@
1
+ # env/requirements.txt
2
+ # scientific computing stack
3
+ # We pin numpy because transformers lib cannot yet use 2.0
4
+ numpy==1.26.0
5
+ pandas>=2.1.1
6
+ pyarrow>=15.0.0
7
+
8
+ #polars
9
+ openpyxl>=3.1.2
10
+ # xlrd with pandas
11
+ xlrd>= 2.0.1
12
+ # pyreader use with RDS
13
+ pyreadr>=0.4.9
14
+ scipy>=1.11.4
15
+ networkx>=3.2.1
16
+ #dask
17
+ umap-learn>=0.5.3
18
+
19
+ # configuration
20
+ hydra-core>=1.3.2
21
+ deepdiff>=7.0.1
22
+
23
+ # torch stack
24
+ torch>=2.4.0
25
+ torch_geometric>=2.4.0
26
+ torchmetrics>=1.2.1
27
+ lightning>=2.1.2
28
+ # torch-scatter>=2.1.2
29
+
30
+ # visualization stack and logging
31
+ wandb>=0.17.5
32
+ wandb_osh>=1.2.2
33
+ matplotlib>=3.7.2
34
+ # adjustTest used with with matplotlib
35
+ adjustText>=0.8
36
+ #pydot Don't think I am using this... outdate
37
+ pydot>=1.4.2
38
+ # pygraphviz don't think I am using this
39
+ # graphviz don't think I am using this.
40
+ # graphviz
41
+ plotly>=5.18.0
42
+ seaborn>=0.12.2
43
+
44
+ # ML stack
45
+ scikit-learn>=1.2.2
46
+
47
+ # Transformer / Huggingface Stack
48
+ transformers>=4.31.0
49
+ ## used with protT5 model
50
+ sentencepiece>=0.1.99
51
+
52
+ # Bio stack
53
+ biopython>=1.81
54
+ goatools>=1.3.1
55
+ intermine>=1.13.0
56
+ gffutils>=0.12
57
+ GEOparse>=2.0.4
58
+
59
+ # stubs and types
60
+ pandas-stubs>=2.0.3.230814
61
+ types-tqdm>=4.65.0.2
62
+ types-requests>= 2.31.0.2
63
+
64
+ # data stack
65
+ sortedcontainers>=2.4.0
66
+ attrs>=23.1.0
67
+ pydantic>=2.8.2
68
+ h5py>=3.9.0
69
+ # R is needed for installation. This creates issues.
70
+ #rpy2>=3.5.16 # needed for mechanistic aware. can probably get rid of.
71
+
72
+
73
+ # database stack
74
+ lmdb>=1.4.1
75
+
76
+
77
+ # web stack
78
+ aiohttp>=3.8.5
79
+
80
+ # ontology stack
81
+ pronto>=2.5.4
82
+ nxontology>=0.5.0
83
+ owlready2>=0.45
84
+
85
+
86
+ # Workspace
87
+ python-dotenv>=1.0.0
88
+
89
+ # dev-tools
90
+ python-semantic-release>=9.0.3
91
+ pre-commit>=3.3.3
92
+ # ptpython>=3.0.23
93
+ pip-tools>=7.1.0
94
+ snakeviz>=2.2.0
95
+ twine>=4.0.2
96
+ memory-profiler>=0.61.0
97
+
98
+ # biocypher
99
+ # Swith to biocypher after path change is implemented
100
+ # biocypher>=0.5.35
101
+ # Not allowed in Pypi
102
+ # biocypher@git+https://github.com/Mjvolk3/biocypher@main
103
+
104
+ # neo4j
105
+ neo4j>=4.4.11,<5.0
106
+
107
+ # command line
108
+ cliff>=4.5.0
109
+
110
+ # twine cannot handle these
111
+ # Not allowed in Pypi
112
+ # CaLM@git+https://github.com/oxpig/CaLM@main
@@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
 
7
7
  [project]
8
8
  name = "torchcell"
9
- version = "0.2.7"
9
+ version = "0.2.8"
10
10
  description = "An example package"
11
11
  readme = "README.md"
12
12
  authors = [{ name = "Michael Volk", email = "michaeljvolk7@gmail.com" }]
@@ -87,7 +87,7 @@ dependencies = { file = ["env/requirements.txt"] }
87
87
  version = { attr = "torchcell.__version__" }
88
88
 
89
89
  [tool.setuptools.package-data]
90
- torchcell = ["py.typed", "knowledge_graphs/conf/*.yaml"]
90
+ torchcell = ["py.typed", "knowledge_graphs/conf/*.yaml", "adapters/conf/*.yaml"]
91
91
 
92
92
  [tool.setuptools.packages.find]
93
93
  include = ["torchcell*"]
@@ -3,4 +3,4 @@
3
3
  # https://github.com/Mjvolk3/torchcell/tree/main/torchcell/__version__.py
4
4
  # Test file: tests/torchcell/test___version__.py
5
5
 
6
- __version__ = "0.2.7" # Linked to semantic-release in toml
6
+ __version__ = "0.2.8" # Linked to semantic-release in toml
@@ -0,0 +1,68 @@
1
+ from .cell_adapter import CellAdapter
2
+ from .costanzo2016_adapter import (
3
+ SmfCostanzo2016Adapter,
4
+ DmfCostanzo2016Adapter,
5
+ DmiCostanzo2016Adapter,
6
+ )
7
+ from .kuzmin2018_adapter import (
8
+ SmfKuzmin2018Adapter,
9
+ DmfKuzmin2018Adapter,
10
+ TmfKuzmin2018Adapter,
11
+ DmiKuzmin2018Adapter,
12
+ TmiKuzmin2018Adapter,
13
+ )
14
+ from .kuzmin2020_adapter import (
15
+ SmfKuzmin2020Adapter,
16
+ DmfKuzmin2020Adapter,
17
+ TmfKuzmin2020Adapter,
18
+ DmiKuzmin2020Adapter,
19
+ TmiKuzmin2020Adapter,
20
+ )
21
+
22
+ from .sgd_adapter import GeneEssentialitySgdAdapter
23
+
24
+ from .synth_leth_db_adapter import (
25
+ SynthLethalityYeastSynthLethDbAdapter,
26
+ SynthRescueYeastSynthLethDbAdapter,
27
+ )
28
+
29
+ cell_adapters = ["CellAdapter"]
30
+
31
+ costanzo2016_adapters = [
32
+ "SmfCostanzo2016Adapter",
33
+ "DmfCostanzo2016Adapter",
34
+ "DmiCostanzo2016Adapter",
35
+ ]
36
+
37
+ kuzmin2018_adapters = [
38
+ "SmfKuzmin2018Adapter",
39
+ "DmfKuzmin2018Adapter",
40
+ "TmfKuzmin2018Adapter",
41
+ "DmiKuzmin2018Adapter",
42
+ "TmiKuzmin2018Adapter",
43
+ ]
44
+
45
+ kuzmin2020_adapters = [
46
+ "SmfKuzmin2020Adapter",
47
+ "DmfKuzmin2020Adapter",
48
+ "TmfKuzmin2020Adapter",
49
+ "DmiKuzmin2020Adapter",
50
+ "TmiKuzmin2020Adapter",
51
+ ]
52
+
53
+ gene_essentiality_adapters = ["GeneEssentialitySgdAdapter"]
54
+
55
+ synth_leth_db_adapters = [
56
+ "SynthLethalityYeastSynthLethDbAdapter",
57
+ "SynthRescueYeastSynthLethDbAdapter",
58
+ ]
59
+
60
+
61
+ __all__ = (
62
+ cell_adapters
63
+ + costanzo2016_adapters
64
+ + kuzmin2018_adapters
65
+ + kuzmin2020_adapters
66
+ + gene_essentiality_adapters
67
+ + synth_leth_db_adapters
68
+ )