BioSAK 1.84.2__tar.gz → 1.85.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/VERSION +4 -1
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/gapseq.py +2 -2
- BioSAK-1.85.1/BioSAK/mannwhitneyu.py +37 -0
- BioSAK-1.85.1/BioSAK/wilcox.py +41 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK.egg-info/PKG-INFO +2 -2
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK.egg-info/SOURCES.txt +2 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/PKG-INFO +2 -2
- {BioSAK-1.84.2 → BioSAK-1.85.1}/bin/BioSAK +20 -2
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/BLCA_op_parser.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/BioSAK_config.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/COG2020.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/COG_boxplot_last1row.R +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/COG_boxplot_last2row.R +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/CheckM.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/ConvertMSA.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/DnaFeaturesViewer.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/FastaSplitler_by_num.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/FastaSplitler_by_size.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/GTDB_for_BLCA.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/Gene2Ctg.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/KEGG.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/KEGG_boxplot_last1row.R +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/KEGG_get_eukaryotic_kos.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/KeepRemovingTmp.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/MeanMappingDepth.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/MetaBiosample.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/MetaCHIP_phylo.hmm +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/MetaCyc_reactions_with_ec.txt +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/NetEnzymes.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/Newick_tree_plotter.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/OneLineAln.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/Prodigal.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/Reads_simulator.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/RunGraphMB.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/SILVA_for_BLCA.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/SankeyTaxon.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/SliceMSA.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/SubsampleLongReads.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/Tax4Fun2IndOTU.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/VisBlastOp.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/VisGeneFlk.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/__init__.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/add_desc.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/arCOG.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/bam2reads.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/boxplot.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/boxplot_last1row.R +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/boxplot_matrix_COG.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/boxplot_matrix_COG_backup.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/boxplot_matrix_KEGG.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/boxplot_matrix_dbCAN.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/cat_fa.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/cdd2cog.pl +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/checkm_marker.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/compare_trees.R +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/compare_trees.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/cross_link_seqs.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/dbCAN.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/download_GenBank_genome_subset_prokaryotes_csv.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/dwnld_sra_reads.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/enrich.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/exe_cmds.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/ezaai2mat.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/fa2id.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/fa2phy.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/fa2tree.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/format_converter.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/format_leaf_name.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/fq2fa.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/gbk2faa.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/gbk2ffn.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/gbk2fna.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/gbk_to_ffn_faa.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/gc.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_EC_from_ko_stats_D.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_GTDB_taxon_gnm.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_MAG_reads_long.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_Pfam_hmms.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_SCG_tree.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_TopHits_taxonomy.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_aa_composition.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_bin_abundance copy.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_data_matrix.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_gene_depth.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_genome_GTDB.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_genome_NCBI.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_genome_NCBI_v1.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_genome_NCBI_v2.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_gnm_size.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_ko_gene_seqs.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_krona_plot.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_reads_from_sam.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_reads_id_in_sam.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_sankey_plot.R +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_top_hit.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/get_total_length.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/global_functions.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/hpc3.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/iTOL.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/js_cmds.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/js_hpc3.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/keep_best_hit.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/ko00001.keg +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/koala.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/label_tree.R +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/label_tree.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/link_16S_MAG.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/magabund.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/magabund2.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/manipulator_fasta.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/manipulator_msa.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/manipulator_newick.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/manipulator_sam.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/mean_MAG_cov.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/merge_df.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/merge_seq.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/metaAssembly.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/metabat2concoct.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/metabat2maxbin.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/msa_to_distance_matrix.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/ncbi_dataset.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/odp.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/parse_MetaCyc_RxnDB.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/parse_mmseqs_tsv.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/plot_mag.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/plot_sam_depth.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/plot_tree.R +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/prefix_file.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/prokka.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/reads2bam.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/rename_leaves.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/rename_reads_for_Reago.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/rename_seq.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/rename_seqs.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/ribbon.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/sam2bam.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/sampling_GTDB_gnms.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/select_seq.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/sep_reads_by_barcode.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/slice_seq.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/split_fasta.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/split_folder.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/split_sam.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/submitHPC.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/subset_GTDB_meta.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/subset_df.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/subset_tree.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/top_16S_hits.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/top_hits_in_a_group.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/transpose.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK/usearch_uc.py +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK.egg-info/dependency_links.txt +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK.egg-info/requires.txt +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/BioSAK.egg-info/top_level.txt +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/LICENSE +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/MANIFEST.in +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/README.md +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/setup.cfg +0 -0
- {BioSAK-1.84.2 → BioSAK-1.85.1}/setup.py +0 -0
|
@@ -65,9 +65,9 @@ def gapseq(args):
|
|
|
65
65
|
|
|
66
66
|
df_out_handle = open(df_out, 'w')
|
|
67
67
|
if include_desc is False:
|
|
68
|
-
df_out_handle.write('\t'.join(pwy_id_list_sorted) + '\n')
|
|
68
|
+
df_out_handle.write('\t' + '\t'.join(pwy_id_list_sorted) + '\n')
|
|
69
69
|
else:
|
|
70
|
-
df_out_handle.write('\t'.join(pwy_id_list_sorted_desc) + '\n')
|
|
70
|
+
df_out_handle.write('\t' + '\t'.join(pwy_id_list_sorted_desc) + '\n')
|
|
71
71
|
for each_gnm in sorted(list(gnm_id_set)):
|
|
72
72
|
encoded_pwys = annotation_results_dict[each_gnm]
|
|
73
73
|
value_list = [each_gnm]
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import argparse
|
|
2
|
+
from scipy.stats import mannwhitneyu
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
mannwhitneyu_usage = '''
|
|
6
|
+
============== mannwhitneyu example commands ==============
|
|
7
|
+
|
|
8
|
+
BioSAK mannwhitneyu -1 treatment_1.txt -2 treatment_2.txt
|
|
9
|
+
|
|
10
|
+
===========================================================
|
|
11
|
+
'''
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
def mannwhitneyu(args):
|
|
15
|
+
s1_txt = args['1']
|
|
16
|
+
s2_txt = args['2']
|
|
17
|
+
|
|
18
|
+
s1_list = []
|
|
19
|
+
for e1 in open(s1_txt):
|
|
20
|
+
s1_list.append(float(e1.strip()))
|
|
21
|
+
|
|
22
|
+
s2_list = []
|
|
23
|
+
for e2 in open(s2_txt):
|
|
24
|
+
s2_list.append(float(e2.strip()))
|
|
25
|
+
|
|
26
|
+
_, p_value = mannwhitneyu(s1_list, s2_list)
|
|
27
|
+
|
|
28
|
+
print('P value: %s' % p_value)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
if __name__ == '__main__':
|
|
32
|
+
|
|
33
|
+
mannwhitneyu_parser = argparse.ArgumentParser()
|
|
34
|
+
mannwhitneyu_parser.add_argument('-1', required=True, help='sample 1')
|
|
35
|
+
mannwhitneyu_parser.add_argument('-2', required=True, help='sample 2')
|
|
36
|
+
args = vars(mannwhitneyu_parser.parse_args())
|
|
37
|
+
mannwhitneyu(args)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import argparse
|
|
2
|
+
import numpy as np
|
|
3
|
+
from scipy.stats import wilcoxon
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
wilcox_usage = '''
|
|
7
|
+
===================== wilcox example commands =====================
|
|
8
|
+
|
|
9
|
+
BioSAK wilcox -1 paired_treatment_1.txt -2 paired_treatment_2.txt
|
|
10
|
+
|
|
11
|
+
===================================================================
|
|
12
|
+
'''
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
def wilcox(args):
|
|
16
|
+
|
|
17
|
+
s1_txt = args['1']
|
|
18
|
+
s2_txt = args['2']
|
|
19
|
+
|
|
20
|
+
s1_list = []
|
|
21
|
+
for e1 in open(s1_txt):
|
|
22
|
+
s1_list.append(float(e1.strip()))
|
|
23
|
+
|
|
24
|
+
s2_list = []
|
|
25
|
+
for e2 in open(s2_txt):
|
|
26
|
+
s2_list.append(float(e2.strip()))
|
|
27
|
+
|
|
28
|
+
s1_array = np.array(s1_list)
|
|
29
|
+
s2_array = np.array(s2_list)
|
|
30
|
+
stats_result = wilcoxon(s1_array, s2_array)
|
|
31
|
+
|
|
32
|
+
print(stats_result)
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
if __name__ == '__main__':
|
|
36
|
+
|
|
37
|
+
wilcox_parser = argparse.ArgumentParser()
|
|
38
|
+
wilcox_parser.add_argument('-1', required=True, help='treatment 1')
|
|
39
|
+
wilcox_parser.add_argument('-2', required=True, help='treatment 2')
|
|
40
|
+
args = vars(wilcox_parser.parse_args())
|
|
41
|
+
wilcox(args)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: BioSAK
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.85.1
|
|
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.85.1
|
|
@@ -109,6 +109,7 @@ BioSAK/manipulator_fasta.py
|
|
|
109
109
|
BioSAK/manipulator_msa.py
|
|
110
110
|
BioSAK/manipulator_newick.py
|
|
111
111
|
BioSAK/manipulator_sam.py
|
|
112
|
+
BioSAK/mannwhitneyu.py
|
|
112
113
|
BioSAK/mean_MAG_cov.py
|
|
113
114
|
BioSAK/merge_df.py
|
|
114
115
|
BioSAK/merge_seq.py
|
|
@@ -147,6 +148,7 @@ BioSAK/top_16S_hits.py
|
|
|
147
148
|
BioSAK/top_hits_in_a_group.py
|
|
148
149
|
BioSAK/transpose.py
|
|
149
150
|
BioSAK/usearch_uc.py
|
|
151
|
+
BioSAK/wilcox.py
|
|
150
152
|
BioSAK.egg-info/PKG-INFO
|
|
151
153
|
BioSAK.egg-info/SOURCES.txt
|
|
152
154
|
BioSAK.egg-info/dependency_links.txt
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: BioSAK
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.85.1
|
|
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.85.1
|
|
@@ -93,12 +93,14 @@ def print_main_help():
|
|
|
93
93
|
bam2reads -> Extract reads (id) from sam file
|
|
94
94
|
plot_sam_depth -> Plot SAM depth
|
|
95
95
|
|
|
96
|
-
Dataframe
|
|
96
|
+
Dataframe and Statistics
|
|
97
97
|
subset_df -> Subset dataframe
|
|
98
98
|
merge_df -> Merge dataframes
|
|
99
99
|
add_desc -> Add function description to input of the iTOL module
|
|
100
100
|
transpose -> Transpose dataframe
|
|
101
|
-
|
|
101
|
+
wilcox -> Wilcoxon signed-rank test (non-parametric paired T-test)
|
|
102
|
+
mannwhitneyu -> Mann-Whitney U rank test on two independent samples
|
|
103
|
+
|
|
102
104
|
Others
|
|
103
105
|
iTOL -> Prepare iTOL files
|
|
104
106
|
js_cmds -> Put commands in job scripts
|
|
@@ -980,6 +982,22 @@ if __name__ == '__main__':
|
|
|
980
982
|
args = vars(parser.parse_args())
|
|
981
983
|
gc.gc(args)
|
|
982
984
|
|
|
985
|
+
elif sys.argv[1] == 'wilcox':
|
|
986
|
+
from BioSAK import wilcox
|
|
987
|
+
wilcox_parser = subparsers.add_parser('wilcox', usage=wilcox.wilcox_usage)
|
|
988
|
+
wilcox_parser.add_argument('-1', required=True, help='treatment 1')
|
|
989
|
+
wilcox_parser.add_argument('-2', required=True, help='treatment 2')
|
|
990
|
+
args = vars(parser.parse_args())
|
|
991
|
+
wilcox.wilcox(args)
|
|
992
|
+
|
|
993
|
+
elif sys.argv[1] == 'mannwhitneyu':
|
|
994
|
+
from BioSAK import mannwhitneyu
|
|
995
|
+
mannwhitneyu_parser = subparsers.add_parser('mannwhitneyu', usage=mannwhitneyu.mannwhitneyu_usage)
|
|
996
|
+
mannwhitneyu_parser.add_argument('-1', required=True, help='sample 1')
|
|
997
|
+
mannwhitneyu_parser.add_argument('-2', required=True, help='sample 2')
|
|
998
|
+
args = vars(parser.parse_args())
|
|
999
|
+
mannwhitneyu.mannwhitneyu(args)
|
|
1000
|
+
|
|
983
1001
|
else:
|
|
984
1002
|
print('Unrecognized command: %s, program exited' % sys.argv[1])
|
|
985
1003
|
exit()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|