BioSAK 1.86.4__tar.gz → 1.87.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.
Files changed (163) hide show
  1. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/VERSION +3 -0
  2. BioSAK-1.87.0/BioSAK/compare_sets.py +53 -0
  3. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/ribbon.py +3 -13
  4. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK.egg-info/PKG-INFO +2 -2
  5. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK.egg-info/SOURCES.txt +1 -1
  6. {BioSAK-1.86.4 → BioSAK-1.87.0}/PKG-INFO +2 -2
  7. {BioSAK-1.86.4 → BioSAK-1.87.0}/bin/BioSAK +9 -0
  8. BioSAK-1.86.4/BioSAK/tmp_1.py +0 -6
  9. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/BLCA_op_parser.py +0 -0
  10. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/BioSAK_config.py +0 -0
  11. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/COG2020.py +0 -0
  12. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/COG_boxplot_last1row.R +0 -0
  13. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/COG_boxplot_last2row.R +0 -0
  14. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/CheckM.py +0 -0
  15. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/ConvertMSA.py +0 -0
  16. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/DnaFeaturesViewer.py +0 -0
  17. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/FastaSplitler_by_num.py +0 -0
  18. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/FastaSplitler_by_size.py +0 -0
  19. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/GTDB_for_BLCA.py +0 -0
  20. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/Gene2Ctg.py +0 -0
  21. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/KEGG.py +0 -0
  22. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/KEGG_boxplot_last1row.R +0 -0
  23. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/KEGG_get_eukaryotic_kos.py +0 -0
  24. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/KeepRemovingTmp.py +0 -0
  25. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/MeanMappingDepth.py +0 -0
  26. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/MetaBiosample.py +0 -0
  27. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/MetaCHIP_phylo.hmm +0 -0
  28. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/MetaCyc_reactions_with_ec.txt +0 -0
  29. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/NetEnzymes.py +0 -0
  30. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/Newick_tree_plotter.py +0 -0
  31. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/OneLineAln.py +0 -0
  32. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/Prodigal.py +0 -0
  33. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/Reads_simulator.py +0 -0
  34. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/RunGraphMB.py +0 -0
  35. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/SILVA_for_BLCA.py +0 -0
  36. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/SankeyTaxon.py +0 -0
  37. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/SliceMSA.py +0 -0
  38. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/SubsampleLongReads.py +0 -0
  39. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/Tax4Fun2IndOTU.py +0 -0
  40. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/VisBlastOp.py +0 -0
  41. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/VisGeneFlk.py +0 -0
  42. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/__init__.py +0 -0
  43. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/add_desc.py +0 -0
  44. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/arCOG.py +0 -0
  45. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/bam2reads.py +0 -0
  46. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/boxplot.py +0 -0
  47. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/boxplot_last1row.R +0 -0
  48. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/boxplot_matrix_COG.py +0 -0
  49. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/boxplot_matrix_COG_backup.py +0 -0
  50. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/boxplot_matrix_KEGG.py +0 -0
  51. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/boxplot_matrix_dbCAN.py +0 -0
  52. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/cat_fa.py +0 -0
  53. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/cdd2cog.pl +0 -0
  54. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/checkm_marker.py +0 -0
  55. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/compare_trees.R +0 -0
  56. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/compare_trees.py +0 -0
  57. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/cross_link_seqs.py +0 -0
  58. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/dbCAN.py +0 -0
  59. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/download_GenBank_genome_subset_prokaryotes_csv.py +0 -0
  60. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/dwnld_sra_reads.py +0 -0
  61. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/enrich.py +0 -0
  62. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/exe_cmds.py +0 -0
  63. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/ezaai2mat.py +0 -0
  64. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/fa2id.py +0 -0
  65. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/fa2phy.py +0 -0
  66. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/fa2tree.py +0 -0
  67. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/format_converter.py +0 -0
  68. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/format_leaf_name.py +0 -0
  69. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/fq2fa.py +0 -0
  70. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/gapseq.py +0 -0
  71. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/gbk2faa.py +0 -0
  72. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/gbk2ffn.py +0 -0
  73. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/gbk2fna.py +0 -0
  74. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/gbk2gff.py +0 -0
  75. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/gbk_to_ffn_faa.py +0 -0
  76. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/gc.py +0 -0
  77. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_EC_from_ko_stats_D.py +0 -0
  78. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_GTDB_taxon_gnm.py +0 -0
  79. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_MAG_reads_long.py +0 -0
  80. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_Pfam_hmms.py +0 -0
  81. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_SCG_tree.py +0 -0
  82. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_TopHits_taxonomy.py +0 -0
  83. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_aa_composition.py +0 -0
  84. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_bin_abundance copy.py +0 -0
  85. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_data_matrix.py +0 -0
  86. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_gene_depth.py +0 -0
  87. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_genome_GTDB.py +0 -0
  88. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_genome_NCBI.py +0 -0
  89. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_genome_NCBI_v1.py +0 -0
  90. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_genome_NCBI_v2.py +0 -0
  91. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_gnm_size.py +0 -0
  92. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_ko_gene_seqs.py +0 -0
  93. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_krona_plot.py +0 -0
  94. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_reads_from_sam.py +0 -0
  95. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_reads_id_in_sam.py +0 -0
  96. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_sankey_plot.R +0 -0
  97. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_top_hit.py +0 -0
  98. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/get_total_length.py +0 -0
  99. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/gff2chrom.py +0 -0
  100. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/global_functions.py +0 -0
  101. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/hpc3.py +0 -0
  102. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/iTOL.py +0 -0
  103. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/js_cmds.py +0 -0
  104. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/js_hpc3.py +0 -0
  105. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/keep_best_hit.py +0 -0
  106. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/ko00001.keg +0 -0
  107. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/koala.py +0 -0
  108. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/label_tree.R +0 -0
  109. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/label_tree.py +0 -0
  110. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/link_16S_MAG.py +0 -0
  111. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/magabund.py +0 -0
  112. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/magabund2.py +0 -0
  113. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/manipulator_fasta.py +0 -0
  114. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/manipulator_msa.py +0 -0
  115. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/manipulator_newick.py +0 -0
  116. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/manipulator_sam.py +0 -0
  117. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/mannwhitneyu.py +0 -0
  118. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/mean_MAG_cov.py +0 -0
  119. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/merge_df.py +0 -0
  120. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/merge_seq.py +0 -0
  121. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/metaAssembly.py +0 -0
  122. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/metabat2concoct.py +0 -0
  123. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/metabat2maxbin.py +0 -0
  124. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/msa_to_distance_matrix.py +0 -0
  125. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/ncbi_dataset.py +0 -0
  126. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/odp.py +0 -0
  127. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/parse_MetaCyc_RxnDB.py +0 -0
  128. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/parse_mmseqs_tsv.py +0 -0
  129. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/plot_mag.py +0 -0
  130. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/plot_sam_depth.py +0 -0
  131. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/plot_tree.R +0 -0
  132. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/prefix_file.py +0 -0
  133. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/prokka.py +0 -0
  134. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/reads2bam.py +0 -0
  135. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/rename_leaves.py +0 -0
  136. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/rename_reads_for_Reago.py +0 -0
  137. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/rename_seq.py +0 -0
  138. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/rename_seqs.py +0 -0
  139. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/sam2bam.py +0 -0
  140. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/sampling_GTDB_gnms.py +0 -0
  141. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/select_seq.py +0 -0
  142. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/sep_reads_by_barcode.py +0 -0
  143. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/slice_seq.py +0 -0
  144. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/split_fasta.py +0 -0
  145. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/split_folder.py +0 -0
  146. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/split_sam.py +0 -0
  147. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/submitHPC.py +0 -0
  148. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/subset_GTDB_meta.py +0 -0
  149. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/subset_df.py +0 -0
  150. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/subset_tree.py +0 -0
  151. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/top_16S_hits.py +0 -0
  152. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/top_hits_in_a_group.py +0 -0
  153. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/transpose.py +0 -0
  154. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/usearch_uc.py +0 -0
  155. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK/wilcox.py +0 -0
  156. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK.egg-info/dependency_links.txt +0 -0
  157. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK.egg-info/requires.txt +0 -0
  158. {BioSAK-1.86.4 → BioSAK-1.87.0}/BioSAK.egg-info/top_level.txt +0 -0
  159. {BioSAK-1.86.4 → BioSAK-1.87.0}/LICENSE +0 -0
  160. {BioSAK-1.86.4 → BioSAK-1.87.0}/MANIFEST.in +0 -0
  161. {BioSAK-1.86.4 → BioSAK-1.87.0}/README.md +0 -0
  162. {BioSAK-1.86.4 → BioSAK-1.87.0}/setup.cfg +0 -0
  163. {BioSAK-1.86.4 → BioSAK-1.87.0}/setup.py +0 -0
