BioSAK 1.76.4__tar.gz → 1.76.5__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.
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/VERSION +1 -1
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/metaAssembly.py +10 -5
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK.egg-info/PKG-INFO +2 -2
- {BioSAK-1.76.4 → BioSAK-1.76.5}/PKG-INFO +2 -2
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/BLCA_op_parser.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/BioSAK_config.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/COG2020.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/COG_boxplot_last1row.R +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/COG_boxplot_last2row.R +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/CheckM.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/ConvertMSA.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/DnaFeaturesViewer.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/FastaSplitler_by_num.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/FastaSplitler_by_size.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/GTDB_for_BLCA.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/Gene2Ctg.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/KEGG.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/KEGG_boxplot_last1row.R +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/KEGG_get_eukaryotic_kos.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/KeepRemovingTmp.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/MeanMappingDepth.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/MetaBiosample.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/MetaCHIP_phylo.hmm +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/MetaCyc_reactions_with_ec.txt +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/NetEnzymes.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/Newick_tree_plotter.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/OneLineAln.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/PhyloBiAssoc.R +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/PhyloBiAssoc.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/Prodigal.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/Reads_simulator.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/RunGraphMB.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/SILVA_for_BLCA.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/SankeyTaxon.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/SliceMSA.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/SubsampleLongReads.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/Tax4Fun2IndOTU.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/VisBlastOp.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/VisGeneFlk.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/__init__.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/arCOG.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/bam2reads.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/boxplot_last1row.R +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/boxplot_matrix_COG.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/boxplot_matrix_COG_backup.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/boxplot_matrix_KEGG.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/boxplot_matrix_dbCAN.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/cat_fa.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/cdd2cog.pl +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/checkm_marker.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/compare_trees.R +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/compare_trees.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/cross_link_seqs.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/dbCAN.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/download_GenBank_genome_subset_prokaryotes_csv.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/dwnld_sra_reads.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/enrich.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/exe_cmds.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/ezaai2mat.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/fa2id.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/fa2phy.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/fa2tree.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/format_converter.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/format_leaf_name.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/fq2fa.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/gbk2faa.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/gbk2ffn.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/gbk2fna.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/gbk_to_ffn_faa.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_EC_from_ko_stats_D.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_GTDB_taxon_gnm.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_MAG_reads_long.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_Pfam_hmms.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_SCG_tree.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_TopHits_taxonomy.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_aa_composition.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_bin_abundance copy.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_gc.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_gene_depth.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_genome_GTDB.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_genome_NCBI.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_genome_NCBI_v1.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_genome_NCBI_v2.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_gnm_size.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_ko_gene_seqs.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_krona_plot.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_reads_from_sam.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_reads_id_in_sam.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_sankey_plot.R +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_top_hit.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/get_total_length.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/global_functions.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/hpc3.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/iTOL.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/js_cmds.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/keep_best_hit.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/ko00001.keg +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/label_tree.R +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/label_tree.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/link_16S_MAG.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/magabund.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/magabund2.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/manipulator_fasta.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/manipulator_msa.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/manipulator_newick.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/manipulator_sam.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/mean_MAG_cov.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/merge_seq.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/metabat2concoct.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/metabat2maxbin.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/msa_to_distance_matrix.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/ncbi_dataset.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/parse_MetaCyc_RxnDB.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/parse_mmseqs_tsv.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/plot_mag.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/plot_sam_depth.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/plot_tree.R +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/prefix_file.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/prokka.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/reads2bam.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/rename_leaves.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/rename_reads_for_Reago.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/rename_seq.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/rename_seqs.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/sam2bam.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/sampling_GTDB_gnms.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/select_seq.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/sep_reads_by_barcode.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/slice_seq.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/split_fasta.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/split_folder.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/split_sam.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/submitHPC.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/subset_GTDB_meta.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/subset_tree.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/top_16S_hits.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/top_hits_in_a_group.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK/usearch_uc.py +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK.egg-info/SOURCES.txt +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK.egg-info/dependency_links.txt +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK.egg-info/requires.txt +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/BioSAK.egg-info/top_level.txt +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/LICENSE +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/MANIFEST.in +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/README.md +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/bin/BioSAK +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/setup.cfg +0 -0
- {BioSAK-1.76.4 → BioSAK-1.76.5}/setup.py +0 -0
|
@@ -53,6 +53,7 @@ def metaAssembly(args):
|
|
|
53
53
|
|
|
54
54
|
tmp_dir = '%s/tmp' % op_dir
|
|
55
55
|
op_txt = '%s/output.txt' % op_dir
|
|
56
|
+
cmd_txt = '%s/cmds.txt' % op_dir
|
|
56
57
|
|
|
57
58
|
os.mkdir(op_dir)
|
|
58
59
|
os.mkdir(tmp_dir)
|
|
@@ -67,16 +68,20 @@ def metaAssembly(args):
|
|
|
67
68
|
else:
|
|
68
69
|
assembly_id_set.add(assembly_id_txt)
|
|
69
70
|
|
|
70
|
-
#
|
|
71
|
-
|
|
71
|
+
# prepare cmds for datasets and dataformat
|
|
72
|
+
cmd_list = []
|
|
73
|
+
cmd_txt_handle = open(cmd_txt, 'w')
|
|
72
74
|
for assembly_id in assembly_id_set:
|
|
73
75
|
op_metadata_tsv = '%s/%s_data_report.tsv' % (tmp_dir, assembly_id)
|
|
74
76
|
ncbi_datasets_cmd = 'datasets summary genome accession %s --as-json-lines | dataformat tsv genome > %s' % (assembly_id, op_metadata_tsv)
|
|
75
|
-
|
|
77
|
+
cmd_list.append(ncbi_datasets_cmd)
|
|
78
|
+
cmd_txt_handle.write(ncbi_datasets_cmd + '\n')
|
|
79
|
+
cmd_txt_handle.close()
|
|
76
80
|
|
|
77
|
-
|
|
81
|
+
# run datasets and dataformat with mp
|
|
82
|
+
print('Running %s commands with %s cores' % (len(cmd_list), num_threads))
|
|
78
83
|
pool = mp.Pool(processes=num_threads)
|
|
79
|
-
pool.map(os.system,
|
|
84
|
+
pool.map(os.system, cmd_list)
|
|
80
85
|
pool.close()
|
|
81
86
|
pool.join()
|
|
82
87
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: BioSAK
|
|
3
|
-
Version: 1.76.
|
|
3
|
+
Version: 1.76.5
|
|
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.76.
|
|
23
|
+
BioSAK v1.76.5
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: BioSAK
|
|
3
|
-
Version: 1.76.
|
|
3
|
+
Version: 1.76.5
|
|
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.76.
|
|
23
|
+
BioSAK v1.76.5
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|