TreeSAK 1.35.2__tar.gz → 1.35.3__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.35.2/TreeSAK.egg-info → TreeSAK-1.35.3}/PKG-INFO +2 -2
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/GTDB_tree.py +3 -16
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/OMA2.py +2 -2
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/SplitScore1.py +5 -5
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/VERSION +4 -4
- {TreeSAK-1.35.2 → TreeSAK-1.35.3/TreeSAK.egg-info}/PKG-INFO +2 -2
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/LICENSE +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/MANIFEST.in +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/README.md +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/ALE.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/ALE1.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/ALE2.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/ALE2RTC.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/ALE3.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/ALE4.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/ALE5.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/ALE6.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/ALE_backup.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/AlignmentPruner.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/AssessCVG.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/AssessMarker.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/AssessMarkerPA.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/AssessPB.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/BMGE.jar +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/BMGE.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/CompareMCMC.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/ConcateMSA.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/ConvertMSA.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/Dir.rb +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/ExtractMarkerSeq.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/FastRoot.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/FastRoot_backup.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/KEGG_Luo17.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/LcaToLeaves.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/MCMCtreeR.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/MarkerRef2Tree.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/MarkerSeq2Tree.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/ModifyTopo.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/OMA.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/OneLineAln.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/PB.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/PMSF.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/PhyloBiAssoc.R +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/PhyloBiAssoc.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/PlotMcmcNode.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/RootTree.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/RootTreeGTDB214.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/RootTreeGTDB220.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/SequentialDating.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/SingleAleHGT.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/SingleLinePhy.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/SliceMSA.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/SplitScore.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/SplitScore1OMA.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/SplitScore2.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/TaxaCountStats.R +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/TreeSAK_config.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/VisHPD95.R +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/VisHPD95.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/__init__.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/ale_parser.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/ale_splitter.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/compare_trees.R +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/compare_trees.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/dating.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/dating_ss.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/do_rrtc.rb +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/fa2phy.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/format_leaf_name.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/get_arCOG_seq.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/global_functions.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/merge_pdf.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/pRTC.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/parse_deltall_stdout.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/plot_distruibution_th.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/prep_mcmctree_ctl.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/print_leaves.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/rename_leaves.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/replace_clade.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/root_with_out_group.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/subsample_drep_gnms.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/subset.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/test_1.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/test_2.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/tmp_2.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/tmp_3.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/tmp_4.py +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK/weighted_rand.rb +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK.egg-info/SOURCES.txt +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK.egg-info/dependency_links.txt +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK.egg-info/requires.txt +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/TreeSAK.egg-info/top_level.txt +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/bin/TreeSAK +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/setup.cfg +0 -0
- {TreeSAK-1.35.2 → TreeSAK-1.35.3}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.35.
|
|
3
|
+
Version: 1.35.3
|
|
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.35.
|
|
27
|
+
TreeSAK v1.35.3
|
|
@@ -3,21 +3,9 @@ import argparse
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
GTDB_tree_usage = '''
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
module load python/3.7.4
|
|
9
|
-
source ~/mypython3env/bin/activate
|
|
10
|
-
module load perl/5.36.0
|
|
11
|
-
module load prodigal/2.6.3
|
|
12
|
-
module load pplacer/1.1.alpha19
|
|
13
|
-
module load hmmer/3.3
|
|
14
|
-
module load gcc/12.2.0
|
|
15
|
-
module load gsl/2.7.1
|
|
16
|
-
module load fastani/1.33
|
|
17
|
-
module load r/4.3.1
|
|
18
|
-
module load fasttree/2.1.11-openmp
|
|
19
|
-
export GTDBTK_DATA_PATH=/data/bio/gtdbtk/release214
|
|
6
|
+
======================== GTDB_tree example command ========================
|
|
20
7
|
|
|
8
|
+
export GTDBTK_DATA_PATH=/scratch/PI/boqianpy/Database/gtdb_r220/release220
|
|
21
9
|
TreeSAK GTDB_tree -p Demo -i gnm_folder -x fa -t 12
|
|
22
10
|
|
|
23
11
|
# This is a wrapper for the following commands
|
|
@@ -26,8 +14,7 @@ gtdbtk align --identify_dir Demo_op_dir --out_dir op_dir --cpus 12
|
|
|
26
14
|
gtdbtk infer --msa_file Demo_op_dir/align/gtdbtk.bac120.user_msa.fasta.gz --out_dir op_dir --cpus 12 --prefix Demo_bac120
|
|
27
15
|
gtdbtk infer --msa_file Demo_op_dir/align/gtdbtk.ar53.user_msa.fasta.gz --out_dir op_dir --cpus 12 --prefix Demo_ar53
|
|
28
16
|
|
|
29
|
-
|
|
30
|
-
|
|
17
|
+
===========================================================================
|
|
31
18
|
'''
|
|
32
19
|
|
|
33
20
|
def GTDB_tree(args):
|
|
@@ -7,7 +7,7 @@ OMA2_usage = '''
|
|
|
7
7
|
============================== OMA2 example commands ==============================
|
|
8
8
|
|
|
9
9
|
TreeSAK OMA2 -i OrthologousGroups.txt -s OrthologousGroupsFasta -o op_dir -f -n 3
|
|
10
|
-
TreeSAK OMA2 -i OrthologousGroups.txt -s OrthologousGroupsFasta -o op_dir -f -
|
|
10
|
+
TreeSAK OMA2 -i OrthologousGroups.txt -s OrthologousGroupsFasta -o op_dir -f -c 85
|
|
11
11
|
|
|
12
12
|
===================================================================================
|
|
13
13
|
'''
|
|
@@ -59,7 +59,7 @@ def OMA2(args):
|
|
|
59
59
|
print('Please specify either -c or -n, program exited!')
|
|
60
60
|
exit()
|
|
61
61
|
elif (min_gene_num is not None) and (min_gene_cov is not None):
|
|
62
|
-
print('-c and -n are not compatible,
|
|
62
|
+
print('-c and -n are not compatible, program exited!')
|
|
63
63
|
exit()
|
|
64
64
|
|
|
65
65
|
og_txt_out = ''
|
|
@@ -109,11 +109,11 @@ def SplitScore1(args):
|
|
|
109
109
|
cmd_2_trimal_txt_handle = open(cmd_2_trimal_txt, 'w')
|
|
110
110
|
cmd_3_iqtree_txt_handle = open(cmd_3_iqtree_txt, 'w')
|
|
111
111
|
ignored_og_dict = dict()
|
|
112
|
-
for each_og in og_to_gene_dict:
|
|
113
|
-
seq_file_in
|
|
114
|
-
file_out_seq
|
|
115
|
-
file_out_aln
|
|
116
|
-
file_out_aln_trimmed
|
|
112
|
+
for each_og in sorted(list(og_to_gene_dict.keys())):
|
|
113
|
+
seq_file_in = '%s/%s.%s' % (oma_op_fasta, each_og, fasta_file_ext)
|
|
114
|
+
file_out_seq = '%s/%s.%s' % (qualified_og_dir, each_og, fasta_file_ext)
|
|
115
|
+
file_out_aln = '%s.aln' % each_og
|
|
116
|
+
file_out_aln_trimmed = '%s_trimmed.aln' % each_og
|
|
117
117
|
|
|
118
118
|
seq_file_out_handle = open(file_out_seq, 'w')
|
|
119
119
|
current_gnm_set = set()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.35.
|
|
3
|
+
Version: 1.35.3
|
|
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.35.
|
|
27
|
+
TreeSAK v1.35.3
|
|
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
|