TreeSAK 1.41.7__tar.gz → 1.42.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.
- {TreeSAK-1.41.7/TreeSAK.egg-info → TreeSAK-1.42.0}/PKG-INFO +2 -2
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/VERSION +3 -0
- TreeSAK-1.42.0/TreeSAK/mcmctree_out_to_tree.py +54 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0/TreeSAK.egg-info}/PKG-INFO +2 -2
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK.egg-info/SOURCES.txt +1 -1
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/bin/TreeSAK +10 -1
- TreeSAK-1.41.7/TreeSAK/tmp_1.py +0 -52
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/LICENSE +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/MANIFEST.in +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/README.md +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/ALE.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/ALE1.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/ALE2.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/ALE2RTC.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/ALE3.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/ALE4.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/ALE5.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/ALE6.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/ALE_backup.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/AssessCVG.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/AssessMarker.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/AssessMarkerPA.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/AssessPB.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/BMGE.jar +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/BMGE.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/CompareMCMC.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/ConcateMSA.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/ConvertMSA.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/Dir.rb +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/ExtractMarkerSeq.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/FastRoot.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/FastRoot_backup.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/GTDB_tree.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/KEGG_Luo17.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/LcaToLeaves.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/MCMCtreeR.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/MarkerRef2Tree.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/MarkerSeq2Tree.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/ModifyTopo.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/Newick_tree_plotter.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/OMA.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/OMA2.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/OneLineAln.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/PB.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/PMSF.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/PhyloBiAssoc.R +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/PhyloBiAssoc.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/PlotMCMC.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/PlotMcmcNode.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/RootTree.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/RootTreeGTDB214.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/RootTreeGTDB220.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/SequentialDating.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/SingleAleHGT.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/SingleLinePhy.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/SliceMSA.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/SplitScore.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/SplitScore1.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/SplitScore1OMA.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/SplitScore2.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/TaxaCountStats.R +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/TaxonTree.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/TreeSAK_config.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/VisHPD95.R +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/VisHPD95.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/__init__.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/ale_parser.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/ale_splitter.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/alignment_pruner.pl +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/aster.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/catfasta2phy.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/compare_trees.R +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/compare_trees.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/dating.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/dating_ss.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/deltall.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/do_rrtc.rb +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/fa2phy.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/format_leaf_name.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/gap_stats.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/get_SCG_tree.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/get_arCOG_seq.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/global_functions.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/iTOL.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/keep_highest_rrtc.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/label_tree.R +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/label_tree.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/mad.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/mcmcTC.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/mcmctree.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/merge_pdf.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/pRTC.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/plot_distruibution_th.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/prep_mcmctree_ctl.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/print_leaves.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/pruneMSA.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/recode.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/rename_leaves.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/replace_clade.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/root_with_out_group.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/subsample_drep_gnms.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/subset.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK/weighted_rand.rb +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK.egg-info/dependency_links.txt +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK.egg-info/requires.txt +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/TreeSAK.egg-info/top_level.txt +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/setup.cfg +0 -0
- {TreeSAK-1.41.7 → TreeSAK-1.42.0}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.42.0
|
|
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.
|
|
27
|
+
TreeSAK v1.42.0
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import argparse
|
|
2
|
+
from ete3 import Tree
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
mcmctree_out_to_tree_usage = '''
|
|
6
|
+
================ mcmctree_out_to_tree example commands ================
|
|
7
|
+
|
|
8
|
+
TreeSAK mcmctree_out_to_tree_parser -i mcmctree.out -o renamed.tree
|
|
9
|
+
|
|
10
|
+
=======================================================================
|
|
11
|
+
'''
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def mcmctree_out_to_tree(args):
|
|
15
|
+
|
|
16
|
+
mamctree_out = args['i']
|
|
17
|
+
tree_file = args['o']
|
|
18
|
+
|
|
19
|
+
# get tree string from mcmctree_out
|
|
20
|
+
tree_str = ''
|
|
21
|
+
tree_line = 0
|
|
22
|
+
current_line = 1
|
|
23
|
+
for each_line in open(mamctree_out):
|
|
24
|
+
if 'Species tree for FigTree. Branch lengths = posterior mean times; 95% CIs = labels' in each_line:
|
|
25
|
+
tree_line = current_line + 1
|
|
26
|
+
if tree_line == current_line:
|
|
27
|
+
tree_str = each_line.strip()
|
|
28
|
+
current_line += 1
|
|
29
|
+
|
|
30
|
+
tree_str_no_space = tree_str.replace(' ', '')
|
|
31
|
+
|
|
32
|
+
# rename tree nodes
|
|
33
|
+
t = Tree(tree_str_no_space, format=1)
|
|
34
|
+
for each_node in t.traverse():
|
|
35
|
+
if each_node.is_leaf():
|
|
36
|
+
node_name_new = '_'.join(each_node.name.split('_')[1:])
|
|
37
|
+
else:
|
|
38
|
+
node_name_new = 't_n%s' % each_node.name
|
|
39
|
+
each_node.name = node_name_new
|
|
40
|
+
|
|
41
|
+
tree_str_renamed = t.write(format=8)
|
|
42
|
+
|
|
43
|
+
tree_file_handle = open(tree_file, 'w')
|
|
44
|
+
tree_file_handle.write(tree_str_renamed + '\n')
|
|
45
|
+
tree_file_handle.close()
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
if __name__ == '__main__':
|
|
49
|
+
|
|
50
|
+
mcmctree_out_to_tree_parser = argparse.ArgumentParser()
|
|
51
|
+
mcmctree_out_to_tree_parser.add_argument('-i', required=True, help='the .out file from mcmctree')
|
|
52
|
+
mcmctree_out_to_tree_parser.add_argument('-o', required=True, help='output tree file')
|
|
53
|
+
args = vars(mcmctree_out_to_tree_parser.parse_args())
|
|
54
|
+
mcmctree_out_to_tree(args)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.42.0
|
|
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.
|
|
27
|
+
TreeSAK v1.42.0
|
|
@@ -85,6 +85,7 @@ TreeSAK/label_tree.py
|
|
|
85
85
|
TreeSAK/mad.py
|
|
86
86
|
TreeSAK/mcmcTC.py
|
|
87
87
|
TreeSAK/mcmctree.py
|
|
88
|
+
TreeSAK/mcmctree_out_to_tree.py
|
|
88
89
|
TreeSAK/merge_pdf.py
|
|
89
90
|
TreeSAK/pRTC.py
|
|
90
91
|
TreeSAK/plot_distruibution_th.py
|
|
@@ -99,7 +100,6 @@ TreeSAK/run_TaxaCountStats_R_s1.py
|
|
|
99
100
|
TreeSAK/subsample_drep_gnms.py
|
|
100
101
|
TreeSAK/subset.py
|
|
101
102
|
TreeSAK/subset_tree_stupid_old_way.py
|
|
102
|
-
TreeSAK/tmp_1.py
|
|
103
103
|
TreeSAK/weighted_rand.rb
|
|
104
104
|
TreeSAK.egg-info/PKG-INFO
|
|
105
105
|
TreeSAK.egg-info/SOURCES.txt
|
|
@@ -90,6 +90,7 @@ def print_main_help():
|
|
|
90
90
|
VisHPD95 -> HPD95 of estimated node age
|
|
91
91
|
pRTC -> Perform probabilistic RTC dating
|
|
92
92
|
mcmcTC -> adding time constraints to mcmctree tree
|
|
93
|
+
mcmctree_out_to_tree -> mcmctree_out_to_tree
|
|
93
94
|
|
|
94
95
|
Phylo-related stats
|
|
95
96
|
PhyloBiAssoc -> A wrapper for binaryPGLMM test
|
|
@@ -303,7 +304,7 @@ if __name__ == '__main__':
|
|
|
303
304
|
|
|
304
305
|
elif sys.argv[1] in ['Dating', 'dating']:
|
|
305
306
|
from TreeSAK import dating
|
|
306
|
-
dating_parser = subparsers.add_parser(usage=dating.dating_usage)
|
|
307
|
+
dating_parser = subparsers.add_parser('dating', usage=dating.dating_usage)
|
|
307
308
|
dating_parser.add_argument('-tree', required=True, help='outgroup leaves, one id per line')
|
|
308
309
|
dating_parser.add_argument('-msa', required=True, help='EU tree with time constraints')
|
|
309
310
|
dating_parser.add_argument('-o', required=True, help='dating wd')
|
|
@@ -803,6 +804,14 @@ if __name__ == '__main__':
|
|
|
803
804
|
args = vars(parser.parse_args())
|
|
804
805
|
mcmcTC.mcmcTC(args)
|
|
805
806
|
|
|
807
|
+
elif sys.argv[1] == 'mcmctree_out_to_tree':
|
|
808
|
+
from TreeSAK import mcmctree_out_to_tree
|
|
809
|
+
mcmctree_out_to_tree_parser = subparsers.add_parser('mcmctree_out_to_tree', usage=mcmctree_out_to_tree.mcmctree_out_to_tree_usage)
|
|
810
|
+
mcmctree_out_to_tree_parser.add_argument('-i', required=True, help='the .out file from mcmctree')
|
|
811
|
+
mcmctree_out_to_tree_parser.add_argument('-o', required=True, help='output tree file')
|
|
812
|
+
args = vars(parser.parse_args())
|
|
813
|
+
mcmctree_out_to_tree.mcmctree_out_to_tree(args)
|
|
814
|
+
|
|
806
815
|
else:
|
|
807
816
|
print('Unrecognized module: %s, program exited' % sys.argv[1])
|
|
808
817
|
exit()
|
TreeSAK-1.41.7/TreeSAK/tmp_1.py
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import os
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
def group_marker(taxa_counts_tats_op_txt, marker_seq_dir, marker_rank_cutoff_str, op_dir):
|
|
5
|
-
|
|
6
|
-
marker_rank_cutoff_list = marker_rank_cutoff_str.split(',')
|
|
7
|
-
|
|
8
|
-
marker_score_dict = dict()
|
|
9
|
-
header_index_dict = dict()
|
|
10
|
-
for each_marker in open(taxa_counts_tats_op_txt):
|
|
11
|
-
each_marker_split = each_marker.replace('\n', '').split('\t')
|
|
12
|
-
if each_marker.startswith('MarkerID\t'):
|
|
13
|
-
header_index_dict = {k: v for v, k in enumerate(each_marker_split)}
|
|
14
|
-
else:
|
|
15
|
-
marker_id = each_marker_split[header_index_dict['MarkerID']]
|
|
16
|
-
marker_score = int(each_marker_split[header_index_dict['RankA_B']])
|
|
17
|
-
marker_score_dict[marker_id] = marker_score
|
|
18
|
-
|
|
19
|
-
marker_list_sorted_best_to_wrost = [i[0] for i in sorted(marker_score_dict.items(), key=lambda x: x[1])]
|
|
20
|
-
marker_list_sorted_wrost_to_best = [i[0] for i in sorted(marker_score_dict.items(), key=lambda x: x[1])][::-1]
|
|
21
|
-
|
|
22
|
-
for each_cutoff in marker_rank_cutoff_list:
|
|
23
|
-
|
|
24
|
-
marker_num_rounded = round(len(marker_list_sorted_wrost_to_best)*float(each_cutoff)/100)
|
|
25
|
-
marker_list_best = marker_list_sorted_best_to_wrost[:marker_num_rounded]
|
|
26
|
-
marker_list_worst = marker_list_sorted_wrost_to_best[:marker_num_rounded]
|
|
27
|
-
seq_dir_best = '%s/best%s' % (op_dir, each_cutoff)
|
|
28
|
-
seq_dir_worst = '%s/worst%s' % (op_dir, each_cutoff)
|
|
29
|
-
|
|
30
|
-
os.system('mkdir %s' % seq_dir_best)
|
|
31
|
-
os.system('mkdir %s' % seq_dir_worst)
|
|
32
|
-
|
|
33
|
-
# get the best markers
|
|
34
|
-
for bm in marker_list_best:
|
|
35
|
-
os.system('cp %s/%s.fa %s/' % (marker_seq_dir, bm, seq_dir_best))
|
|
36
|
-
|
|
37
|
-
# get the worst markers
|
|
38
|
-
for wm in marker_list_worst:
|
|
39
|
-
os.system('cp %s/%s.fa %s/' % (marker_seq_dir, wm, seq_dir_worst))
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
# TaxaCountStats_output_txt = '/Users/songweizhi/Desktop/TaxaCountStats_output.txt'
|
|
43
|
-
# qualified_og_seq_dir = '/Users/songweizhi/Desktop/qualified_OGs'
|
|
44
|
-
# step_2_op_dir = '/Users/songweizhi/Desktop/SplitScore2_op_dir'
|
|
45
|
-
# marker_rank_cutoff_str = '25,50,75'
|
|
46
|
-
|
|
47
|
-
TaxaCountStats_output_txt = '/scratch/PI/ocessongwz/Sponge_r220/4_OMA_wd_115_genomes/OMA_wd/Output/OMA_75_5_dRep85_115_cov90/SplitScore2_op_dir/get_taxa_count_stats_wd/TaxaCountStats_output.txt'
|
|
48
|
-
qualified_og_seq_dir = '/scratch/PI/ocessongwz/Sponge_r220/4_OMA_wd_115_genomes/OMA_wd/Output/OMA_75_5_dRep85_115_cov90/SplitScore1_op_dir/qualified_OGs'
|
|
49
|
-
step_2_op_dir = '/scratch/PI/ocessongwz/Sponge_r220/4_OMA_wd_115_genomes/OMA_wd/Output/OMA_75_5_dRep85_115_cov90/SplitScore2_op_dir'
|
|
50
|
-
marker_rank_cutoff_str = '10'
|
|
51
|
-
|
|
52
|
-
# group_marker(TaxaCountStats_output_txt, qualified_og_seq_dir, marker_rank_cutoff_str, step_2_op_dir)
|
|
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
|
|
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
|
|
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
|