Mercurial > repos > bornea > saint_preprocessing
comparison SAINT_preprocessing.py @ 17:72fe77df329b draft
Uploaded
author | bornea |
---|---|
date | Tue, 12 Apr 2016 15:15:35 -0400 |
parents | 4b43913630d0 |
children | d223d815e9c5 |
comparison
equal
deleted
inserted
replaced
16:4b43913630d0 | 17:72fe77df329b |
---|---|
55 bait_line = baits[i] + "\t" + baits[i+1] + "\t" + T_C + "\n" | 55 bait_line = baits[i] + "\t" + baits[i+1] + "\t" + T_C + "\n" |
56 bait_cache.append(str(bait_line)) | 56 bait_cache.append(str(bait_line)) |
57 i = i + 3 | 57 i = i + 3 |
58 | 58 |
59 for cache_line in bait_cache: | 59 for cache_line in bait_cache: |
60 bait_file_tmp.write(cache_line[1]) | 60 bait_file_tmp.write(cache_line) |
61 | 61 |
62 bait_file_tmp.close() | 62 bait_file_tmp.close() |
63 | 63 |
64 if bait_bool == 'false': | 64 if bait_bool == 'false': |
65 bait_create(make_bait, infile) | 65 bait_create(make_bait, infile) |