TreeSAK 1.34.6__tar.gz → 1.34.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 (98) hide show
  1. {TreeSAK-1.34.6/TreeSAK.egg-info → TreeSAK-1.34.8}/PKG-INFO +2 -2
  2. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/PB.py +17 -12
  3. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/VERSION +1 -1
  4. {TreeSAK-1.34.6 → TreeSAK-1.34.8/TreeSAK.egg-info}/PKG-INFO +2 -2
  5. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/bin/TreeSAK +7 -7
  6. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/LICENSE +0 -0
  7. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/MANIFEST.in +0 -0
  8. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/README.md +0 -0
  9. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE.py +0 -0
  10. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE1.py +0 -0
  11. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE2.py +0 -0
  12. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE2RTC.py +0 -0
  13. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE3.py +0 -0
  14. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE4.py +0 -0
  15. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE5.py +0 -0
  16. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE6.py +0 -0
  17. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ALE_backup.py +0 -0
  18. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/AlignmentPruner.py +0 -0
  19. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/AssessCVG.py +0 -0
  20. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/AssessMarker.py +0 -0
  21. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
  22. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/AssessMarkerPA.py +0 -0
  23. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/BMGE.jar +0 -0
  24. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/BMGE.py +0 -0
  25. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/CompareMCMC.py +0 -0
  26. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ConcateMSA.py +0 -0
  27. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ConvertMSA.py +0 -0
  28. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/Dir.rb +0 -0
  29. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ExtractMarkerSeq.py +0 -0
  30. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/FastRoot.py +0 -0
  31. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/FastRoot_backup.py +0 -0
  32. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/GTDB_tree.py +0 -0
  33. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/KEGG_Luo17.py +0 -0
  34. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/LcaToLeaves.py +0 -0
  35. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/MCMCtreeR.py +0 -0
  36. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/MarkerRef2Tree.py +0 -0
  37. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
  38. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/MarkerSeq2Tree.py +0 -0
  39. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ModifyTopo.py +0 -0
  40. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/OMA.py +0 -0
  41. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/OMA2.py +0 -0
  42. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/OneLineAln.py +0 -0
  43. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/PMSF.py +0 -0
  44. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/PhyloBiAssoc.R +0 -0
  45. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/PhyloBiAssoc.py +0 -0
  46. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/PlotMcmcNode.py +0 -0
  47. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/RootTree.py +0 -0
  48. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/RootTreeGTDB214.py +0 -0
  49. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/RootTreeGTDB220.py +0 -0
  50. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/SequentialDating.py +0 -0
  51. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/SingleAleHGT.py +0 -0
  52. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/SingleLinePhy.py +0 -0
  53. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/SliceMSA.py +0 -0
  54. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/SplitScore.py +0 -0
  55. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/SplitScore1.py +0 -0
  56. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/SplitScore1OMA.py +0 -0
  57. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/SplitScore2.py +0 -0
  58. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/TaxaCountStats.R +0 -0
  59. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/TreeSAK_config.py +0 -0
  60. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/VisHPD95.R +0 -0
  61. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/VisHPD95.py +0 -0
  62. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/__init__.py +0 -0
  63. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ale_parser.py +0 -0
  64. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/ale_splitter.py +0 -0
  65. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/compare_trees.R +0 -0
  66. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/compare_trees.py +0 -0
  67. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/dating.py +0 -0
  68. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/dating_ss.py +0 -0
  69. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/do_rrtc.rb +0 -0
  70. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/fa2phy.py +0 -0
  71. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/format_leaf_name.py +0 -0
  72. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/get_arCOG_seq.py +0 -0
  73. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/global_functions.py +0 -0
  74. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/merge_pdf.py +0 -0
  75. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/pRTC.py +0 -0
  76. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/parse_deltall_stdout.py +0 -0
  77. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/plot_distruibution_th.py +0 -0
  78. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/prep_mcmctree_ctl.py +0 -0
  79. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/print_leaves.py +0 -0
  80. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/rename_leaves.py +0 -0
  81. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/replace_clade.py +0 -0
  82. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/root_with_out_group.py +0 -0
  83. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
  84. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/subsample_drep_gnms.py +0 -0
  85. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/subset.py +0 -0
  86. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
  87. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/test_1.py +0 -0
  88. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/test_2.py +0 -0
  89. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/tmp_2.py +0 -0
  90. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/tmp_3.py +0 -0
  91. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/tmp_4.py +0 -0
  92. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK/weighted_rand.rb +0 -0
  93. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK.egg-info/SOURCES.txt +0 -0
  94. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK.egg-info/dependency_links.txt +0 -0
  95. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK.egg-info/requires.txt +0 -0
  96. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/TreeSAK.egg-info/top_level.txt +0 -0
  97. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/setup.cfg +0 -0
  98. {TreeSAK-1.34.6 → TreeSAK-1.34.8}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TreeSAK
3
- Version: 1.34.6
3
+ Version: 1.34.8
4
4
  Summary: BioSAK
5
5
  Home-page: https://github.com/songweizhi/TreeSAK
6
6
  Author: Weizhi Song
@@ -24,4 +24,4 @@ Requires-Dist: kaleido
24
24
  Requires-Dist: PyPDF3
25
25
  Requires-Dist: dendropy
26
26
 
