BioSAK 1.76.7__tar.gz → 1.76.9__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.7 → BioSAK-1.76.9}/BioSAK/VERSION +1 -1
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/arCOG.py +2 -2
- BioSAK-1.76.9/BioSAK/get_data_matrix.py +59 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/js_cmds.py +6 -1
- BioSAK-1.76.9/BioSAK/odp.py +0 -0
- BioSAK-1.76.9/BioSAK/ribbon.py +18 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK.egg-info/PKG-INFO +2 -2
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK.egg-info/SOURCES.txt +3 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/PKG-INFO +2 -2
- {BioSAK-1.76.7 → BioSAK-1.76.9}/README.md +1 -1
- {BioSAK-1.76.7 → BioSAK-1.76.9}/bin/BioSAK +2 -1
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/BLCA_op_parser.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/BioSAK_config.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/COG2020.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/COG_boxplot_last1row.R +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/COG_boxplot_last2row.R +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/CheckM.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/ConvertMSA.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/DnaFeaturesViewer.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/FastaSplitler_by_num.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/FastaSplitler_by_size.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/GTDB_for_BLCA.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/Gene2Ctg.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/KEGG.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/KEGG_boxplot_last1row.R +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/KEGG_get_eukaryotic_kos.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/KeepRemovingTmp.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/MeanMappingDepth.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/MetaBiosample.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/MetaCHIP_phylo.hmm +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/MetaCyc_reactions_with_ec.txt +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/NetEnzymes.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/Newick_tree_plotter.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/OneLineAln.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/PhyloBiAssoc.R +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/PhyloBiAssoc.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/Prodigal.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/Reads_simulator.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/RunGraphMB.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/SILVA_for_BLCA.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/SankeyTaxon.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/SliceMSA.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/SubsampleLongReads.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/Tax4Fun2IndOTU.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/VisBlastOp.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/VisGeneFlk.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/__init__.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/bam2reads.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/boxplot_last1row.R +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/boxplot_matrix_COG.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/boxplot_matrix_COG_backup.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/boxplot_matrix_KEGG.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/boxplot_matrix_dbCAN.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/cat_fa.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/cdd2cog.pl +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/checkm_marker.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/compare_trees.R +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/compare_trees.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/cross_link_seqs.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/dbCAN.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/download_GenBank_genome_subset_prokaryotes_csv.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/dwnld_sra_reads.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/enrich.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/exe_cmds.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/ezaai2mat.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/fa2id.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/fa2phy.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/fa2tree.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/format_converter.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/format_leaf_name.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/fq2fa.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/gbk2faa.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/gbk2ffn.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/gbk2fna.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/gbk_to_ffn_faa.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_EC_from_ko_stats_D.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_GTDB_taxon_gnm.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_MAG_reads_long.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_Pfam_hmms.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_SCG_tree.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_TopHits_taxonomy.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_aa_composition.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_bin_abundance copy.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_gc.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_gene_depth.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_genome_GTDB.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_genome_NCBI.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_genome_NCBI_v1.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_genome_NCBI_v2.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_gnm_size.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_ko_gene_seqs.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_krona_plot.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_reads_from_sam.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_reads_id_in_sam.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_sankey_plot.R +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_top_hit.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/get_total_length.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/global_functions.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/hpc3.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/iTOL.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/keep_best_hit.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/ko00001.keg +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/label_tree.R +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/label_tree.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/link_16S_MAG.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/magabund.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/magabund2.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/manipulator_fasta.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/manipulator_msa.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/manipulator_newick.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/manipulator_sam.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/mean_MAG_cov.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/merge_seq.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/metaAssembly.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/metabat2concoct.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/metabat2maxbin.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/msa_to_distance_matrix.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/ncbi_dataset.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/parse_MetaCyc_RxnDB.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/parse_mmseqs_tsv.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/plot_mag.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/plot_sam_depth.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/plot_tree.R +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/prefix_file.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/prokka.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/reads2bam.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/rename_leaves.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/rename_reads_for_Reago.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/rename_seq.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/rename_seqs.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/sam2bam.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/sampling_GTDB_gnms.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/select_seq.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/sep_reads_by_barcode.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/slice_seq.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/split_fasta.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/split_folder.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/split_sam.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/submitHPC.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/subset_GTDB_meta.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/subset_tree.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/top_16S_hits.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/top_hits_in_a_group.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK/usearch_uc.py +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK.egg-info/dependency_links.txt +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK.egg-info/requires.txt +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/BioSAK.egg-info/top_level.txt +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/LICENSE +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/MANIFEST.in +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/setup.cfg +0 -0
- {BioSAK-1.76.7 → BioSAK-1.76.9}/setup.py +0 -0
|
@@ -25,7 +25,7 @@ BioSAK arCOG -m N -t 6 -db_dir /Users/songweizhi/DB/arCOG18 -i ffn_files -x ffn
|
|
|
25
25
|
cd path/to/your/arCOG_db_dir
|
|
26
26
|
wget https://ftp.ncbi.nih.gov/pub/wolf/COGs/arCOG/tmp.ar18/ar18.fa.gz
|
|
27
27
|
wget https://ftp.ncbi.nih.gov/pub/wolf/COGs/arCOG/tmp.ar18/ar18.ar14.02.csv
|
|
28
|
-
wget https://ftp.ncbi.nih.gov/pub/wolf/COGs/arCOG/tmp.ar18/
|
|
28
|
+
wget https://ftp.ncbi.nih.gov/pub/wolf/COGs/arCOG/tmp.ar18/arCOGdef.tab
|
|
29
29
|
wget https://ftp.ncbi.nih.gov/pub/COG/COG2020/data/fun-20.tab
|
|
30
30
|
gunzip ar18.fa.gz
|
|
31
31
|
makeblastdb -in ar18.fa -dbtype prot -parse_seqids -logfile ar18.fa.log
|
|
@@ -476,7 +476,7 @@ def arCOG(args):
|
|
|
476
476
|
ar18_fa = '%s/ar18.fa' % DB_dir
|
|
477
477
|
ar18_fa_diamond = '%s/ar18.fa.dmnd' % DB_dir
|
|
478
478
|
ar18_ar14_02_csv = '%s/ar18.ar14.02.csv' % DB_dir
|
|
479
|
-
cog_des_txt = '%s/
|
|
479
|
+
cog_des_txt = '%s/arCOGdef.tab' % DB_dir
|
|
480
480
|
pwd_fun_20_tab = '%s/fun-20.tab' % DB_dir
|
|
481
481
|
|
|
482
482
|
############################################ check whether db file exist ###########################################
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import glob
|
|
3
|
+
|
|
4
|
+
###############################################################
|
|
5
|
+
|
|
6
|
+
input_dir = '/Users/songweizhi/Desktop/Examples'
|
|
7
|
+
file_ext = 'txt'
|
|
8
|
+
note_txt = '/Users/songweizhi/Desktop/0.Basic.infor'
|
|
9
|
+
op_file = '/Users/songweizhi/Desktop/op_dm.txt'
|
|
10
|
+
skip_1st_row = True # specify as True or False
|
|
11
|
+
|
|
12
|
+
###############################################################
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def sep_path_basename_ext(file_in):
|
|
16
|
+
f_path, file_name = os.path.split(file_in)
|
|
17
|
+
if f_path == '':
|
|
18
|
+
f_path = '.'
|
|
19
|
+
f_base, f_ext = os.path.splitext(file_name)
|
|
20
|
+
return f_path, f_base, f_ext
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
note_dict = dict()
|
|
24
|
+
for each_line in open(note_txt):
|
|
25
|
+
each_line_split = each_line.strip().split('\t')
|
|
26
|
+
note_dict[each_line_split[0]] = each_line_split[1]
|
|
27
|
+
|
|
28
|
+
id_set = set()
|
|
29
|
+
annotation_dod = dict()
|
|
30
|
+
for each_file in glob.glob('%s/*.%s' % (input_dir, file_ext)):
|
|
31
|
+
f_path, f_base, f_ext = sep_path_basename_ext(each_file)
|
|
32
|
+
line_num_index = 1
|
|
33
|
+
current_annotation_dict = dict()
|
|
34
|
+
for each_line in open(each_file):
|
|
35
|
+
each_line_split = each_line.strip().split('\t')
|
|
36
|
+
if line_num_index == 1:
|
|
37
|
+
if skip_1st_row is False:
|
|
38
|
+
current_annotation_dict[each_line_split[0]] = each_line_split[1]
|
|
39
|
+
id_set.add(each_line_split[0])
|
|
40
|
+
else:
|
|
41
|
+
current_annotation_dict[each_line_split[0]] = each_line_split[1]
|
|
42
|
+
id_set.add(each_line_split[0])
|
|
43
|
+
line_num_index += 1
|
|
44
|
+
annotation_dod[f_base] = current_annotation_dict
|
|
45
|
+
|
|
46
|
+
id_list_sorted = sorted([i for i in id_set])
|
|
47
|
+
desc_list_sorted = [note_dict.get(i, 'na') for i in id_list_sorted]
|
|
48
|
+
file_list_sorted = sorted(list(annotation_dod.keys()))
|
|
49
|
+
|
|
50
|
+
op_file_handle = open(op_file, 'w')
|
|
51
|
+
op_file_handle.write('Class\tNote\t' + '\t'.join(file_list_sorted) + '\n')
|
|
52
|
+
for each_id in id_list_sorted:
|
|
53
|
+
id_desc = note_dict.get(each_id, 'na')
|
|
54
|
+
current_id_value_list = [each_id, id_desc]
|
|
55
|
+
for each_sample in file_list_sorted:
|
|
56
|
+
current_dict = annotation_dod[each_sample]
|
|
57
|
+
current_id_value_list.append(current_dict.get(each_id, 'na'))
|
|
58
|
+
op_file_handle.write('\t'.join(current_id_value_list) + '\n')
|
|
59
|
+
op_file_handle.close()
|
|
@@ -20,6 +20,7 @@ def js_cmds(args):
|
|
|
20
20
|
auto_submit = args['auto']
|
|
21
21
|
js_folder_hpc = args['js_hpc']
|
|
22
22
|
force_overwrite = args['force']
|
|
23
|
+
use_sbatch = args['sbatch']
|
|
23
24
|
|
|
24
25
|
pwd_js_folder = '%s/%s_js' % (os.getcwd(), js_prefix)
|
|
25
26
|
|
|
@@ -56,7 +57,10 @@ def js_cmds(args):
|
|
|
56
57
|
|
|
57
58
|
if auto_submit is True:
|
|
58
59
|
pwd_js_previous_handle = open(pwd_js_previous, 'a')
|
|
59
|
-
|
|
60
|
+
if use_sbatch is True:
|
|
61
|
+
pwd_js_previous_handle.write('sbatch %s\n' % pwd_js_hpc)
|
|
62
|
+
else:
|
|
63
|
+
pwd_js_previous_handle.write('qsub %s\n' % pwd_js_hpc)
|
|
60
64
|
pwd_js_previous_handle.close()
|
|
61
65
|
|
|
62
66
|
pwd_js_handle = open(pwd_js, 'w')
|
|
@@ -82,6 +86,7 @@ if __name__ == '__main__':
|
|
|
82
86
|
parser.add_argument('-hd', required=True, help='js header')
|
|
83
87
|
parser.add_argument('-n', required=True, type=int, help='number of cmds per js')
|
|
84
88
|
parser.add_argument('-auto', required=False, action="store_true", help='automatically submit next js')
|
|
89
|
+
parser.add_argument('-sbatch', required=False, action="store_true", help='use sbatch, instead of qsub')
|
|
85
90
|
parser.add_argument('-js_hpc', required=False, default=None, help='Full path to js folder on HPC')
|
|
86
91
|
parser.add_argument('-force', required=False, action="store_true", help='force overwrite existing results')
|
|
87
92
|
args = vars(parser.parse_args())
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: BioSAK
|
|
3
|
-
Version: 1.76.
|
|
3
|
+
Version: 1.76.9
|
|
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.9
|
|
@@ -76,6 +76,7 @@ BioSAK/get_SCG_tree.py
|
|
|
76
76
|
BioSAK/get_TopHits_taxonomy.py
|
|
77
77
|
BioSAK/get_aa_composition.py
|
|
78
78
|
BioSAK/get_bin_abundance copy.py
|
|
79
|
+
BioSAK/get_data_matrix.py
|
|
79
80
|
BioSAK/get_gc.py
|
|
80
81
|
BioSAK/get_gene_depth.py
|
|
81
82
|
BioSAK/get_genome_GTDB.py
|
|
@@ -112,6 +113,7 @@ BioSAK/metabat2concoct.py
|
|
|
112
113
|
BioSAK/metabat2maxbin.py
|
|
113
114
|
BioSAK/msa_to_distance_matrix.py
|
|
114
115
|
BioSAK/ncbi_dataset.py
|
|
116
|
+
BioSAK/odp.py
|
|
115
117
|
BioSAK/parse_MetaCyc_RxnDB.py
|
|
116
118
|
BioSAK/parse_mmseqs_tsv.py
|
|
117
119
|
BioSAK/plot_mag.py
|
|
@@ -124,6 +126,7 @@ BioSAK/rename_leaves.py
|
|
|
124
126
|
BioSAK/rename_reads_for_Reago.py
|
|
125
127
|
BioSAK/rename_seq.py
|
|
126
128
|
BioSAK/rename_seqs.py
|
|
129
|
+
BioSAK/ribbon.py
|
|
127
130
|
BioSAK/sam2bam.py
|
|
128
131
|
BioSAK/sampling_GTDB_gnms.py
|
|
129
132
|
BioSAK/select_seq.py
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: BioSAK
|
|
3
|
-
Version: 1.76.
|
|
3
|
+
Version: 1.76.9
|
|
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.9
|
|
@@ -15,7 +15,7 @@ Shan Zhang<sup>1,2</sup> and Weizhi Song<sup>1,2</sup>
|
|
|
15
15
|
|
|
16
16
|
<sup>2</sup> Department of Ocean Science, Hong Kong University of Science and Technology, Hong Kong
|
|
17
17
|
|
|
18
|
-
E-mail:
|
|
18
|
+
E-mail: shanzhang@ust.hk and songwz03@gmail.com
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
Installation
|
|
@@ -110,7 +110,7 @@ def print_main_help():
|
|
|
110
110
|
KeepRemovingTmp -> Keep removing old files in a folder
|
|
111
111
|
|
|
112
112
|
1. Phylogenetic tree-related modules have been moved to TreeSAK
|
|
113
|
-
2. Use "pip3 install --upgrade BioSAK" to get the latest version
|
|
113
|
+
2. Use "pip3 install --upgrade BioSAK" to get the latest version
|
|
114
114
|
''' % version(config_dict)
|
|
115
115
|
|
|
116
116
|
print(help_message)
|
|
@@ -458,6 +458,7 @@ if __name__ == '__main__':
|
|
|
458
458
|
js_cmds_parser.add_argument('-hd', required=True, help='js header')
|
|
459
459
|
js_cmds_parser.add_argument('-n', required=True, type=int, help='number of cmds per js')
|
|
460
460
|
js_cmds_parser.add_argument('-auto', required=False, action="store_true", help='automatically submit next js')
|
|
461
|
+
js_cmds_parser.add_argument('-sbatch', required=False, action="store_true", help='use sbatch, instead of qsub')
|
|
461
462
|
js_cmds_parser.add_argument('-js_hpc', required=False, default=None, help='Full path to js folder on HPC')
|
|
462
463
|
js_cmds_parser.add_argument('-force', required=False, action="store_true", help='force overwrite existing results')
|
|
463
464
|
args = vars(parser.parse_args())
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|