TreeSAK 1.35.1__tar.gz → 1.35.2__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.1/TreeSAK.egg-info → TreeSAK-1.35.2}/PKG-INFO +2 -2
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/OMA2.py +59 -15
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/VERSION +1 -1
- {TreeSAK-1.35.1 → TreeSAK-1.35.2/TreeSAK.egg-info}/PKG-INFO +2 -2
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/bin/TreeSAK +12 -11
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/LICENSE +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/MANIFEST.in +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/README.md +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/ALE.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/ALE1.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/ALE2.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/ALE2RTC.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/ALE3.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/ALE4.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/ALE5.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/ALE6.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/ALE_backup.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/AlignmentPruner.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/AssessCVG.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/AssessMarker.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/AssessMarkerDeltaLL.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/AssessMarkerPA.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/AssessPB.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/BMGE.jar +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/BMGE.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/CompareMCMC.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/ConcateMSA.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/ConvertMSA.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/Dir.rb +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/ExtractMarkerSeq.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/FastRoot.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/FastRoot_backup.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/GTDB_tree.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/KEGG_Luo17.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/LcaToLeaves.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/MCMCtreeR.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/MarkerRef2Tree.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/MarkerRef2Tree_backup.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/MarkerSeq2Tree.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/ModifyTopo.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/OMA.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/OneLineAln.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/PB.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/PMSF.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/PhyloBiAssoc.R +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/PhyloBiAssoc.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/PlotMcmcNode.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/RootTree.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/RootTreeGTDB214.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/RootTreeGTDB220.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/SequentialDating.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/SingleAleHGT.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/SingleLinePhy.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/SliceMSA.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/SplitScore.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/SplitScore1.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/SplitScore1OMA.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/SplitScore2.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/TaxaCountStats.R +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/TreeSAK_config.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/VisHPD95.R +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/VisHPD95.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/__init__.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/ale_parser.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/ale_splitter.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/compare_trees.R +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/compare_trees.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/dating.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/dating_ss.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/do_rrtc.rb +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/fa2phy.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/format_leaf_name.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/get_arCOG_seq.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/global_functions.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/merge_pdf.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/pRTC.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/parse_deltall_stdout.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/plot_distruibution_th.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/prep_mcmctree_ctl.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/print_leaves.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/rename_leaves.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/replace_clade.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/root_with_out_group.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/run_TaxaCountStats_R_s1.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/subsample_drep_gnms.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/subset.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/subset_tree_stupid_old_way.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/test_1.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/test_2.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/tmp_2.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/tmp_3.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/tmp_4.py +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK/weighted_rand.rb +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK.egg-info/SOURCES.txt +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK.egg-info/dependency_links.txt +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK.egg-info/requires.txt +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/TreeSAK.egg-info/top_level.txt +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/setup.cfg +0 -0
- {TreeSAK-1.35.1 → TreeSAK-1.35.2}/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.2
|
|
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.2
|
|
@@ -4,11 +4,12 @@ from Bio import SeqIO
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
OMA2_usage = '''
|
|
7
|
-
|
|
7
|
+
============================== OMA2 example commands ==============================
|
|
8
8
|
|
|
9
|
-
TreeSAK OMA2 -i OrthologousGroups.txt -s OrthologousGroupsFasta -o op_dir -f
|
|
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 -n 85
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
===================================================================================
|
|
12
13
|
'''
|
|
13
14
|
|
|
14
15
|
|
|
@@ -52,16 +53,31 @@ def OMA2(args):
|
|
|
52
53
|
op_dir = args['o']
|
|
53
54
|
force_overwrite = args['f']
|
|
54
55
|
min_gene_num = args['n']
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
min_gene_cov = args['c']
|
|
57
|
+
|
|
58
|
+
if (min_gene_num is None) and (min_gene_cov is None):
|
|
59
|
+
print('Please specify either -c or -n, program exited!')
|
|
60
|
+
exit()
|
|
61
|
+
elif (min_gene_num is not None) and (min_gene_cov is not None):
|
|
62
|
+
print('-c and -n are not compatible, please provide only one, program exited!')
|
|
63
|
+
exit()
|
|
64
|
+
|
|
65
|
+
og_txt_out = ''
|
|
66
|
+
filtered_seq_dir = ''
|
|
67
|
+
if min_gene_num is not None:
|
|
68
|
+
og_txt_out = '%s/OrthologousGroups_num%s.txt' % (op_dir, min_gene_num)
|
|
69
|
+
filtered_seq_dir = '%s/OrthologousGroupsFasta_num%s' % (op_dir, min_gene_num)
|
|
70
|
+
if min_gene_cov is not None:
|
|
71
|
+
og_txt_out = '%s/OrthologousGroups_cov%s.txt' % (op_dir, min_gene_cov)
|
|
72
|
+
filtered_seq_dir = '%s/OrthologousGroupsFasta_cov%s' % (op_dir, min_gene_cov)
|
|
58
73
|
|
|
59
74
|
# check genome files
|
|
60
75
|
interested_gnm_set = set()
|
|
61
76
|
if gnm_txt is not None:
|
|
62
77
|
if os.path.isfile(gnm_txt) is True:
|
|
63
78
|
for each_gnm in open(gnm_txt):
|
|
64
|
-
|
|
79
|
+
gnm_id = each_gnm.strip().split()[0]
|
|
80
|
+
interested_gnm_set.add(gnm_id)
|
|
65
81
|
else:
|
|
66
82
|
print('%s not found, program exited!' % gnm_txt)
|
|
67
83
|
exit()
|
|
@@ -76,6 +92,16 @@ def OMA2(args):
|
|
|
76
92
|
os.system('mkdir %s' % op_dir)
|
|
77
93
|
os.system('mkdir %s' % filtered_seq_dir)
|
|
78
94
|
|
|
95
|
+
# get overall genome set
|
|
96
|
+
overall_gnm_set = set()
|
|
97
|
+
for each_line in open(og_txt):
|
|
98
|
+
if not each_line.startswith('#'):
|
|
99
|
+
each_line_split = each_line.strip().split('\t')
|
|
100
|
+
gene_list = each_line_split[1:]
|
|
101
|
+
for each_gene in gene_list:
|
|
102
|
+
gene_gnm = each_gene.split(':')[0]
|
|
103
|
+
overall_gnm_set.add(gene_gnm)
|
|
104
|
+
|
|
79
105
|
qualified_og_set = set()
|
|
80
106
|
id_to_name_dict = dict()
|
|
81
107
|
gene_to_extract_dict = dict()
|
|
@@ -97,7 +123,20 @@ def OMA2(args):
|
|
|
97
123
|
if gene_gnm in interested_gnm_set:
|
|
98
124
|
filtered_gene_set.add(gene_id)
|
|
99
125
|
|
|
100
|
-
|
|
126
|
+
qualified_og = False
|
|
127
|
+
if min_gene_num is not None:
|
|
128
|
+
if len(filtered_gene_set) >= float(min_gene_num):
|
|
129
|
+
qualified_og = True
|
|
130
|
+
if min_gene_cov is not None:
|
|
131
|
+
if len(interested_gnm_set) == 0:
|
|
132
|
+
gnm_cov = len(filtered_gene_set)*100/len(overall_gnm_set)
|
|
133
|
+
else:
|
|
134
|
+
gnm_cov = len(filtered_gene_set)*100/len(interested_gnm_set)
|
|
135
|
+
|
|
136
|
+
if gnm_cov >= float(min_gene_cov):
|
|
137
|
+
qualified_og = True
|
|
138
|
+
|
|
139
|
+
if qualified_og is True:
|
|
101
140
|
qualified_og_set.add(og_id)
|
|
102
141
|
og_txt_out_handle.write('%s\t%s\n' % (filename, ','.join(sorted(list(filtered_gene_set)))))
|
|
103
142
|
gene_to_extract_dict[og_id] = filtered_gene_set
|
|
@@ -109,18 +148,23 @@ def OMA2(args):
|
|
|
109
148
|
filtered_file = '%s/%s.fa' % (filtered_seq_dir, seq_file_name)
|
|
110
149
|
select_seq(source_file, gene_to_extract_dict[each_og], filtered_file)
|
|
111
150
|
|
|
112
|
-
|
|
151
|
+
if min_gene_num is not None:
|
|
152
|
+
print('The number of OG with genes >= %s is %s' % (min_gene_num, len(qualified_og_set)))
|
|
153
|
+
if min_gene_cov is not None:
|
|
154
|
+
print('The number of OG with coverage >= %s is %s' % (min_gene_cov, len(qualified_og_set)))
|
|
155
|
+
|
|
113
156
|
print('Done!')
|
|
114
157
|
|
|
115
158
|
|
|
116
159
|
if __name__ == '__main__':
|
|
117
160
|
|
|
118
161
|
OMA2_parser = argparse.ArgumentParser()
|
|
119
|
-
OMA2_parser.add_argument('-i', required=True,
|
|
120
|
-
OMA2_parser.add_argument('-s', required=True,
|
|
121
|
-
OMA2_parser.add_argument('-g', required=False, default=None,
|
|
122
|
-
OMA2_parser.add_argument('-o', required=True, default=None,
|
|
123
|
-
OMA2_parser.add_argument('-n', required=False,
|
|
124
|
-
OMA2_parser.add_argument('-
|
|
162
|
+
OMA2_parser.add_argument('-i', required=True, help='OrthologousGroups.txt')
|
|
163
|
+
OMA2_parser.add_argument('-s', required=True, help='sequence dir, OrthologousGroupsFasta')
|
|
164
|
+
OMA2_parser.add_argument('-g', required=False, default=None, help='interested genomes')
|
|
165
|
+
OMA2_parser.add_argument('-o', required=True, default=None, help='output directory')
|
|
166
|
+
OMA2_parser.add_argument('-n', required=False, default=None, help='minimal number of gene in a OG, not compatible with -c')
|
|
167
|
+
OMA2_parser.add_argument('-c', required=False, default=None, help='minimal genome coverage cutoff, not compatible with -n')
|
|
168
|
+
OMA2_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
|
|
125
169
|
args = vars(OMA2_parser.parse_args())
|
|
126
170
|
OMA2(args)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: TreeSAK
|
|
3
|
-
Version: 1.35.
|
|
3
|
+
Version: 1.35.2
|
|
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.2
|
|
@@ -473,12 +473,13 @@ if __name__ == '__main__':
|
|
|
473
473
|
elif sys.argv[1] in ['OMA2', 'oma2', 'Oma2']:
|
|
474
474
|
from TreeSAK import OMA2
|
|
475
475
|
OMA2_parser = subparsers.add_parser('OMA2', usage=OMA2.OMA2_usage)
|
|
476
|
-
OMA2_parser.add_argument('-i',
|
|
477
|
-
OMA2_parser.add_argument('-s',
|
|
478
|
-
OMA2_parser.add_argument('-g',
|
|
479
|
-
OMA2_parser.add_argument('-o',
|
|
480
|
-
OMA2_parser.add_argument('-n',
|
|
481
|
-
OMA2_parser.add_argument('-
|
|
476
|
+
OMA2_parser.add_argument('-i', required=True, help='OrthologousGroups.txt')
|
|
477
|
+
OMA2_parser.add_argument('-s', required=True, help='sequence dir, OrthologousGroupsFasta')
|
|
478
|
+
OMA2_parser.add_argument('-g', required=False, default=None, help='interested genomes')
|
|
479
|
+
OMA2_parser.add_argument('-o', required=True, default=None, help='output directory')
|
|
480
|
+
OMA2_parser.add_argument('-n', required=False, default=None, help='minimal number of gene in a OG, not compatible with -c')
|
|
481
|
+
OMA2_parser.add_argument('-c', required=False, default=None, help='minimal genome coverage cutoff, not compatible with -n')
|
|
482
|
+
OMA2_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
|
|
482
483
|
args = vars(parser.parse_args())
|
|
483
484
|
OMA2.OMA2(args)
|
|
484
485
|
|
|
@@ -487,7 +488,7 @@ if __name__ == '__main__':
|
|
|
487
488
|
print(ALE.ALE_usage)
|
|
488
489
|
exit()
|
|
489
490
|
|
|
490
|
-
elif sys.argv[1]
|
|
491
|
+
elif sys.argv[1] in ['ALE1', 'ale1', 'Ale1']:
|
|
491
492
|
from TreeSAK import ALE1
|
|
492
493
|
ALE1_parser = subparsers.add_parser('ALE1', usage=ALE1.ALE1_usage)
|
|
493
494
|
ALE1_parser.add_argument('-i', required=False, default=None, help='orthologous groups, either from orthofinder or oma')
|
|
@@ -502,7 +503,7 @@ if __name__ == '__main__':
|
|
|
502
503
|
args = vars(parser.parse_args())
|
|
503
504
|
ALE1.ALE1(args)
|
|
504
505
|
|
|
505
|
-
elif sys.argv[1]
|
|
506
|
+
elif sys.argv[1] in ['ALE2', 'ale2', 'Ale2']:
|
|
506
507
|
from TreeSAK import ALE2
|
|
507
508
|
ALE2_parser = subparsers.add_parser('ALE2', usage=ALE2.ALE2_usage)
|
|
508
509
|
ALE2_parser.add_argument('-1', required=True, help='ALE1 output directory')
|
|
@@ -515,7 +516,7 @@ if __name__ == '__main__':
|
|
|
515
516
|
args = vars(parser.parse_args())
|
|
516
517
|
ALE2.ALE2(args)
|
|
517
518
|
|
|
518
|
-
elif sys.argv[1]
|
|
519
|
+
elif sys.argv[1] in ['ALE3', 'ale3', 'Ale3']:
|
|
519
520
|
from TreeSAK import ALE3
|
|
520
521
|
ALE3_parser = subparsers.add_parser('ALE3', usage=ALE3.ALE3_usage)
|
|
521
522
|
ALE3_parser.add_argument('-2', required=True, help='Folder with uml_rec files')
|
|
@@ -526,7 +527,7 @@ if __name__ == '__main__':
|
|
|
526
527
|
args = vars(parser.parse_args())
|
|
527
528
|
ALE3.ALE3(args)
|
|
528
529
|
|
|
529
|
-
elif sys.argv[1]
|
|
530
|
+
elif sys.argv[1] in ['ALE4', 'ale4', 'Ale4']:
|
|
530
531
|
from TreeSAK import ALE4
|
|
531
532
|
ALE4_parser = subparsers.add_parser('ALE4', usage=ALE4.ALE4_usage)
|
|
532
533
|
ALE4_parser.add_argument('-1', required=True, help='ALE1 output directory')
|
|
@@ -543,7 +544,7 @@ if __name__ == '__main__':
|
|
|
543
544
|
args = vars(parser.parse_args())
|
|
544
545
|
ALE4.ALE4(args)
|
|
545
546
|
|
|
546
|
-
elif sys.argv[1]
|
|
547
|
+
elif sys.argv[1] in ['ALE6', 'ale6', 'Ale6']:
|
|
547
548
|
from TreeSAK import ALE6
|
|
548
549
|
ALE6_parser = subparsers.add_parser('ALE6', usage=ALE6.ALE6_usage)
|
|
549
550
|
ALE6_parser.add_argument('-1', required=True, help='ALE1 output directory')
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|