27
- TreeSAK v1.34.6
27
+ TreeSAK v1.34.8
@@ -65,7 +65,8 @@ def PB(args):
65
65
 
66
66
  settings_dombrowski = '-cat -gtr -x 10 -1 -dgam 4'
67
67
  setting_to_use = settings_dombrowski
68
- msa_in_plp = '%s/%s.phylip' % (op_dir, msa_in)
68
+ msa_in_plp = '%s/%s.phylip' % (op_dir, msa_in)
69
+ cmd_txt = '%s/cmds.txt' % op_dir
69
70
 
70
71
  ####################################################################################################################
71
72
 
@@ -108,10 +109,14 @@ def PB(args):
108
109
  pb_mpi_cmd = 'mpirun -np %s pb_mpi -d %s %s -s %s/%s_chain%s' % (cores_per_run, msa_to_use, setting_to_use, current_wd, op_prefix, chain_index)
109
110
  pb_mpi_cmd_list.append(pb_mpi_cmd)
110
111
 
112
+ # write out commands
113
+ cmd_txt_handle = open(cmd_txt, 'w')
114
+ for cmd in pb_mpi_cmd_list:
115
+ cmd_txt_handle.write(cmd + '\n')
116
+ cmd_txt_handle.close()
117
+
111
118
  # run chains with mp
112
119
  print('Running pb_mpi with multiprocessing')
113
- for cmd in pb_mpi_cmd_list:
114
- print(cmd)
115
120
  pool = mp.Pool(processes=jobs_to_run_in_parallel)
116
121
  pool.map(os.system, pb_mpi_cmd_list)
117
122
  pool.close()
@@ -125,13 +130,13 @@ def PB(args):
125
130
 
126
131
  if __name__ == '__main__':
127
132
 
128
- parser = argparse.ArgumentParser()
129
- parser.add_argument('-i', required=True, help='input MSA file')
130
- parser.add_argument('-o', required=True, help='output directory')
131
- parser.add_argument('-p', required=True, help='output prefix')
132
- parser.add_argument('-fa2plp', required=False, action="store_true", help='convert MSA format from fasta to phylip')
133
- parser.add_argument('-chain', required=False, type=int, default=4, help='num of chains to run in parallel, default: 4')
134
- parser.add_argument('-t', required=False, type=int, default=4, help='num of cores, default: 4')
135
- parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
136
- args = vars(parser.parse_args())
133
+ PB_parser = argparse.ArgumentParser()
134
+ PB_parser.add_argument('-i', required=True, help='input MSA file')
135
+ PB_parser.add_argument('-o', required=True, help='output directory')
136
+ PB_parser.add_argument('-p', required=True, help='output prefix')
137
+ PB_parser.add_argument('-fa2plp', required=False, action="store_true", help='convert MSA format from fasta to phylip')
138
+ PB_parser.add_argument('-chain', required=False, type=int, default=4, help='num of chains to run in parallel, default: 4')
139
+ PB_parser.add_argument('-t', required=False, type=int, default=4, help='num of cores, default: 4')
140
+ PB_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
141
+ args = vars(PB_parser.parse_args())
137
142
  PB(args)
@@ -1,4 +1,4 @@
1
- 1.34.6
1
+ 1.34.8
2
2
  - fixed bugs
3
3
 
4
4
  1.34.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TreeSAK
3
- Version: 1.34.6
3
+ Version: 1.34.8
4
4
  Summary: BioSAK
5
5
  Home-page: https://github.com/songweizhi/TreeSAK
6
6
  Author: Weizhi Song
@@ -24,4 +24,4 @@ Requires-Dist: kaleido
24
24
  Requires-Dist: PyPDF3
25
25
  Requires-Dist: dendropy
26
26
 
27
- TreeSAK v1.34.6
27
+ TreeSAK v1.34.8
@@ -682,13 +682,13 @@ if __name__ == '__main__':
682
682
  elif sys.argv[1] in ['PB', 'Pb', 'pb']:
683
683
  from TreeSAK import PB
684
684
  PB_parser = subparsers.add_parser('PB', usage=PB.PB_usage)
685
- parser.add_argument('-i', required=True, help='input MSA file')
686
- parser.add_argument('-o', required=True, help='output directory')
687
- parser.add_argument('-p', required=True, help='output prefix')
688
- parser.add_argument('-fa2plp', required=False, action="store_true", help='convert MSA format from fasta to phylip')
689
- parser.add_argument('-chain', required=False, type=int, default=4, help='num of chains to run in parallel, default: 4')
690
- parser.add_argument('-t', required=False, type=int, default=4, help='num of cores, default: 4')
691
- parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
685
+ PB_parser.add_argument('-i', required=True, help='input MSA file')
686
+ PB_parser.add_argument('-o', required=True, help='output directory')
687
+ PB_parser.add_argument('-p', required=True, help='output prefix')
688
+ PB_parser.add_argument('-fa2plp', required=False, action="store_true", help='convert MSA format from fasta to phylip')
689
+ PB_parser.add_argument('-chain', required=False, type=int, default=4, help='num of chains to run in parallel, default: 4')
690
+ PB_parser.add_argument('-t', required=False, type=int, default=4, help='num of cores, default: 4')
691
+ PB_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
692
692
  args = vars(parser.parse_args())
693
693
  PB.PB(args)
694
694
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes