TreeSAK 1.13.4__tar.gz → 1.14.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.
Files changed (126) hide show
  1. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/HGT/HGT_ALE.py +26 -17
  2. TreeSAK-1.14.0/DateArTree/HGT/runALE.py +987 -0
  3. TreeSAK-1.14.0/DateArTree/get_outgroup_gnms.py +43 -0
  4. TreeSAK-1.14.0/DateArTree/get_prokka_cmds.py +23 -0
  5. TreeSAK-1.14.0/DateArTree/iTOL_tree.py +60 -0
  6. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/s1_select_ar_gnm.py +3 -1
  7. TreeSAK-1.14.0/DateArTree/submit_cmds.py +27 -0
  8. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/tmp_1.py +0 -2
  9. {TreeSAK-1.13.4/TreeSAK.egg-info → TreeSAK-1.14.0}/PKG-INFO +2 -2
  10. TreeSAK-1.14.0/TreeSAK/FastRoot.py +1175 -0
  11. TreeSAK-1.14.0/TreeSAK/FastRoot_backup.py +1122 -0
  12. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/Marker2Tree.py +74 -247
  13. TreeSAK-1.14.0/TreeSAK/PMSF.py +78 -0
  14. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/VERSION +4 -1
  15. TreeSAK-1.14.0/TreeSAK/VisHPD95.R +45 -0
  16. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/VisHPD95.py +15 -14
  17. {TreeSAK-1.13.4 → TreeSAK-1.14.0/TreeSAK.egg-info}/PKG-INFO +2 -2
  18. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK.egg-info/SOURCES.txt +17 -5
  19. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/bin/TreeSAK +14 -0
  20. TreeSAK-1.13.4/example_data/VisHPD95/VisHPD95.pdf → TreeSAK-1.14.0/example_data/VisHPD95/M1_HPD95.pdf +0 -0
  21. TreeSAK-1.14.0/example_data/VisHPD95/M1_HPD95.pdf.txt +31 -0
  22. TreeSAK-1.14.0/example_data/VisHPD95/label.txt +7 -0
  23. TreeSAK-1.14.0/example_data/VisHPD95/mcmc_out/M1_PA_75_DeltaLL_100_clock2_nsample500000_out.txt +1480 -0
  24. TreeSAK-1.14.0/example_data/VisHPD95/mcmc_out/M1_PA_75_DeltaLL_100_clock3_nsample500000_out.txt +1480 -0
  25. TreeSAK-1.14.0/example_data/VisHPD95/mcmc_out/M1_PA_75_DeltaLL_50_clock2_nsample500000_out.txt +994 -0
  26. TreeSAK-1.14.0/example_data/VisHPD95/mcmc_out/M1_PA_75_DeltaLL_50_clock3_nsample500000_out.txt +994 -0
  27. TreeSAK-1.14.0/example_data/VisHPD95/mcmc_out/M1_PA_75_DeltaLL_75_clock2_nsample500000_out.txt +1178 -0
  28. TreeSAK-1.14.0/example_data/VisHPD95/mcmc_out/M1_PA_75_DeltaLL_75_clock3_nsample500000_out.txt +1178 -0
  29. TreeSAK-1.14.0/example_data/VisHPD95/nodes.txt +5 -0
  30. TreeSAK-1.13.4/DateArTree/get_prokka_cmds.py +0 -9
  31. TreeSAK-1.13.4/DateArTree/tmp +0 -135
  32. TreeSAK-1.13.4/DateArTree/tmp_5.py +0 -28
  33. TreeSAK-1.13.4/DateArTree/tmp_6.py +0 -0
  34. TreeSAK-1.13.4/TreeSAK/VisHPD95.R +0 -46
  35. TreeSAK-1.13.4/example_data/VisHPD95/VisHPD95.txt +0 -17
  36. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/.gitignore +0 -0
  37. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/4.sampling_th.py +0 -0
  38. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/AssessMarker.py +0 -0
  39. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/HGT/HGT_MetaCHIP.py +0 -0
  40. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/combine_trees.py +0 -0
  41. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/distribution_plot_Tianhua.py +0 -0
  42. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/prototypeSelection.py +0 -0
  43. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/runALE.py +0 -0
  44. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/s2_psiblast.py +0 -0
  45. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/s3_Prep_gnm_metadata.py +0 -0
  46. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/s6_decorate_tree.py +0 -0
  47. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/Marker2Tree.py +0 -0
  48. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/ModifyTopo.py +0 -0
  49. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/Tianhua_deltaLL.py +0 -0
  50. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/Tianhua_main_deno100.py +0 -0
  51. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/batch_access_itol_Tianhua.py +0 -0
  52. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/deltaLL_gene_removal.ipynb +0 -0
  53. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/do_rrtc.rb +0 -0
  54. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/fit_mcmctree_posterior.R +0 -0
  55. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/itol_tree.py +0 -0
  56. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/merged_two_trees.py +0 -0
  57. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/plot_tree.py +0 -0
  58. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/s2_assess_markers.py +0 -0
  59. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/s2_select_assessed_marker.py +0 -0
  60. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/s4_get_dm_Mash.py +0 -0
  61. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/s4_get_dm_fastANI.py +0 -0
  62. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/tmp_1.py +0 -0
  63. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/tmp_2.py +0 -0
  64. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/tmp_3.py +0 -0
  65. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/script_backup/true_by_prob.py +0 -0
  66. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/scripts/dating_pro.py +0 -0
  67. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/scripts/deltaLL.py +0 -0
  68. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/scripts/final_params.py +0 -0
  69. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/scripts/main_deno100.py +0 -0
  70. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/scripts/multiple_sbatch.py +0 -0
  71. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/scripts/untouched_backup/deltaLL.py +0 -0
  72. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/scripts/untouched_backup/final_params.py +0 -0
  73. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/scripts/untouched_backup/main_deno100.py +0 -0
  74. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/scripts/untouched_backup/multiple_sbatch.py +0 -0
  75. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/tmp_2.py +0 -0
  76. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/tmp_3.py +0 -0
  77. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/DateArTree/tmp_4.py +0 -0
  78. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/LICENSE +0 -0
  79. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/MANIFEST.in +0 -0
  80. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/README.md +0 -0
  81. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/AssessCVG.py +0 -0
  82. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/AssessMarker.py +0 -0
  83. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
  84. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/AssessMarkerPA.py +0 -0
  85. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/CompareMCMC.py +0 -0
  86. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/ConvertMSA.py +0 -0
  87. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/Dating.py +0 -0
  88. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/KEGG_Luo17.py +0 -0
  89. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/MCMCtreeR.py +0 -0
  90. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/ModifyTopo.py +0 -0
  91. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/OneLineAln.py +0 -0
  92. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/PlotMcmcNode.py +0 -0
  93. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/SliceMSA.py +0 -0
  94. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/TreeSAK_config copy.py +0 -0
  95. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/TreeSAK_config.py +0 -0
  96. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/__init__.py +0 -0
  97. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/compare_trees.R +0 -0
  98. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/compare_trees.py +0 -0
  99. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/deltaLL_gene_removal.ipynb +0 -0
  100. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/fa2phy.py +0 -0
  101. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/format_leaf_name.py +0 -0
  102. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/get_arCOG_seq.py +0 -0
  103. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/global_functions.py +0 -0
  104. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/iTOL.py +0 -0
  105. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/parse_deltall_stdout.py +0 -0
  106. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/plot_distruibution_th.py +0 -0
  107. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/prep_mcmctree_ctl.py +0 -0
  108. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/rename_leaves.py +0 -0
  109. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/replace_clades.py +0 -0
  110. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/root_with_out_group.py +0 -0
  111. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/subset_tree.py +0 -0
  112. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
  113. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/test_1.py +0 -0
  114. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/test_2.py +0 -0
  115. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK/tmp_3.py +0 -0
  116. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK.egg-info/dependency_links.txt +0 -0
  117. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK.egg-info/requires.txt +0 -0
  118. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/TreeSAK.egg-info/top_level.txt +0 -0
  119. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/bin/__init__.py +0 -0
  120. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/example_data/PlotMcmcNode/nodes.txt +0 -0
  121. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/example_data/PlotMcmcNode/y_label.txt +0 -0
  122. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/images/Bioinformatics.jpg +0 -0
  123. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/images/windows_cmds.docx +0 -0
  124. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/images/windows_cmds.pdf +0 -0
  125. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/setup.cfg +0 -0
  126. {TreeSAK-1.13.4 → TreeSAK-1.14.0}/setup.py +0 -0
