@@ -59,6 +59,9 @@ if __name__ == '__main__':
59
59
60
60
no_seqs_without_coverage = 0
61
61
for seqId in seqInfo .keys ():
62
+ l .debug ("processig seqid %s" % seqId )
63
+
64
+ seqLen = seqInfo [seqId ]['length' ]
62
65
63
66
r_ok = None
64
67
r_low = None
@@ -109,10 +112,8 @@ if __name__ == '__main__':
109
112
r_low_ends += d_low_ends
110
113
111
114
if r_ok != None :
112
- l .info ("Processed %s ln %d min/max for ok:%d/%d low:%d/%d high: %d/%d" % (
113
- bamBase , len (d_ok ), max (d_ok ), min (d_ok ),
114
- max (d_low ), min (d_low ), max (d_high ),
115
- min (d_high )))
115
+ l .info ("Processed %s ln %d max for ok: %d low: %d high: %d" % (
116
+ bamBase , len (d_ok ), max (d_ok ), max (d_low ), max (d_high )))
116
117
np_savez (os .path .join ('combined' , seqId ),
117
118
r_ok = r_ok ,
118
119
r_high = r_high ,
@@ -122,7 +123,7 @@ if __name__ == '__main__':
122
123
r_high_ends = r_high_ends ,
123
124
r_low_ends = r_low_ends )
124
125
else :
125
- l .info ("PROBLEM - FOUND NOTHING FOR %s" % bamBase )
126
+ l .info ("PROBLEM - FOUND NOTHING FOR %s/%s " % ( bamBase , seqId ) )
126
127
no_seqs_without_coverage += 1
127
128
128
129
l .info ("ignored %d sequences (no coverage??)" % no_seqs_without_coverage )
0 commit comments