TreeSAK 1.47.3__tar.gz → 1.47.4__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.47.3/TreeSAK.egg-info → TreeSAK-1.47.4}/PKG-INFO +2 -2
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/GeneTree.py +25 -7
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/VERSION +1 -1
- TreeSAK-1.47.4/TreeSAK/tmp_1.py +19 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4/TreeSAK.egg-info}/PKG-INFO +2 -2
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK.egg-info/SOURCES.txt +1 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/bin/TreeSAK +3 -1
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/LICENSE +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/MANIFEST.in +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/README.md +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/ALE.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/ALE1.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/ALE2.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/ALE2RTC.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/ALE3.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/ALE4.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/ALE5.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/ALE6.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/ALE7.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/ALE_backup.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/AssessCVG.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/AssessMarker.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/AssessMarkerPA.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/AssessPB.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/BMGE.jar +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/BMGE.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/CompareMCMC.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/ConcateMSA.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/ConvertMSA.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/Dir.rb +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/ExtractMarkerSeq.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/FastRoot.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/FastRoot_backup.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/FigTree.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/GTDB_tree.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/KEGG_Luo17.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/LcaToLeaves.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/MarkerRef2Tree.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/MarkerSeq2Tree.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/MarkerSeq2Tree_backup.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/ModifyTopo.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/Newick_tree_plotter.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/OMA.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/OMA2.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/OneLineAln.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/PB.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/PMSF.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/PhyloBiAssoc.R +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/PhyloBiAssoc.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/PlotMCMC.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/PlotMcmcNode.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/PlotMcmcNode_old.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/RootTree.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/RootTreeGTDB214.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/RootTreeGTDB220.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/SequentialDating.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/SingleAleHGT.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/SingleLinePhy.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/SliceMSA.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/SplitScore.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/SplitScore1.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/SplitScore1OMA.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/SplitScore2.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/TaxaCountStats.R +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/TaxonTree.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/TreeSAK_config.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/VisHPD95.R +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/VisHPD95.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/__init__.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/ale_parser.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/ale_splitter.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/alignment_pruner.pl +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/assessOG.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/catfasta2phy.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/cogTree.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/compare_trees.R +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/compare_trees.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/dating.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/dating_ss.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/deltall.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/do_rrtc.rb +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/fa2phy.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/format_leaf_name.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/gap_stats.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/get_SCG_tree.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/get_arCOG_seq.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/global_functions.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/gnm_leaves.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/iTOL.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/iTOL_gene_tree.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/keep_highest_rrtc.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/koTree.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/label_tree.R +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/label_tree.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/mad.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/mcmc2tree.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/mcmcTC copy.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/mcmcTC.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/merge_pdf.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/pRTC.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/phy2fa.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/plot_distruibution_th.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/prep_mcmctree_ctl.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/print_leaves.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/pruneMSA.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/recode.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/remove_bias.R +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/rename_leaves.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/replace_clade.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/root_with_out_group.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/subsample_drep_gnms.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/subset.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/supertree.py +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK/weighted_rand.rb +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK.egg-info/dependency_links.txt +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK.egg-info/requires.txt +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/TreeSAK.egg-info/top_level.txt +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/setup.cfg +0 -0
- {TreeSAK-1.47.3 → TreeSAK-1.47.4}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.47.
|
|
3
|
+
Version: 1.47.4
|
|
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.47.
|
|
27
|
+
TreeSAK v1.47.4
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import os
|
|
2
2
|
import argparse
|
|
3
|
+
from Bio import SeqIO
|
|
3
4
|
from distutils.spawn import find_executable
|
|
4
5
|
|
|
5
6
|
|
|
@@ -35,6 +36,17 @@ def sep_path_basename_ext(file_in):
|
|
|
35
36
|
return f_path, f_base, f_ext
|
|
36
37
|
|
|
37
38
|
|
|
39
|
+
def filter_by_gap(file_in, max_gap_pct, file_out):
|
|
40
|
+
file_out_handle = open(file_out, 'w')
|
|
41
|
+
for each_seq in SeqIO.parse(file_in, 'fasta'):
|
|
42
|
+
seq_str = str(each_seq.seq)
|
|
43
|
+
gap_num = seq_str.count('-')
|
|
44
|
+
gap_pct = gap_num*100 / len(seq_str)
|
|
45
|
+
if gap_pct <= float(max_gap_pct):
|
|
46
|
+
file_out_handle.write('>%s\n%s\n' % (each_seq.id, seq_str))
|
|
47
|
+
file_out_handle.close()
|
|
48
|
+
|
|
49
|
+
|
|
38
50
|
def GeneTree(args):
|
|
39
51
|
|
|
40
52
|
seq_file = args['i']
|
|
@@ -44,6 +56,7 @@ def GeneTree(args):
|
|
|
44
56
|
trim_with_bmge = args['bmge']
|
|
45
57
|
bmge_trim_model = args['bmge_m']
|
|
46
58
|
bmge_entropy_score_cutoff = args['bmge_esc']
|
|
59
|
+
gap_cutoff = args['max_gap']
|
|
47
60
|
|
|
48
61
|
# check dependencies
|
|
49
62
|
check_dependencies(['java', 'mafft-einsi'])
|
|
@@ -73,19 +86,20 @@ def GeneTree(args):
|
|
|
73
86
|
######################################## define output file name ########################################
|
|
74
87
|
|
|
75
88
|
sep_file_path, sep_file_base, sep_file_ext = sep_path_basename_ext(seq_file)
|
|
76
|
-
get_gene_tree_cmds_txt = '%s/cmds.txt'
|
|
77
|
-
msa_file = '%s/%s.aln'
|
|
78
|
-
|
|
89
|
+
get_gene_tree_cmds_txt = '%s/cmds.txt' % op_dir
|
|
90
|
+
msa_file = '%s/%s.aln' % (op_dir, sep_file_base)
|
|
91
|
+
msa_file_low_gap = '%s/%s.maxgap%s.aln' % (op_dir, sep_file_base, gap_cutoff)
|
|
92
|
+
msa_file_low_gap_bmge = '%s/%s.maxgap%s.bmge.aln' % (op_dir, sep_file_base, gap_cutoff)
|
|
79
93
|
|
|
80
|
-
msa_for_iqtree =
|
|
94
|
+
msa_for_iqtree = msa_file_low_gap
|
|
81
95
|
if trim_with_bmge is True:
|
|
82
|
-
msa_for_iqtree =
|
|
96
|
+
msa_for_iqtree = msa_file_low_gap_bmge
|
|
83
97
|
|
|
84
98
|
#########################################################################################################
|
|
85
99
|
|
|
86
100
|
# prepare commands
|
|
87
101
|
mafft_cmd = 'mafft-einsi --thread %s --quiet %s > %s' % (num_threads, seq_file, msa_file)
|
|
88
|
-
trim_cmd = 'java -jar %s -i %s -m %s -t AA -h %s -of %s' % (pwd_bmge_jar,
|
|
102
|
+
trim_cmd = 'java -jar %s -i %s -m %s -t AA -h %s -of %s' % (pwd_bmge_jar, msa_file_low_gap, bmge_trim_model, bmge_entropy_score_cutoff, msa_file_low_gap_bmge)
|
|
89
103
|
iqtree_cmd = '%s -m LG+G+I -bb 1000 --wbtl -nt %s -s %s -pre %s/%s' % (iqtree_exe, num_threads, msa_for_iqtree, op_dir, sep_file_base)
|
|
90
104
|
|
|
91
105
|
# write out commands
|
|
@@ -99,6 +113,9 @@ def GeneTree(args):
|
|
|
99
113
|
print(mafft_cmd)
|
|
100
114
|
os.system(mafft_cmd)
|
|
101
115
|
|
|
116
|
+
# remove high gap sequences
|
|
117
|
+
filter_by_gap(msa_file, gap_cutoff, msa_file_low_gap)
|
|
118
|
+
|
|
102
119
|
# run BMGE
|
|
103
120
|
print(trim_cmd)
|
|
104
121
|
os.system(trim_cmd)
|
|
@@ -115,10 +132,11 @@ if __name__ == '__main__':
|
|
|
115
132
|
GeneTree_parser = argparse.ArgumentParser()
|
|
116
133
|
GeneTree_parser.add_argument('-i', required=False, default=None, help='sequence file')
|
|
117
134
|
GeneTree_parser.add_argument('-o', required=True, help='output dir, i.e., OMA working directory')
|
|
118
|
-
GeneTree_parser.add_argument('-t', required=False, type=int, default=
|
|
135
|
+
GeneTree_parser.add_argument('-t', required=False, type=int, default=1, help='number of threads, default is 1')
|
|
119
136
|
GeneTree_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
|
|
120
137
|
GeneTree_parser.add_argument('-bmge', required=False, action="store_true", help='trim MSA with BMGE, default no trimming')
|
|
121
138
|
GeneTree_parser.add_argument('-bmge_m', required=False, default='BLOSUM30', help='BMGE trim model, default: BLOSUM30')
|
|
122
139
|
GeneTree_parser.add_argument('-bmge_esc', required=False, default='0.55', help='BMGE entropy score cutoff, default: 0.55')
|
|
140
|
+
GeneTree_parser.add_argument('-max_gap', required=False, default='40', help='maximum percentage of gap, default is 40')
|
|
123
141
|
args = vars(GeneTree_parser.parse_args())
|
|
124
142
|
GeneTree(args)
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from Bio import SeqIO
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
def filter_by_gap(file_in, max_gap_pct, file_out):
|
|
5
|
+
file_out_handle = open(file_out, 'w')
|
|
6
|
+
for each_seq in SeqIO.parse(file_in, 'fasta'):
|
|
7
|
+
seq_str = str(each_seq.seq)
|
|
8
|
+
gap_num = seq_str.count('-')
|
|
9
|
+
gap_pct = gap_num*100 / len(seq_str)
|
|
10
|
+
if gap_pct <= max_gap_pct:
|
|
11
|
+
file_out_handle.write('>%s\n%s\n' % (each_seq.id, seq_str))
|
|
12
|
+
file_out_handle.close()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
msa_in = '/Users/songweizhi/Desktop/AmoA_genes.bmge.aln'
|
|
16
|
+
msa_out = '/Users/songweizhi/Desktop/AmoA_genes.gap40.bmge.aln'
|
|
17
|
+
gap_cutoff = 40
|
|
18
|
+
|
|
19
|
+
filter_by_gap(msa_in, gap_cutoff, msa_out)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.47.
|
|
3
|
+
Version: 1.47.4
|
|
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.47.
|
|
27
|
+
TreeSAK v1.47.4
|
|
@@ -888,11 +888,13 @@ if __name__ == '__main__':
|
|
|
888
888
|
GeneTree_parser = subparsers.add_parser('GeneTree', usage=GeneTree.GeneTree_usage)
|
|
889
889
|
GeneTree_parser.add_argument('-i', required=False, default=None, help='sequence file')
|
|
890
890
|
GeneTree_parser.add_argument('-o', required=True, help='output dir, i.e., OMA working directory')
|
|
891
|
-
GeneTree_parser.add_argument('-t', required=False, type=int, default=
|
|
891
|
+
GeneTree_parser.add_argument('-t', required=False, type=int, default=1, help='number of threads, default is 1')
|
|
892
892
|
GeneTree_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
|
|
893
893
|
GeneTree_parser.add_argument('-bmge', required=False, action="store_true", help='trim MSA with BMGE, default no trimming')
|
|
894
894
|
GeneTree_parser.add_argument('-bmge_m', required=False, default='BLOSUM30', help='BMGE trim model, default: BLOSUM30')
|
|
895
895
|
GeneTree_parser.add_argument('-bmge_esc', required=False, default='0.55', help='BMGE entropy score cutoff, default: 0.55')
|
|
896
|
+
GeneTree_parser.add_argument('-max_gap', required=False, default='40', help='maximum percentage of gap, default is 40')
|
|
897
|
+
|
|
896
898
|
args = vars(parser.parse_args())
|
|
897
899
|
GeneTree.GeneTree(args)
|
|
898
900
|
|
|
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
|
|
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
|