@@ -1,3 +1,6 @@
1
+ 1.87.0
2
+ - new modules added: compare_sets
3
+
1
4
  1.86.4
2
5
  - fixed bugs
3
6
 
@@ -0,0 +1,53 @@
1
+ import os
2
+ import argparse
3
+
4
+
5
+ compare_sets_usage = '''
6
+ ========= compare_sets example command =========
7
+
8
+ BioSAK compare_sets -1 file1.txt -2 file2.txt
9
+
10
+ ================================================
11
+ '''
12
+
13
+
14
+ def compare_sets(args):
15
+
16
+ file_1 = args['1']
17
+ file_2 = args['2']
18
+
19
+ set_1 = set()
20
+ for each_line in open(file_1):
21
+ set_1.add(each_line.strip().split()[0])
22
+
23
+ set_2 = set()
24
+ for each_line in open(file_2):
25
+ set_2.add(each_line.strip().split()[0])
26
+
27
+ shared_id_set = set(set_1).intersection(set_2)
28
+
29
+ set_1_uniq = set()
30
+ for e1 in set_1:
31
+ if e1 not in shared_id_set:
32
+ set_1_uniq.add(e1)
33
+
34
+ set_2_uniq = set()
35
+ for e2 in set_2:
36
+ if e2 not in shared_id_set:
37
+ set_2_uniq.add(e2)
38
+
39
+ if len(shared_id_set) == 0:
40
+ print('No id shared between %s and %s' % (file_1, file_2))
41
+ else:
42
+ print('Shared IDs\n%s\n' % '.'.join(shared_id_set))
43
+ print('IDs uniq to %s\n%s\n' % (file_1, '.'.join(sorted(list(set_1_uniq)))))
44
+ print('IDs uniq to %s\n%s\n' % (file_2, '.'.join(sorted(list(set_2_uniq)))))
45
+
46
+
47
+ if __name__ == '__main__':
48
+
49
+ compare_sets_parser = argparse.ArgumentParser(usage=compare_sets_usage)
50
+ compare_sets_parser.add_argument('-1', required=True, help='file 1')
51
+ compare_sets_parser.add_argument('-2', required=True, help='file 2')
52
+ args = vars(compare_sets_parser.parse_args())
53
+ compare_sets(args)
@@ -6,21 +6,21 @@ from Bio import SeqIO
6
6
 