@@ -713,14 +713,22 @@ def parse_ale_op_worker(arg_list):
713
713
 
714
714
  ########################################################################################################################
715
715
 
716
+ '''
717
+
718
+ cd /Users/songweizhi/Desktop/DateArTree/0_HGT_MetaCHIP_r214
719
+ BioSAK iTOL -ColorStrip -lg genome_phylum.txt -lt Phylum -gc ar_phylum_color_code.txt -out genome_phylum_iTOL_ColorStrip.txt
720
+ BioSAK iTOL -ColorRange -lg genome_phylum.txt -lt Phylum -gc ar_phylum_color_code.txt -out genome_phylum_iTOL_ColorRange.txt
721
+
722
+ '''
723
+
716
724
  # file in
717
- wd = '/Users/songweizhi/Desktop/DateArTree/0_HGT_MetaCHIP'
718
- orthogroups_op_txt = '%s/Orthogroups.txt' % wd
719
- genome_taxon_txt = '%s/taxon_for_MetaCHIP.txt' % wd
720
- combined_faa = '%s/Archaea_133_HGT_pc_pc_combined_faa.fasta' % wd
721
- genome_tree_file = '%s/concatenated.treefile' % wd
722
- outgroup = '%s/out_group.txt' % wd
723
- ar_phylum_color_code_txt = '/Users/songweizhi/Desktop/DateArTree/ar_phylum_color_code.txt'
725
+ wd = '/Users/songweizhi/Desktop/DateArTree/0_HGT_MetaCHIP_r214'
726
+ orthogroups_op_txt = '%s/Orthogroups.txt' % wd # produced by OrthoFinder
727
+ genome_taxon_txt = '%s/genome_taxon.txt' % wd # genome taxonomy
728
+ combined_faa = '%s/combined_d__Archaea_o_rs.faa' % wd
729
+ genome_tree_file = '%s/Marker_set_1_Marker2Tree_e30_mmn10_PA_75_C60_PMSF_tree.treefile' % wd
730
+ outgroup = '%s/outgroup_DPANN_with_Altiarchaeota.txt' % wd
731
+ ar_phylum_color_code_txt = '%s/ar_phylum_color_code.txt' % wd
724
732
  min_og_genome_num = 50 # filter OG groups
725
733
  min_og_phylum_num = 2 # filter OG groups
726
734
  hgt_freq_cutoff = 0.1 # filter ALE predicted HGTs
@@ -744,16 +752,16 @@ ale_splitter_py = '/home-user/wzsong/Tests/ALE/ALEtutorial/ale_s
744
752
 
745
753
  force_create_op_dir = True
746
754
  force_create_ale_wd = True
747
- extract_sequence = False
748
- prepare_ale_input_files = False
755
+ extract_sequence = True
756
+ prepare_ale_input_files = True
749
757
 
750
758
  # file out
751
- op_dir = '/Users/songweizhi/Desktop/DateArTree/0_HGT_ALE/op_qualified_OGs'
752
- gene_tree_dir = '/Users/songweizhi/Desktop/DateArTree/0_HGT_ALE/op_qualified_OGs_gene_tree_dir'
753
- genome_tree_file_rooted = '/Users/songweizhi/Desktop/DateArTree/0_HGT_ALE/concatenated_rooted.treefile'
754
- ale_wd = '/Users/songweizhi/Desktop/DateArTree/0_HGT_ALE/ale_wd'
755
- ale_op_dir = '/Users/songweizhi/Desktop/DateArTree/0_HGT_ALE/ale_op_dir'
756
- ale_hgt_plot_dir = '/Users/songweizhi/Desktop/DateArTree/0_HGT_ALE/ale_hgt_plot_dir'
759
+ op_dir = '/Users/songweizhi/Desktop/DateArTree/0_HGT_ALE_r214/op_qualified_OGs'
760
+ gene_tree_dir = '/Users/songweizhi/Desktop/DateArTree/0_HGT_ALE_r214/op_qualified_OGs_gene_tree_dir'
761
+ genome_tree_file_rooted = '/Users/songweizhi/Desktop/DateArTree/0_HGT_ALE_r214/concatenated_rooted.treefile'
762
+ ale_wd = '/Users/songweizhi/Desktop/DateArTree/0_HGT_ALE_r214/ale_wd'
763
+ ale_op_dir = '/Users/songweizhi/Desktop/DateArTree/0_HGT_ALE_r214/ale_op_dir'
764
+ ale_hgt_plot_dir = '/Users/songweizhi/Desktop/DateArTree/0_HGT_ALE_r214/ale_hgt_plot_dir'
757
765
 
758
766
  ########################################################################################################################
759
767
 
@@ -761,8 +769,9 @@ ale_hgt_plot_dir = '/Users/songweizhi/Desktop/DateArTree/0_HGT_AL
761
769
  # designate_ogs = next(os.walk(gene_tree_dir))[1]
762
770
  # designate_ogs = [i.strip() for i in open('/Users/songweizhi/Desktop/DateArTree/0_HGT_ALE/interestong_OGs.txt')]
763
771
  # designate_ogs = ['OG0000016', 'OG0000032']
764
- designate_ogs = ['OG0000468', 'OG0000525']
765
- designate_ogs = ['OG0000468']
772
+ # designate_ogs = ['OG0000468', 'OG0000525']
773
+ # designate_ogs = ['OG0000468']
774
+ designate_ogs = []
766
775
 
767
776
  '''
768
777
  The number of orthogroups spanning >= 50 genomes and >= 2 phyla is 763.