Mercurial > repos > bornea > saint_preprocessing
diff SAINT_preprocessing.py @ 15:876af85d782c draft
Uploaded
author | bornea |
---|---|
date | Tue, 12 Apr 2016 15:05:52 -0400 |
parents | c22c1209e65f |
children | 4b43913630d0 |
line wrap: on
line diff
--- 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])