bella-companion 0.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of bella-companion might be problematic. Click here for more details.

Files changed (61) hide show
  1. bella_companion-0.0.0/PKG-INFO +13 -0
  2. bella_companion-0.0.0/bella_companion/__init__.py +0 -0
  3. bella_companion-0.0.0/bella_companion/cli.py +24 -0
  4. bella_companion-0.0.0/bella_companion/fbd_empirical/__pycache__/run_beast.cpython-311.pyc +0 -0
  5. bella_companion-0.0.0/bella_companion/fbd_empirical/__pycache__/run_mlp.cpython-311.pyc +0 -0
  6. bella_companion-0.0.0/bella_companion/fbd_empirical/__pycache__/run_nonparametric.cpython-311.pyc +0 -0
  7. bella_companion-0.0.0/bella_companion/fbd_empirical/__pycache__/summarize_logs.cpython-311.pyc +0 -0
  8. bella_companion-0.0.0/bella_companion/fbd_empirical/data/body_mass.csv +1378 -0
  9. bella_companion-0.0.0/bella_companion/fbd_empirical/data/change_times.csv +22 -0
  10. bella_companion-0.0.0/bella_companion/fbd_empirical/data/sampling_change_times.csv +6 -0
  11. bella_companion-0.0.0/bella_companion/fbd_empirical/data/trees.nwk +100 -0
  12. bella_companion-0.0.0/bella_companion/fbd_empirical/figure.py +37 -0
  13. bella_companion-0.0.0/bella_companion/fbd_empirical/notbooks.ipynb +359 -0
  14. bella_companion-0.0.0/bella_companion/fbd_empirical/params.json +11 -0
  15. bella_companion-0.0.0/bella_companion/fbd_empirical/run_beast.py +54 -0
  16. bella_companion-0.0.0/bella_companion/fbd_empirical/summarize_logs.py +50 -0
  17. bella_companion-0.0.0/bella_companion/simulations/__init__.py +0 -0
  18. bella_companion-0.0.0/bella_companion/simulations/__pycache__/__init__.cpython-311.pyc +0 -0
  19. bella_companion-0.0.0/bella_companion/simulations/__pycache__/features.cpython-311.pyc +0 -0
  20. bella_companion-0.0.0/bella_companion/simulations/__pycache__/generate_data.cpython-311.pyc +0 -0
  21. bella_companion-0.0.0/bella_companion/simulations/__pycache__/run_beast.cpython-311.pyc +0 -0
  22. bella_companion-0.0.0/bella_companion/simulations/__pycache__/summarize_logs.cpython-311.pyc +0 -0
  23. bella_companion-0.0.0/bella_companion/simulations/features.py +7 -0
  24. bella_companion-0.0.0/bella_companion/simulations/figures/__init__.py +0 -0
  25. bella_companion-0.0.0/bella_companion/simulations/figures/__pycache__/__init__.cpython-311.pyc +0 -0
  26. bella_companion-0.0.0/bella_companion/simulations/figures/__pycache__/epi_explainations.cpython-311.pyc +0 -0
  27. bella_companion-0.0.0/bella_companion/simulations/figures/__pycache__/epi_predictions.cpython-311.pyc +0 -0
  28. bella_companion-0.0.0/bella_companion/simulations/figures/__pycache__/epi_simulations.cpython-311.pyc +0 -0
  29. bella_companion-0.0.0/bella_companion/simulations/figures/__pycache__/fbd_explainations.cpython-311.pyc +0 -0
  30. bella_companion-0.0.0/bella_companion/simulations/figures/__pycache__/fbd_predictions.cpython-311.pyc +0 -0
  31. bella_companion-0.0.0/bella_companion/simulations/figures/__pycache__/fbd_simulations.cpython-311.pyc +0 -0
  32. bella_companion-0.0.0/bella_companion/simulations/figures/__pycache__/figure1.cpython-311.pyc +0 -0
  33. bella_companion-0.0.0/bella_companion/simulations/figures/__pycache__/plot.cpython-311.pyc +0 -0
  34. bella_companion-0.0.0/bella_companion/simulations/figures/__pycache__/scenarios.cpython-311.pyc +0 -0
  35. bella_companion-0.0.0/bella_companion/simulations/figures/__pycache__/utils.cpython-311.pyc +0 -0
  36. bella_companion-0.0.0/bella_companion/simulations/figures/epi_explainations.py +101 -0
  37. bella_companion-0.0.0/bella_companion/simulations/figures/epi_predictions.py +58 -0
  38. bella_companion-0.0.0/bella_companion/simulations/figures/fbd_explainations.py +99 -0
  39. bella_companion-0.0.0/bella_companion/simulations/figures/fbd_predictions.py +66 -0
  40. bella_companion-0.0.0/bella_companion/simulations/figures/scenarios.py +87 -0
  41. bella_companion-0.0.0/bella_companion/simulations/figures/utils.py +250 -0
  42. bella_companion-0.0.0/bella_companion/simulations/generate_data.py +25 -0
  43. bella_companion-0.0.0/bella_companion/simulations/run_beast.py +92 -0
  44. bella_companion-0.0.0/bella_companion/simulations/scenarios/__init__.py +20 -0
  45. bella_companion-0.0.0/bella_companion/simulations/scenarios/__pycache__/__init__.cpython-311.pyc +0 -0
  46. bella_companion-0.0.0/bella_companion/simulations/scenarios/__pycache__/common.cpython-311.pyc +0 -0
  47. bella_companion-0.0.0/bella_companion/simulations/scenarios/__pycache__/epi_multitype.cpython-311.pyc +0 -0
  48. bella_companion-0.0.0/bella_companion/simulations/scenarios/__pycache__/epi_skyline.cpython-311.pyc +0 -0
  49. bella_companion-0.0.0/bella_companion/simulations/scenarios/__pycache__/fbd_2traits.cpython-311.pyc +0 -0
  50. bella_companion-0.0.0/bella_companion/simulations/scenarios/__pycache__/fbd_no_traits.cpython-311.pyc +0 -0
  51. bella_companion-0.0.0/bella_companion/simulations/scenarios/__pycache__/scenario.cpython-311.pyc +0 -0
  52. bella_companion-0.0.0/bella_companion/simulations/scenarios/__pycache__/utils.cpython-311.pyc +0 -0
  53. bella_companion-0.0.0/bella_companion/simulations/scenarios/common.py +29 -0
  54. bella_companion-0.0.0/bella_companion/simulations/scenarios/epi_multitype.py +68 -0
  55. bella_companion-0.0.0/bella_companion/simulations/scenarios/epi_skyline.py +65 -0
  56. bella_companion-0.0.0/bella_companion/simulations/scenarios/fbd_2traits.py +101 -0
  57. bella_companion-0.0.0/bella_companion/simulations/scenarios/fbd_no_traits.py +71 -0
  58. bella_companion-0.0.0/bella_companion/simulations/scenarios/scenario.py +26 -0
  59. bella_companion-0.0.0/bella_companion/simulations/summarize_logs.py +39 -0
  60. bella_companion-0.0.0/bella_companion/utils.py +164 -0
  61. bella_companion-0.0.0/pyproject.toml +18 -0