7
7
 
8
8
  ribbon_usage = '''
9
- ==================== ribbon example commands ====================
9
+ ============================= ribbon example commands =============================
10
10
 
11
11
  # Dependencies: opd
12
12
 
13
13
  # example commands
14
14
  odp="/scratch/PI/ocessongwz/Software/odp/scripts/odp"
15
15
  ribbon="/scratch/PI/ocessongwz/Software/odp/scripts/odp_rbh_to_ribbon"
16
- BioSAK ribbon -plot_lgs -co chrom_order.txt -o ribbon_op_dir -fa demo_files -pep demo_files -chrom demo_files -f -odp $odp -odp_rbh_to_ribbon $ribbon
16
+ BioSAK ribbon -plot_lgs -co chrom_order.txt -o op_dir -fa demo_files -pep demo_files -chrom demo_files -f -odp $odp -odp_rbh_to_ribbon $ribbon
17
17
 
18
18
  Note:
19
19
  1. Species names can't have '_' char
20
20
  2. Reference: https://github.com/conchoecia/odp
21
21
  3. Demo data: https://github.com/songweizhi/BioSAK/tree/master/demo_data/ribbon
22
22
 
23
- =================================================================
23
+ ===================================================================================
24
24
  '''
25
25
 
26
26
 
@@ -323,13 +323,3 @@ if __name__ == '__main__':
323
323
  ribbon_parser.add_argument('-odp_rbh_to_ribbon', required=False, default='odp_rbh_to_ribbon', help='executable file odp_rbh_to_ribbon, default: odp_rbh_to_ribbon')
324
324
  args = vars(ribbon_parser.parse_args())
325
325
  ribbon(args)
