TreeSAK 1.7.0__tar.gz → 1.7.1__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 (35) hide show
  1. {TreeSAK-1.7.0/TreeSAK.egg-info → TreeSAK-1.7.1}/PKG-INFO +2 -2
  2. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/AssessMarkerPA.py +24 -5
  3. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/VERSION +3 -3
  4. {TreeSAK-1.7.0 → TreeSAK-1.7.1/TreeSAK.egg-info}/PKG-INFO +2 -2
  5. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/.gitignore +0 -0
  6. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/LICENSE +0 -0
  7. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/MANIFEST.in +0 -0
  8. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/README.md +0 -0
  9. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/AssessCVG.py +0 -0
  10. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/ConvertMSA.py +0 -0
  11. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/Marker2Tree.py +0 -0
  12. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/OneLineAln.py +0 -0
  13. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/SliceMSA.py +0 -0
  14. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/TreeSAK_config copy.py +0 -0
  15. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/TreeSAK_config.py +0 -0
  16. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/__init__.py +0 -0
  17. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/compare_trees.R +0 -0
  18. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/compare_trees.py +0 -0
  19. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/format_leaf_name.py +0 -0
  20. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/get_arCOG_seq.py +0 -0
  21. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/iTOL.py +0 -0
  22. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/parse_deltall_stdout.py +0 -0
  23. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/rename_leaves.py +0 -0
  24. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK/subset_tree.py +0 -0
  25. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK.egg-info/SOURCES.txt +0 -0
  26. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK.egg-info/dependency_links.txt +0 -0
  27. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK.egg-info/requires.txt +0 -0
  28. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/TreeSAK.egg-info/top_level.txt +0 -0
  29. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/bin/TreeSAK +0 -0
  30. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/bin/__init__.py +0 -0
  31. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/images/Bioinformatics.jpg +0 -0
  32. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/images/windows_cmds.docx +0 -0
  33. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/images/windows_cmds.pdf +0 -0
  34. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/setup.cfg +0 -0
  35. {TreeSAK-1.7.0 → TreeSAK-1.7.1}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TreeSAK
3
- Version: 1.7.0
3
+ Version: 1.7.1
4
4
  Summary: BioSAK
5
5
  Home-page: https://github.com/songweizhi/TreeSAK
6
6
  Author: Weizhi Song
@@ -10,5 +10,5 @@ Keywords: Bioinformatics
10
10
  Platform: UNKNOWN
11
11
  License-File: LICENSE
12
12
 
13
- TreeSAK v1.7.0
13
+ TreeSAK v1.7.1
14
14
 
@@ -21,11 +21,23 @@ Note
21
21
 
22
22
  def AssessMarkerPA(args):
23
23
 
24
- trimmed_aln_dir = args['a']
25
- trimmed_aln_ext = args['x']
26
- gnm_meta_txt = args['g']
27
- cutoff_str = args['c']
28
- op_dir = args['o']
24
+ trimmed_aln_dir = args['a']
25
+ trimmed_aln_ext = args['x']
26
+ gnm_meta_txt = args['g']
27
+ cutoff_str = args['c']
28
+ op_dir = args['o']
29
+ force_overwriting = args['f']
30
+
31
+ # create folder
32
+ if force_overwriting is True:
33
+ if os.path.isdir(op_dir) is True:
34
+ os.system('rm -r %s' % op_dir)
35
+ else:
36
+ if os.path.isdir(op_dir) is True:
37
+ print('Output folder already exist, program exited!')
38
+ exit()
39
+ os.system('mkdir %s' % op_dir)
40
+
29
41
 
30
42
  present_pct_cutoff_list = [int(i) for i in cutoff_str.split('-')]
31
43
  assess_summary_1_txt = '%s/assessment_PA.txt' % op_dir
@@ -101,6 +113,7 @@ if __name__ == '__main__':
101
113
  parser.add_argument('-g', required=True, help='genome group')
102
114
  parser.add_argument('-c', required=False, default='25-50-75-85-100', help='cutoffs, default: 25-50-75-85-100')
103
115
  parser.add_argument('-o', required=True, help='output dir')
116
+ parser.add_argument('-f', required=False, action="store_true", help='force overwrite existing output folder')
104
117
  args = vars(parser.parse_args())
105
118
  AssessMarkerPA(args)
106
119
 
@@ -116,3 +129,9 @@ if __name__ == '__main__':
116
129
  # force_create_dir = True
117
130
  # #catfasta2phyml_pl = '/Users/songweizhi/PycharmProjects/Sponge_Hologenome/Scripts/catfasta2phyml.pl'
118
131
  # catfasta2phyml_pl = '/home-user/wzsong/Scripts/catfasta2phyml.pl'
132
+
133
+ '''
134
+ cd
135
+ BioSAK AssessMarkerPA -a op2/s06_identified_marker_aln_trimmed -x aln -g gnm_group.txt -c 25-50-75-100 -o op2/s10_assess_marker_PA
136
+
137
+ '''
@@ -1,12 +1,12 @@
1
+ 1.7.1
2
+ - fixed bugs
3
+
1
4
  1.7.0
2
5
  - added module AssessMarkerPA
3
6
 
4
7
  1.6.0
5
8
  - added module Marker2Tree
6
9
 
7
- 1.5.3
8
- - fixed bugs
9
-
10
10
  1.5.0
11
11
  - added module SliceMSA
12
12
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: TreeSAK
3
- Version: 1.7.0
3
+ Version: 1.7.1
4
4
  Summary: BioSAK
5
5
  Home-page: https://github.com/songweizhi/TreeSAK
6
6
  Author: Weizhi Song
@@ -10,5 +10,5 @@ Keywords: Bioinformatics
10
10
  Platform: UNKNOWN
11
11
  License-File: LICENSE
12
12
 
13
- TreeSAK v1.7.0
13
+ TreeSAK v1.7.1
14
14
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes