Previous changeset 14:c22c1209e65f (2016-04-12) Next changeset 16:4b43913630d0 (2016-04-12) |
Commit message:
Uploaded |
modified:
SAINT_preprocessing.py |
b |
diff -r c22c1209e65f -r 876af85d782c SAINT_preprocessing.py --- a/SAINT_preprocessing.py Tue Apr 12 14:55:25 2016 -0400 +++ b/SAINT_preprocessing.py Tue Apr 12 15:05:52 2016 -0400 |
[ |
@@ -53,14 +53,9 @@ else: T_C = "T" bait_line = baits[i] + "\t" + baits[i+1] + "\t" + T_C + "\n" - read_infile = open(infile, "r") - for input_line in read_infile: - input_line = input_line.strip() - temp = input_line.split('\t') - bait_cache.append((number_bait, str(bait_line))) + bait_cach.append(str(bait_line)) i = i + 3 - bait_cache.sort() for cache_line in bait_cache: bait_file_tmp.write(cache_line[1]) |