comparison _modules/SeqStats.py @ 0:69e8f12c8b31 draft

"planemo upload"
author bioit_sciensano
date Fri, 11 Mar 2022 15:06:20 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:69e8f12c8b31
1 ##@file SeqStats.py
2 #
3 # Utility class to store results (statistics) for a sequence once all coverage results have been processed for it
4
5 class SeqStats:
6 def __init__(self,P_class, P_left, P_right, P_type, P_orient, ave_whole_cov, phage_plus_norm, phage_minus_norm, ArtcohesiveSeq,\
7 P_seqcoh, Redundant, Mu_like, added_whole_coverage, Permuted, termini_coverage_norm_close, picMaxPlus_norm_close, \
8 picMaxMinus_norm_close, gen_len, termini_coverage_close,ArtPackmode, termini, forward, reverse, ArtOrient, \
9 picMaxPlus_close, picMaxMinus_close, picOUT_norm_forw, picOUT_norm_rev, picOUT_forw, picOUT_rev, \
10 lost_perc, R1, R2, R3, picMaxPlus_host, picMaxMinus_host, drop_cov, added_paired_whole_coverage, P_concat):
11 self.P_class=P_class # TODO: some information about the meaning of these fields would be welcome.
12 self.P_left=P_left
13 self.P_right=P_right
14 self.P_type=P_type
15 self.P_orient=P_orient
16 self.ave_whole_cov=ave_whole_cov
17 self.phage_plus_norm=phage_plus_norm
18 self.phage_minus_norm=phage_minus_norm
19 self.ArtcohesiveSeq=ArtcohesiveSeq
20 self.P_seqcoh=P_seqcoh
21 self.Redundant=Redundant
22 self.Mu_like=Mu_like
23 self.added_whole_coverage=added_whole_coverage
24 self.Permuted=Permuted
25 self.termini_coverage_norm_close=termini_coverage_norm_close
26 self.picMaxPlus_norm_close=picMaxPlus_norm_close
27 self.picMaxMinus_norm_close=picMaxMinus_norm_close
28 self.gen_len=gen_len
29 self.termini_coverage_close=termini_coverage_close
30 self.ArtPackmode=ArtPackmode
31 self.termini=termini
32 self.forward=forward
33 self.reverse=reverse
34 self.ArtOrient=ArtOrient
35 self.picMaxPlus_close=picMaxPlus_close
36 self.picMaxMinus_close=picMaxMinus_close
37 self.picOUT_norm_forw=picOUT_norm_forw
38 self.picOUT_norm_rev=picOUT_norm_rev
39 self.picOUT_forw=picOUT_forw
40 self.picOUT_rev=picOUT_rev
41 self.lost_perc=lost_perc
42 self.R1=R1
43 self.R2=R2
44 self.R3=R3
45 self.picMaxPlus_host=picMaxPlus_host
46 self.picMaxMinus_host=picMaxMinus_host
47 self.drop_cov=drop_cov
48 self.added_paired_whole_coverage=added_paired_whole_coverage
49 self.P_concat=P_concat
50
51 def toFile(self,ficname): #TODO: implement me
52 pass
53
54 # types of the elements of the class
55 # <type 'str'>
56 # <type 'numpy.int64'>
57 # <type 'numpy.int64'>
58 # <type 'str'>
59 # <type 'str'>
60 # <type 'float'>
61 # <class 'pandas.core.frame.DataFrame'>
62 # <class 'pandas.core.frame.DataFrame'>
63 # <type 'str'>
64 # <type 'str'>
65 # <type 'int'>
66 # <type 'int'>
67 # <type 'list'>
68 # <type 'str'>
69 # <type 'list'>
70 # <type 'list'>
71 # <type 'list'>
72 # <type 'int'>
73 # <type 'list'>
74 # <type 'str'>
75 # <type 'str'>
76 # <type 'str'>
77 # <type 'str'>
78 # <type 'str'>
79 # <type 'list'>
80 # <type 'list'>
81 # <type 'list'>
82 # <type 'list'>
83 # <type 'list'>
84 # <type 'list'>
85 # <type 'float'>
86 # <type 'float'>
87 # <type 'float'>
88 # <type 'float'>
89 # <type 'str'>
90 # <type 'str'>
91 # <type 'list'>
92 # <type 'list'>
93 # <type 'str'>