@@ -0,0 +1,13 @@
1
+ Metadata-Version: 2.1
2
+ Name: bella-companion
3
+ Version: 0.0.0
4
+ Summary:
5
+ Author: gabriele-marino
6
+ Author-email: gabmarino.8601@gmail.com
7
+ Requires-Python: >=3.10,<4.0
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.10
10
+ Classifier: Programming Language :: Python :: 3.11
11
+ Classifier: Programming Language :: Python :: 3.12
12
+ Requires-Dist: dotenv (>=0.9.9,<0.10.0)
13
+ Requires-Dist: phylogenie (>=2.1.21,<3.0.0)
File without changes
@@ -0,0 +1,24 @@
1
+ import argparse
2
+
3
+ from dotenv import load_dotenv
4
+
5
+
6
+ def main():
7
+ load_dotenv()
8
+
9
+ parser = argparse.ArgumentParser(prog="bella")
10
+ subparsers = parser.add_subparsers(dest="command")
11
+
12
+ gen_sim_data_parser = subparsers.add_parser("generate-simulations-data")
13
+ generate_simulations_data_parser.set_defaults(func=generate_simulations_data)
14
+
15
+ args = parser.parse_args()
16
+ if hasattr(args, "func"):
17
+ args.func(args)
18
+ else:
19
+ parser.print_help()
20
+
21
+
22
+ def generate_simulations_data(args):
23
+ print("Generating simulations data...")
24
+ # your logic here