BioSAK 1.90.0__tar.gz → 1.90.2__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.90.0 → BioSAK-1.90.2}/BioSAK/VERSION +3 -3
- BioSAK-1.90.2/BioSAK/mann_whitney_u.py +51 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK.egg-info/PKG-INFO +2 -2
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK.egg-info/SOURCES.txt +1 -1
- {BioSAK-1.90.0 → BioSAK-1.90.2}/PKG-INFO +2 -2
- {BioSAK-1.90.0 → BioSAK-1.90.2}/bin/BioSAK +5 -6
- BioSAK-1.90.0/BioSAK/mannwhitneyu.py +0 -37
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/BLCA_op_parser.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/BioSAK_config.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/COG2020.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/COG_boxplot_last1row.R +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/COG_boxplot_last2row.R +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/CheckM.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/DnaFeaturesViewer.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/FastaSplitler_by_num.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/FastaSplitler_by_size.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/GTDB_for_BLCA.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/Gene2Ctg.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/KEGG.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/KEGG_boxplot_last1row.R +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/KEGG_get_eukaryotic_kos.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/KeepRemovingTmp.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/MeanMappingDepth.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/MetaBiosample.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/MetaCHIP_phylo.hmm +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/MetaCyc_reactions_with_ec.txt +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/NetEnzymes.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/Prodigal.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/Reads_simulator.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/RunGraphMB.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/SILVA_for_BLCA.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/SankeyTaxon.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/SubsampleLongReads.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/Tax4Fun2IndOTU.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/VisBlastOp.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/VisGeneFlk.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/__init__.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/add_desc.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/arCOG.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/bam2reads.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/boxplot.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/boxplot_last1row.R +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/boxplot_matrix_COG.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/boxplot_matrix_COG_backup.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/boxplot_matrix_KEGG.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/boxplot_matrix_dbCAN.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/cat_fa.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/cdd2cog.pl +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/checkm_marker.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/compare_sets.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/count_num.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/cross_link_seqs.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/dbCAN.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/download_GenBank_genome_subset_prokaryotes_csv.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/dwnld_sra_reads.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/enrich.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/exe_cmds.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/ezaai2mat.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/fa2id.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/fastaai.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/format_converter.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/fq2fa.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/gapseq.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/gbk2faa.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/gbk2ffn.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/gbk2fna.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/gbk2gff.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/gbk_to_ffn_faa.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/gc.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_EC_from_ko_stats_D.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_GTDB_taxon_gnm.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_MAG_reads_long.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_Pfam_hmms.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_TopHits_taxonomy.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_aa_composition.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_bin_abundance copy.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_data_matrix.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_gene_depth.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_genome_GTDB.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_genome_NCBI.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_genome_NCBI_v1.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_genome_NCBI_v2.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_gnm_size.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_ko_gene_seqs.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_krona_plot.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_reads_from_sam.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_reads_id_in_sam.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_sankey_plot.R +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_top_hit.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/get_total_length.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/gff2chrom.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/global_functions.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/hpc3.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/js_cmds.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/js_hpc3.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/keep_best_hit.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/ko00001.keg +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/koala.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/link_16S_MAG.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/magabund.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/magabund2.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/manipulator_fasta.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/manipulator_msa.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/manipulator_newick.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/manipulator_sam.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/mean_MAG_cov.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/merge_df.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/merge_seq.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/metaAssembly.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/metabat2concoct.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/metabat2maxbin.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/msa_to_distance_matrix.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/ncbi_dataset.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/odp.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/parse_MetaCyc_RxnDB.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/parse_mmseqs_tsv.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/plot_mag.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/plot_sam_depth.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/plot_tree.R +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/prefix_file.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/prokka.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/reads2bam.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/rename_reads_for_Reago.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/rename_seq.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/rename_seqs.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/ribbon.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/sam2bam.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/sampling_GTDB_gnms.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/select_seq.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/sep_reads_by_barcode.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/slice_seq.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/split_fasta.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/split_folder.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/split_sam.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/statsTaxa.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/submitHPC.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/subset_GTDB_meta.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/subset_df.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/subset_tree.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/tmp_1.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/top_16S_hits.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/top_hits_in_a_group.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/transpose.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/usearch_uc.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK/wilcox.py +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK.egg-info/dependency_links.txt +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK.egg-info/requires.txt +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/BioSAK.egg-info/top_level.txt +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/LICENSE +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/MANIFEST.in +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/README.md +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/setup.cfg +0 -0
- {BioSAK-1.90.0 → BioSAK-1.90.2}/setup.py +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import argparse
|
|
2
|
+
from scipy.stats import mannwhitneyu
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
mannwhitneyu_usage = '''
|
|
6
|
+
============== mannwhitneyu example commands ==============
|
|
7
|
+
|
|
8
|
+
BioSAK mannwhitneyu -i genome_size_by_lifestyle.txt
|
|
9
|
+
|
|
10
|
+
# file format: no header, tab separated.
|
|
11
|
+
1.61 nonsponge
|
|
12
|
+
1.59 nonsponge
|
|
13
|
+
1.47 sponge
|
|
14
|
+
1.52 sponge
|
|
15
|
+
|
|
16
|
+
===========================================================
|
|
17
|
+
'''
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
def mann_whitney_u(args):
|
|
21
|
+
|
|
22
|
+
file_in = args['i']
|
|
23
|
+
|
|
24
|
+
value_dict = dict()
|
|
25
|
+
for each_s in open(file_in):
|
|
26
|
+
each_s_split = each_s.strip().split('\t')
|
|
27
|
+
s_cate = each_s_split[1]
|
|
28
|
+
s_value = float(each_s_split[0])
|
|
29
|
+
if s_cate not in value_dict:
|
|
30
|
+
value_dict[s_cate] = [s_value]
|
|
31
|
+
else:
|
|
32
|
+
value_dict[s_cate].append(s_value)
|
|
33
|
+
|
|
34
|
+
if len(value_dict) != 2:
|
|
35
|
+
cate_list = sorted(list(value_dict.keys()))
|
|
36
|
+
print('Group number has to be 2, program exited!')
|
|
37
|
+
print('Currently has: %s' % ','.join(cate_list))
|
|
38
|
+
exit()
|
|
39
|
+
|
|
40
|
+
value_lol = [value_dict[i] for i in value_dict]
|
|
41
|
+
_, p_value = mannwhitneyu(value_lol[0], value_lol[1])
|
|
42
|
+
|
|
43
|
+
print('P value: %s' % p_value)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
if __name__ == '__main__':
|
|
47
|
+
|
|
48
|
+
mannwhitneyu_parser = argparse.ArgumentParser()
|
|
49
|
+
mannwhitneyu_parser.add_argument('-i', required=True, help='input file')
|
|
50
|
+
args = vars(mannwhitneyu_parser.parse_args())
|
|
51
|
+
mann_whitney_u(args)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: BioSAK
|
|
3
|
-
Version: 1.90.
|
|
3
|
+
Version: 1.90.2
|
|
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.90.
|
|
23
|
+
BioSAK v1.90.2
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: BioSAK
|
|
3
|
-
Version: 1.90.
|
|
3
|
+
Version: 1.90.2
|
|
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.90.
|
|
23
|
+
BioSAK v1.90.2
|
|
@@ -904,12 +904,11 @@ if __name__ == '__main__':
|
|
|
904
904
|
wilcox.wilcox(args)
|
|
905
905
|
|
|
906
906
|
elif sys.argv[1] == 'mannwhitneyu':
|
|
907
|
-
from BioSAK import
|
|
908
|
-
mannwhitneyu_parser = subparsers.add_parser('mannwhitneyu', usage=
|
|
909
|
-
mannwhitneyu_parser.add_argument('-
|
|
910
|
-
mannwhitneyu_parser.add_argument('-2', required=True, help='sample 2')
|
|
907
|
+
from BioSAK import mann_whitney_u
|
|
908
|
+
mannwhitneyu_parser = subparsers.add_parser('mannwhitneyu', usage=mann_whitney_u.mannwhitneyu_usage)
|
|
909
|
+
mannwhitneyu_parser.add_argument('-i', required=True, help='input file')
|
|
911
910
|
args = vars(parser.parse_args())
|
|
912
|
-
|
|
911
|
+
mann_whitney_u.mann_whitney_u(args)
|
|
913
912
|
|
|
914
913
|
elif sys.argv[1] == 'compare_sets':
|
|
915
914
|
from BioSAK import compare_sets
|
|
@@ -973,7 +972,7 @@ if __name__ == '__main__':
|
|
|
973
972
|
statsTaxa.statsTaxa(args)
|
|
974
973
|
|
|
975
974
|
else:
|
|
976
|
-
print('Unrecognized
|
|
975
|
+
print('Unrecognized module: %s, program exited' % sys.argv[1])
|
|
977
976
|
exit()
|
|
978
977
|
|
|
979
978
|
|
|
@@ -1,37 +0,0 @@
|
|
|
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)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|