326
-
327
-
328
- '''
329
-
330
- python3 /Users/songweizhi/PycharmProjects/BioSAK/BioSAK/ribbon.py -o demo -fa example_files -f -odp /scratch/PI/ocessongwz/Software/odp/scripts/odp -odp_rbh_to_ribbon /scratch/PI/ocessongwz/Software/odp/scripts/odp_rbh_to_ribbon
331
-
332
- cd /scratch/PI/ocessongwz/odp_wd
333
- BioSAK hpc3 -q cpu -a oces -t 12 -conda odp -n odp -c "BioSAK ribbon -t 12 -plot_lgs -co chrom_order.txt -o ribbon_op_dir2 -fa example_files -pep example_files -chrom example_files -f -odp /scratch/PI/ocessongwz/Software/odp/scripts/odp -odp_rbh_to_ribbon /scratch/PI/ocessongwz/Software/odp/scripts/odp_rbh_to_ribbon"
334
-
335
- '''
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: BioSAK
3
- Version: 1.86.4
3
+ Version: 1.87.0
4
4
  Summary: BioSAK
5
5
  Home-page: https://github.com/songweizhi/BioSAK
6
6
  Author: Weizhi Song
@@ -20,4 +20,4 @@ Requires-Dist: beautifulsoup4
20
20
  Requires-Dist: ete3
21
21
  Requires-Dist: statsmodels
22
22
 
23
- BioSAK v1.86.4
23
+ BioSAK v1.87.0
@@ -49,6 +49,7 @@ BioSAK/boxplot_matrix_dbCAN.py
49
49
  BioSAK/cat_fa.py
50
50
  BioSAK/cdd2cog.pl
51
51
  BioSAK/checkm_marker.py
52
+ BioSAK/compare_sets.py
52
53
  BioSAK/compare_trees.R
53
54
  BioSAK/compare_trees.py
54
55
  BioSAK/cross_link_seqs.py
@@ -146,7 +147,6 @@ BioSAK/submitHPC.py
146
147
  BioSAK/subset_GTDB_meta.py
147
148
  BioSAK/subset_df.py
148
149
  BioSAK/subset_tree.py
149
- BioSAK/tmp_1.py
150
150
  BioSAK/top_16S_hits.py
151
151
  BioSAK/top_hits_in_a_group.py
152
152
  BioSAK/transpose.py
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: BioSAK
3
- Version: 1.86.4
3
+ Version: 1.87.0
4
4
  Summary: BioSAK
5
5
  Home-page: https://github.com/songweizhi/BioSAK
6
6
  Author: Weizhi Song
@@ -20,4 +20,4 @@ Requires-Dist: beautifulsoup4
20
20
  Requires-Dist: ete3
21
21
  Requires-Dist: statsmodels
22
22
 
23
- BioSAK v1.86.4
23
+ BioSAK v1.87.0
@@ -120,6 +120,7 @@ def print_main_help():
120
120
  submitHPC -> A wrapper for submitHPC.sh
121
121
  KeepRemovingTmp -> Keep removing old files in a folder
122
122
  ribbon -> Make a ribbon diagram
123
+ compare_sets -> compare_sets
123
124
 
124
125
  1. Phylogenetic tree-related modules have been moved to TreeSAK
125
126
  2. Use "pip3 install --upgrade BioSAK" to get the latest version
@@ -999,6 +1000,14 @@ if __name__ == '__main__':
999
1000
  args = vars(parser.parse_args())
1000
1001
  mannwhitneyu.mannwhitneyu(args)
1001
1002
 
1003
+ elif sys.argv[1] == 'compare_sets':
1004
+ from BioSAK import compare_sets
1005
+ compare_sets_parser = subparsers.add_parser('compare_sets', usage=compare_sets.compare_sets_usage)
1006
+ compare_sets_parser.add_argument('-1', required=True, help='file 1')
1007
+ compare_sets_parser.add_argument('-2', required=True, help='file 2')
1008
+ args = vars(parser.parse_args())
1009
+ compare_sets.compare_sets(args)
1010
+
1002
1011
  elif sys.argv[1] == 'ribbon':
1003
1012
  from BioSAK import ribbon
1004
1013
  ribbon_parser = subparsers.add_parser('ribbon', usage=ribbon.ribbon_usage)
@@ -1,6 +0,0 @@
1
-
2
- import os
3
-
4
- dir = '/Users/songweizhi/Desktop/demo'
5
- sub_dir_list = next(os.walk(dir))[1]
6
- print(sub_dir_list)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes