BioSAK 1.92.2__tar.gz → 1.94.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.
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/VERSION +8 -2
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/enrich.py +28 -21
- BioSAK-1.94.0/BioSAK/stats_arcog.py +106 -0
- BioSAK-1.94.0/BioSAK/stats_ko.py +153 -0
- BioSAK-1.94.0/BioSAK/tmp_3.py +23 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK.egg-info/PKG-INFO +2 -2
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK.egg-info/SOURCES.txt +2 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/PKG-INFO +2 -2
- {BioSAK-1.92.2 → BioSAK-1.94.0}/bin/BioSAK +26 -0
- BioSAK-1.92.2/BioSAK/tmp_3.py +0 -6
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/BLCA_op_parser.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/BioSAK_config.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/COG2020.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/COG_boxplot_last1row.R +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/COG_boxplot_last2row.R +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/CheckM.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/DnaFeaturesViewer.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/FastaSplitler_by_num.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/FastaSplitler_by_size.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/GTDB_for_BLCA.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/Gene2Ctg.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/KEGG.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/KEGG_boxplot_last1row.R +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/KEGG_get_eukaryotic_kos.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/KeepRemovingTmp.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/MeanMappingDepth.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/MetaBiosample.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/MetaCHIP_phylo.hmm +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/MetaCyc_reactions_with_ec.txt +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/NetEnzymes.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/Prodigal.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/Reads_simulator.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/RunGraphMB.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/SILVA_for_BLCA.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/SankeyTaxon.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/SubsampleLongReads.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/Tax4Fun2IndOTU.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/VisBlastOp.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/VisGeneFlk.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/__init__.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/add_desc.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/arCOG.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/bam2reads.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/boxplot.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/boxplot_last1row.R +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/boxplot_matrix_COG.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/boxplot_matrix_COG_backup.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/boxplot_matrix_KEGG.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/boxplot_matrix_dbCAN.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/cat_fa.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/cdd2cog.pl +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/checkm_marker.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/compare_sets.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/count_num.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/cross_link_seqs.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/dbCAN.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/download_GenBank_genome_subset_prokaryotes_csv.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/dwnld_sra_reads.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/exe_cmds.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/ezaai2mat.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/fa2id.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/fastaai.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/format_converter.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/fq2fa.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/gapseq.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/gbk2faa.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/gbk2ffn.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/gbk2fna.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/gbk2gff.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/gbk_to_ffn_faa.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/gc.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_EC_from_ko_stats_D.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_GTDB_taxon_gnm.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_MAG_reads_long.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_Pfam_hmms.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_TopHits_taxonomy.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_aa_composition.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_bin_abundance copy.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_data_matrix.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_gene_depth.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_genome_GTDB.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_genome_NCBI.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_genome_NCBI_v1.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_genome_NCBI_v2.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_gnm_size.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_ko_gene_seqs.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_krona_plot.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_reads_from_sam.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_reads_id_in_sam.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_top_hit.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/get_total_length.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/gff2chrom.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/global_functions.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/hpc3.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/js_cmds.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/js_hpc3.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/keep_best_hit.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/ko00001.keg +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/koala.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/link_16S_MAG.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/magabund.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/magabund2.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/manipulator_fasta.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/manipulator_msa.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/manipulator_newick.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/manipulator_sam.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/mann_whitney_u.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/mean_MAG_cov.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/merge_df.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/merge_seq.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/metaAssembly.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/metabat2concoct.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/metabat2maxbin.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/msa_to_distance_matrix.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/ncbi_dataset.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/odp.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/parse_MetaCyc_RxnDB.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/parse_mmseqs_tsv.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/plot_mag.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/plot_sam_depth.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/plot_tree.R +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/prefix_file.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/prokka.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/reads2bam.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/rename_reads_for_Reago.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/rename_seq.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/rename_seqs.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/ribbon.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/sam2bam.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/sampling_GTDB_gnms.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/sankey.R +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/sankey.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/select_seq.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/sep_reads_by_barcode.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/slice_seq.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/split_fasta.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/split_folder.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/split_sam.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/srun.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/statsTaxa.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/submitHPC.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/subset_GTDB_meta.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/subset_df.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/subset_tree.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/tmp_1.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/tmp_2.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/top_16S_hits.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/top_hits_in_a_group.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/transpose.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/usearch_uc.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK/wilcox.py +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK.egg-info/dependency_links.txt +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK.egg-info/requires.txt +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/BioSAK.egg-info/top_level.txt +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/LICENSE +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/MANIFEST.in +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/README.md +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/setup.cfg +0 -0
- {BioSAK-1.92.2 → BioSAK-1.94.0}/setup.py +0 -0
|
@@ -13,18 +13,17 @@ BioSAK enrich -i annotation_files -x txt -g grouping.txt -o output_dir
|
|
|
13
13
|
BioSAK enrich -i annotation_files -x txt -g grouping.txt -o output_dir -bc
|
|
14
14
|
|
|
15
15
|
# Note:
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
1. The number of genome groups has to be TWO!!!
|
|
17
|
+
2. Group name should NOT be 1 and 0. use some alphabet or words instead.
|
|
18
18
|
|
|
19
|
-
# Example input files:
|
|
20
|
-
https://github.com/songweizhi/BioSAK/tree/master/demo_data/enrich
|
|
19
|
+
# Example input files: https://github.com/songweizhi/BioSAK/tree/master/demo_data/enrich
|
|
21
20
|
|
|
22
21
|
# please refers to https://doi.org/10.1038/s41396-020-00815-8 for how it works:
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
Functions that are enriched in the genomes in either group are identified using Mann–Whitney U
|
|
23
|
+
tests followed by a Bonferroni correction with a p value cut-off of 0.05 being considered
|
|
24
|
+
significant. Only significantly different functions with greater than, by default, 2-fold mean
|
|
25
|
+
differences are considered to be enriched. Functions detected only in the genomes from one group
|
|
26
|
+
type are considered to be enriched if they existed in at least 50 percent of the genomes in the group.
|
|
28
27
|
|
|
29
28
|
=================================================================================================
|
|
30
29
|
'''
|
|
@@ -49,7 +48,13 @@ def remove_0_from_Pandas_Series(Pandas_Series):
|
|
|
49
48
|
return no_0_num_list
|
|
50
49
|
|
|
51
50
|
|
|
52
|
-
def summarize_stats(output_test, ko_desc_dict, file_prefix, output_dir):
|
|
51
|
+
def summarize_stats(output_test, fold_diff_cutoff, ko_desc_dict, file_prefix, output_dir):
|
|
52
|
+
|
|
53
|
+
fold_diff_big = fold_diff_cutoff
|
|
54
|
+
fold_diff_small = 1/fold_diff_cutoff
|
|
55
|
+
if (1/fold_diff_cutoff) > fold_diff_cutoff:
|
|
56
|
+
fold_diff_big = 1/fold_diff_cutoff
|
|
57
|
+
fold_diff_small = fold_diff_cutoff
|
|
53
58
|
|
|
54
59
|
sample_1_id = ''
|
|
55
60
|
sample_2_id = ''
|
|
@@ -92,10 +97,10 @@ def summarize_stats(output_test, ko_desc_dict, file_prefix, output_dir):
|
|
|
92
97
|
if sample_2_dectected_pct >= 50:
|
|
93
98
|
enriched_in = sample_2_id
|
|
94
99
|
elif (sample_1_mean > 0) and (sample_2_mean > 0):
|
|
95
|
-
mean_diff = float("{0:.3f}".format(sample_1_mean
|
|
96
|
-
if mean_diff >=
|
|
100
|
+
mean_diff = float("{0:.3f}".format(sample_1_mean/sample_2_mean))
|
|
101
|
+
if mean_diff >= fold_diff_big:
|
|
97
102
|
enriched_in = sample_1_id
|
|
98
|
-
elif mean_diff <=
|
|
103
|
+
elif mean_diff <= fold_diff_small:
|
|
99
104
|
enriched_in = sample_2_id
|
|
100
105
|
|
|
101
106
|
if enriched_in == sample_1_id:
|
|
@@ -116,6 +121,7 @@ def enrich(args):
|
|
|
116
121
|
file_ext = args['x']
|
|
117
122
|
grouping_file = args['g']
|
|
118
123
|
op_dir = args['o']
|
|
124
|
+
fold_diff_cutoff = args['diff']
|
|
119
125
|
perform_bc = args['bc']
|
|
120
126
|
force_create_op_dir = args['f']
|
|
121
127
|
|
|
@@ -299,7 +305,7 @@ def enrich(args):
|
|
|
299
305
|
output_test_handle.close()
|
|
300
306
|
|
|
301
307
|
# summarize stats
|
|
302
|
-
summarize_stats(stats_op_txt, ko_desc_dict, op_prefix, op_dir)
|
|
308
|
+
summarize_stats(stats_op_txt, fold_diff_cutoff, ko_desc_dict, op_prefix, op_dir)
|
|
303
309
|
|
|
304
310
|
# file report
|
|
305
311
|
print('Done!')
|
|
@@ -308,12 +314,13 @@ def enrich(args):
|
|
|
308
314
|
if __name__ == '__main__':
|
|
309
315
|
|
|
310
316
|
enrich_parser = argparse.ArgumentParser(usage=enrich_usage)
|
|
311
|
-
enrich_parser.add_argument('-p', required=False, default='',
|
|
312
|
-
enrich_parser.add_argument('-i', required=True,
|
|
313
|
-
enrich_parser.add_argument('-x', required=True,
|
|
314
|
-
enrich_parser.add_argument('-g', required=True,
|
|
315
|
-
enrich_parser.add_argument('-o', required=True,
|
|
316
|
-
enrich_parser.add_argument('-
|
|
317
|
-
enrich_parser.add_argument('-
|
|
317
|
+
enrich_parser.add_argument('-p', required=False, default='', help='prefix of output files')
|
|
318
|
+
enrich_parser.add_argument('-i', required=True, help='annotation files')
|
|
319
|
+
enrich_parser.add_argument('-x', required=True, help='file extension')
|
|
320
|
+
enrich_parser.add_argument('-g', required=True, help='grouping file')
|
|
321
|
+
enrich_parser.add_argument('-o', required=True, help='output directory')
|
|
322
|
+
enrich_parser.add_argument('-diff', required=False, default=2, type=float, help='minimum fold difference, default is 2')
|
|
323
|
+
enrich_parser.add_argument('-bc', required=False, action="store_true", help='perform Bonferroni correction')
|
|
324
|
+
enrich_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
|
|
318
325
|
args = vars(enrich_parser.parse_args())
|
|
319
326
|
enrich(args)
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import argparse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
stats_arcog_usage = '''
|
|
6
|
+
========================== stats_arcog example commands ==========================
|
|
7
|
+
|
|
8
|
+
BioSAK stats_arcog -cog cog.txt -o op_dir -db /Users/songweizhi/DB/arCOG18
|
|
9
|
+
|
|
10
|
+
# Required DB files:
|
|
11
|
+
arCOGdef.tab: https://ftp.ncbi.nih.gov/pub/wolf/COGs/arCOG/tmp.ar18/arCOGdef.tab
|
|
12
|
+
fun-20.tab: https://ftp.ncbi.nih.gov/pub/COG/COG2020/data/fun-20.tab
|
|
13
|
+
|
|
14
|
+
==================================================================================
|
|
15
|
+
'''
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def stats_arcog(args):
|
|
19
|
+
|
|
20
|
+
cog_txt = args['cog']
|
|
21
|
+
op_dir = args['o']
|
|
22
|
+
db_dir = args['db']
|
|
23
|
+
skip1row = args['skip1row']
|
|
24
|
+
force_create_op_dir = args['f']
|
|
25
|
+
|
|
26
|
+
####################################################################################################################
|
|
27
|
+
|
|
28
|
+
cog_des_txt = '%s/arCOGdef.tab' % db_dir
|
|
29
|
+
pwd_fun_20_tab = '%s/fun-20.tab' % db_dir
|
|
30
|
+
op_txt = '%s/COG_cate.txt' % op_dir
|
|
31
|
+
op_stats_txt = '%s/COG_cate_stats.txt' % op_dir
|
|
32
|
+
|
|
33
|
+
if os.path.isdir(op_dir) is True:
|
|
34
|
+
if force_create_op_dir is True:
|
|
35
|
+
os.system('rm -r %s' % op_dir)
|
|
36
|
+
else:
|
|
37
|
+
print('Output folder detected, program exited!')
|
|
38
|
+
exit()
|
|
39
|
+
os.system('mkdir %s' % op_dir)
|
|
40
|
+
|
|
41
|
+
############################################## Read in KEGG DB files ###############################################
|
|
42
|
+
|
|
43
|
+
print('Read in arCOG DB files')
|
|
44
|
+
|
|
45
|
+
cog_id_to_category_dict = dict()
|
|
46
|
+
cog_id_to_description_dict = dict()
|
|
47
|
+
for each_cog in open(cog_des_txt, encoding="ISO-8859-1"):
|
|
48
|
+
each_cog_split = each_cog.strip().split('\t')
|
|
49
|
+
cog_id = each_cog_split[0]
|
|
50
|
+
cog_cate_str = each_cog_split[1]
|
|
51
|
+
cog_cate_split = [i for i in cog_cate_str]
|
|
52
|
+
cog_desc = each_cog_split[3]
|
|
53
|
+
cog_id_to_description_dict[cog_id] = cog_desc
|
|
54
|
+
cog_id_to_category_dict[cog_id] = cog_cate_split
|
|
55
|
+
|
|
56
|
+
cog_category_to_description_dict = {}
|
|
57
|
+
for cog_category in open(pwd_fun_20_tab):
|
|
58
|
+
cog_category_split = cog_category.strip().split('\t')
|
|
59
|
+
cog_category_to_description_dict[cog_category_split[0]] = cog_category_split[2]
|
|
60
|
+
|
|
61
|
+
########################################################################################################################
|
|
62
|
+
|
|
63
|
+
cog_cate_stats_dict = dict()
|
|
64
|
+
file_row_index = 0
|
|
65
|
+
for each_cog in open(cog_txt):
|
|
66
|
+
|
|
67
|
+
ignore_current_row = False
|
|
68
|
+
if (skip1row is True) and (file_row_index == 0):
|
|
69
|
+
ignore_current_row = True
|
|
70
|
+
|
|
71
|
+
if ignore_current_row is False:
|
|
72
|
+
each_cog_split = each_cog.strip().split('\t')
|
|
73
|
+
cog_id = each_cog_split[0]
|
|
74
|
+
cog_cate_list = cog_id_to_category_dict[cog_id]
|
|
75
|
+
for cog_cate in cog_cate_list:
|
|
76
|
+
if cog_cate not in cog_cate_stats_dict:
|
|
77
|
+
cog_cate_stats_dict[cog_cate] = set()
|
|
78
|
+
cog_cate_stats_dict[cog_cate].add(cog_id)
|
|
79
|
+
file_row_index += 1
|
|
80
|
+
|
|
81
|
+
op_txt_handle = open(op_txt, 'w')
|
|
82
|
+
op_txt_handle.write('Category\tCategory_description\tCOG\tDescription\n')
|
|
83
|
+
op_stats_txt_handle = open(op_stats_txt, 'w')
|
|
84
|
+
for cog_cate in sorted(list(cog_cate_stats_dict.keys())):
|
|
85
|
+
cog_id_set = cog_cate_stats_dict[cog_cate]
|
|
86
|
+
cog_cate_desc = cog_category_to_description_dict[cog_cate]
|
|
87
|
+
op_stats_txt_handle.write('%s\t%s\t%s\n' % (cog_cate, len(cog_id_set), cog_cate_desc))
|
|
88
|
+
for cog_id in sorted(list(cog_id_set)):
|
|
89
|
+
cog_id_desc = cog_id_to_description_dict[cog_id]
|
|
90
|
+
op_txt_handle.write('%s\t%s\t%s\t%s\n' % (cog_cate, cog_cate_desc.strip(), cog_id, cog_id_desc.strip()))
|
|
91
|
+
op_txt_handle.close()
|
|
92
|
+
op_stats_txt_handle.close()
|
|
93
|
+
|
|
94
|
+
print('Done!')
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
if __name__ == "__main__":
|
|
98
|
+
|
|
99
|
+
stats_arcog_parser = argparse.ArgumentParser(usage=stats_arcog_usage)
|
|
100
|
+
stats_arcog_parser.add_argument('-cog', required=True, help='cog_ids.txt')
|
|
101
|
+
stats_arcog_parser.add_argument('-db', required=True, help='DB folder, contains arCOGdef.tab and fun-20.tab')
|
|
102
|
+
stats_arcog_parser.add_argument('-o', required=True, help='output directory')
|
|
103
|
+
stats_arcog_parser.add_argument('-skip1row', required=False, action='store_true', help='skip the 1st row of the -cog file')
|
|
104
|
+
stats_arcog_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
|
|
105
|
+
args = vars(stats_arcog_parser.parse_args())
|
|
106
|
+
stats_arcog(args)
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import os
|
|
2
|
+
import argparse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
stats_ko_usage = '''
|
|
6
|
+
=================================== stats_ko example commands ===================================
|
|
7
|
+
|
|
8
|
+
BioSAK stats_ko -ko ko_d.txt -db ko00001.keg -p Demo
|
|
9
|
+
|
|
10
|
+
# Required DB files:
|
|
11
|
+
ko00001.keg: https://www.genome.jp/kegg-bin/download_htext?htext=ko00001&format=htext&filedir=
|
|
12
|
+
|
|
13
|
+
=================================================================================================
|
|
14
|
+
'''
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def ko_stats_to_txt(ko_stats_dict, ko_desc_dict, op_txt, op_stats_txt):
|
|
18
|
+
op_txt_handle = open(op_txt, 'w')
|
|
19
|
+
op_stats_txt_handle = open(op_stats_txt, 'w')
|
|
20
|
+
for ko_high in sorted(list(ko_stats_dict.keys())):
|
|
21
|
+
ko_d_set = ko_stats_dict[ko_high]
|
|
22
|
+
ko_high_desc = ko_desc_dict[ko_high]
|
|
23
|
+
op_stats_txt_handle.write('%s\t%s\t%s\n' % (ko_high, len(ko_d_set), ko_high_desc))
|
|
24
|
+
for ko_d in sorted(list(ko_d_set)):
|
|
25
|
+
ko_d_desc = ko_desc_dict[ko_d]
|
|
26
|
+
op_txt_handle.write('%s\t%s\t%s\t%s\n' % (ko_high, ko_high_desc.strip(), ko_d, ko_d_desc.strip()))
|
|
27
|
+
op_txt_handle.close()
|
|
28
|
+
op_stats_txt_handle.close()
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
def stats_ko(args):
|
|
32
|
+
|
|
33
|
+
ko_txt = args['ko']
|
|
34
|
+
op_dir = args['o']
|
|
35
|
+
db_file = args['db']
|
|
36
|
+
skip1row = args['skip1row']
|
|
37
|
+
force_create_op_dir = args['f']
|
|
38
|
+
|
|
39
|
+
####################################################################################################################
|
|
40
|
+
|
|
41
|
+
if os.path.isdir(op_dir) is True:
|
|
42
|
+
if force_create_op_dir is True:
|
|
43
|
+
os.system('rm -r %s' % op_dir)
|
|
44
|
+
else:
|
|
45
|
+
print('Output folder detected, program exited!')
|
|
46
|
+
exit()
|
|
47
|
+
os.system('mkdir %s' % op_dir)
|
|
48
|
+
|
|
49
|
+
op_a_txt = '%s/ko_A.txt' % op_dir
|
|
50
|
+
op_a_stats_txt = '%s/ko_A_stats.txt' % op_dir
|
|
51
|
+
op_b_txt = '%s/ko_B.txt' % op_dir
|
|
52
|
+
op_b_stats_txt = '%s/ko_B_stats.txt' % op_dir
|
|
53
|
+
op_c_txt = '%s/ko_C.txt' % op_dir
|
|
54
|
+
op_c_stats_txt = '%s/ko_C_stats.txt' % op_dir
|
|
55
|
+
|
|
56
|
+
############################################## Read in KEGG DB files ###############################################
|
|
57
|
+
|
|
58
|
+
print('Read in KEGG DB files')
|
|
59
|
+
As_description_dict = {}
|
|
60
|
+
Bs_description_dict = {}
|
|
61
|
+
Cs_description_dict = {}
|
|
62
|
+
Ds_description_dict = {}
|
|
63
|
+
D2ABCD_dict = {}
|
|
64
|
+
current_A = ''
|
|
65
|
+
current_B = ''
|
|
66
|
+
current_C = ''
|
|
67
|
+
for each_line in open(db_file):
|
|
68
|
+
if each_line[0] in ['A', 'B', 'C', 'D']:
|
|
69
|
+
each_line_split = each_line.strip().split(' ')
|
|
70
|
+
if each_line[0] == 'A':
|
|
71
|
+
current_A_id = each_line_split[0]
|
|
72
|
+
current_A_description = ' '.join(each_line_split[1:])
|
|
73
|
+
current_A = current_A_id
|
|
74
|
+
As_description_dict[current_A_id] = current_A_description
|
|
75
|
+
elif each_line[0] == 'B':
|
|
76
|
+
if len(each_line_split) > 1:
|
|
77
|
+
current_B_id = each_line_split[2]
|
|
78
|
+
current_B_description = ' '.join(each_line_split[3:])
|
|
79
|
+
current_B = current_B_id
|
|
80
|
+
Bs_description_dict[current_B_id] = current_B_description
|
|
81
|
+
elif each_line[0] == 'C':
|
|
82
|
+
current_C_id = each_line_split[4]
|
|
83
|
+
current_C_description = ' '.join(each_line_split[5:])
|
|
84
|
+
current_C = current_C_id
|
|
85
|
+
Cs_description_dict[current_C_id] = current_C_description
|
|
86
|
+
elif each_line[0] == 'D':
|
|
87
|
+
current_D_id = each_line_split[6]
|
|
88
|
+
current_D_description = ' '.join(each_line_split[7:])
|
|
89
|
+
Ds_description_dict[current_D_id] = current_D_description
|
|
90
|
+
ABCD_value = 'A_%s|B_%s|C_%s|D_%s' % (current_A, current_B, current_C, current_D_id)
|
|
91
|
+
if current_D_id not in D2ABCD_dict:
|
|
92
|
+
D2ABCD_dict[current_D_id] = [ABCD_value]
|
|
93
|
+
elif (current_D_id in D2ABCD_dict) and (ABCD_value not in D2ABCD_dict[current_D_id]):
|
|
94
|
+
D2ABCD_dict[current_D_id].append(ABCD_value)
|
|
95
|
+
|
|
96
|
+
ABCD_description_dict = {}
|
|
97
|
+
for each_a in As_description_dict:
|
|
98
|
+
ABCD_description_dict[each_a] = As_description_dict[each_a]
|
|
99
|
+
for each_b in Bs_description_dict:
|
|
100
|
+
ABCD_description_dict[each_b] = Bs_description_dict[each_b]
|
|
101
|
+
for each_c in Cs_description_dict:
|
|
102
|
+
ABCD_description_dict[each_c] = Cs_description_dict[each_c]
|
|
103
|
+
for each_d in Ds_description_dict:
|
|
104
|
+
ABCD_description_dict[each_d] = Ds_description_dict[each_d]
|
|
105
|
+
|
|
106
|
+
########################################################################################################################
|
|
107
|
+
|
|
108
|
+
ko_a_stats_dict = dict()
|
|
109
|
+
ko_b_stats_dict = dict()
|
|
110
|
+
ko_c_stats_dict = dict()
|
|
111
|
+
file_row_index = 0
|
|
112
|
+
for each_ko in open(ko_txt):
|
|
113
|
+
|
|
114
|
+
ignore_current_row = False
|
|
115
|
+
if (skip1row is True) and (file_row_index == 0):
|
|
116
|
+
ignore_current_row = True
|
|
117
|
+
if ignore_current_row is False:
|
|
118
|
+
each_ko_split = each_ko.strip().split('\t')
|
|
119
|
+
ko_id = each_ko_split[0]
|
|
120
|
+
ko_abcd_list = D2ABCD_dict.get(ko_id, [])
|
|
121
|
+
for ko_abcd in ko_abcd_list:
|
|
122
|
+
ko_abcd_split = ko_abcd.split('|')
|
|
123
|
+
ko_a = ko_abcd_split[0][2:]
|
|
124
|
+
ko_b = ko_abcd_split[1][2:]
|
|
125
|
+
ko_c = ko_abcd_split[2][2:]
|
|
126
|
+
if ko_a not in ko_a_stats_dict:
|
|
127
|
+
ko_a_stats_dict[ko_a] = set()
|
|
128
|
+
if ko_b not in ko_b_stats_dict:
|
|
129
|
+
ko_b_stats_dict[ko_b] = set()
|
|
130
|
+
if ko_c not in ko_c_stats_dict:
|
|
131
|
+
ko_c_stats_dict[ko_c] = set()
|
|
132
|
+
ko_a_stats_dict[ko_a].add(ko_id)
|
|
133
|
+
ko_b_stats_dict[ko_b].add(ko_id)
|
|
134
|
+
ko_c_stats_dict[ko_c].add(ko_id)
|
|
135
|
+
file_row_index += 1
|
|
136
|
+
|
|
137
|
+
ko_stats_to_txt(ko_a_stats_dict, ABCD_description_dict, op_a_txt, op_a_stats_txt)
|
|
138
|
+
ko_stats_to_txt(ko_b_stats_dict, ABCD_description_dict, op_b_txt, op_b_stats_txt)
|
|
139
|
+
ko_stats_to_txt(ko_c_stats_dict, ABCD_description_dict, op_c_txt, op_c_stats_txt)
|
|
140
|
+
|
|
141
|
+
print('Done!')
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
if __name__ == "__main__":
|
|
145
|
+
|
|
146
|
+
stats_ko_parser = argparse.ArgumentParser(usage=stats_ko_usage)
|
|
147
|
+
stats_ko_parser.add_argument('-ko', required=True, help='ko.txt')
|
|
148
|
+
stats_ko_parser.add_argument('-db', required=True, help='ko00001.keg')
|
|
149
|
+
stats_ko_parser.add_argument('-o', required=True, help='output directory')
|
|
150
|
+
stats_ko_parser.add_argument('-skip1row', required=False, action='store_true', help='skip the 1st row of the -ko file')
|
|
151
|
+
stats_ko_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
|
|
152
|
+
args = vars(stats_ko_parser.parse_args())
|
|
153
|
+
stats_ko(args)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
# for i in range(1, 73):
|
|
4
|
+
#
|
|
5
|
+
# cmd = 'srun -n 1 python3 00_DataNeeded/BLCA/2.blca_main.py -x -p 1 -r 00_DataNeeded/db_GTDB214.1/ssu_all_r214_BLCAparsed.taxonomy -q 00_DataNeeded/db_GTDB214.1/ssu_all_r214_BLCAparsed.fasta -i b_rep_set_%s.fa -o b_rep_set_%s_BLCA_out.1.txt &' % (i, i)
|
|
6
|
+
# print(cmd)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
def ko_stats_to_txt(ko_stats_dict, ko_desc_dict, op_txt, op_stats_txt):
|
|
10
|
+
op_txt_handle = open(op_txt, 'w')
|
|
11
|
+
op_stats_txt_handle = open(op_stats_txt, 'w')
|
|
12
|
+
for ko_high in sorted(list(ko_stats_dict.keys())):
|
|
13
|
+
ko_d_set = ko_stats_dict[ko_high]
|
|
14
|
+
ko_high_desc = ko_desc_dict[ko_high]
|
|
15
|
+
op_stats_txt_handle.write('%s\t%s\t%s\n' % (ko_high, len(ko_d_set), ko_high_desc))
|
|
16
|
+
for ko_d in sorted(list(ko_d_set)):
|
|
17
|
+
ko_d_desc = ko_desc_dict[ko_d]
|
|
18
|
+
op_txt_handle.write('%s\t%s\t%s\t%s\n' % (ko_high, ko_high_desc, ko_d, ko_d_desc))
|
|
19
|
+
op_txt_handle.close()
|
|
20
|
+
op_stats_txt_handle.close()
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: BioSAK
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.94.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.
|
|
23
|
+
BioSAK v1.94.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: BioSAK
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.94.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.
|
|
23
|
+
BioSAK v1.94.0
|
|
@@ -68,6 +68,9 @@ def print_main_help():
|
|
|
68
68
|
dbCAN -> CAZy annotation with dbCAN
|
|
69
69
|
enrich -> Functional enrichment analysis
|
|
70
70
|
gapseq -> Data matrix GapSeq predicted pathways
|
|
71
|
+
stats_ko -> get stats for a list of provided KO
|
|
72
|
+
stats_cog2020 -> get stats for a list of provided COG (to be added)
|
|
73
|
+
stats_arcog -> get stats for a list of provided arCOG
|
|
71
74
|
|
|
72
75
|
16S rRNA related
|
|
73
76
|
top_16S_hits -> Classify 16S by top-blast-hits approach
|
|
@@ -805,6 +808,7 @@ if __name__ == '__main__':
|
|
|
805
808
|
enrich_parser.add_argument('-x', required=True, help='file extension')
|
|
806
809
|
enrich_parser.add_argument('-g', required=True, help='grouping file')
|
|
807
810
|
enrich_parser.add_argument('-o', required=True, help='output directory')
|
|
811
|
+
enrich_parser.add_argument('-diff', required=False, default=2, type=float, help='minimum fold difference, default is 2')
|
|
808
812
|
enrich_parser.add_argument('-bc', required=False, action="store_true", help='perform Bonferroni correction')
|
|
809
813
|
enrich_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
|
|
810
814
|
args = vars(parser.parse_args())
|
|
@@ -993,6 +997,28 @@ if __name__ == '__main__':
|
|
|
993
997
|
args = vars(parser.parse_args())
|
|
994
998
|
srun.srun(args)
|
|
995
999
|
|
|
1000
|
+
elif sys.argv[1] == 'stats_ko':
|
|
1001
|
+
from BioSAK import stats_ko
|
|
1002
|
+
stats_ko_parser = subparsers.add_parser('stats_ko', usage=stats_ko.stats_ko_usage)
|
|
1003
|
+
stats_ko_parser.add_argument('-ko', required=True, help='ko.txt')
|
|
1004
|
+
stats_ko_parser.add_argument('-db', required=True, help='ko00001.keg')
|
|
1005
|
+
stats_ko_parser.add_argument('-o', required=True, help='output directory')
|
|
1006
|
+
stats_ko_parser.add_argument('-skip1row', required=False, action='store_true', help='skip the 1st row of the -ko file')
|
|
1007
|
+
stats_ko_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
|
|
1008
|
+
args = vars(parser.parse_args())
|
|
1009
|
+
stats_ko.stats_ko(args)
|
|
1010
|
+
|
|
1011
|
+
elif sys.argv[1] == 'stats_arcog':
|
|
1012
|
+
from BioSAK import stats_arcog
|
|
1013
|
+
stats_arcog_parser = subparsers.add_parser('stats_arcog', usage=stats_arcog.stats_arcog_usage)
|
|
1014
|
+
stats_arcog_parser.add_argument('-cog', required=True, help='cog_ids.txt')
|
|
1015
|
+
stats_arcog_parser.add_argument('-db', required=True, help='DB folder, contains arCOGdef.tab and fun-20.tab')
|
|
1016
|
+
stats_arcog_parser.add_argument('-o', required=True, help='output directory')
|
|
1017
|
+
stats_arcog_parser.add_argument('-skip1row', required=False, action='store_true', help='skip the 1st row of the -cog file')
|
|
1018
|
+
stats_arcog_parser.add_argument('-f', required=False, action="store_true", help='force overwrite')
|
|
1019
|
+
args = vars(parser.parse_args())
|
|
1020
|
+
stats_arcog.stats_arcog(args)
|
|
1021
|
+
|
|
996
1022
|
else:
|
|
997
1023
|
print('Unrecognized module: %s, program exited' % sys.argv[1])
|
|
998
1024
|
exit()
|
BioSAK-1.92.2/BioSAK/tmp_3.py
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
for i in range(1, 73):
|
|
4
|
-
|
|
5
|
-
cmd = 'srun -n 1 python3 00_DataNeeded/BLCA/2.blca_main.py -x -p 1 -r 00_DataNeeded/db_GTDB214.1/ssu_all_r214_BLCAparsed.taxonomy -q 00_DataNeeded/db_GTDB214.1/ssu_all_r214_BLCAparsed.fasta -i b_rep_set_%s.fa -o b_rep_set_%s_BLCA_out.1.txt &' % (i, i)
|
|
6
|
-
print(cmd)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|