new file: pixi.toml
[GalaxyCodeBases.git] / projects / recombineMap / sperm_by_fw / crossover_prediction / HMM_method / findDiffInAdjust.py
blob1bead7059d357be73e887b55452c77e59f4b6761
1 '''
2 Created on 2012-7-13
4 @author: LiJinsen
5 '''
6 content1 = open('differenceDetail.new.txt.adjust','r').read().split('\n')
7 content2 = open('differenceDetail.new.txt','r').read().split('\n')
9 data1 = []
10 for line in content1:
11 if line!='' and line[-1]!='\t':
12 line+='\t'
13 if line!='' and line[-2]=='\t':
14 line = line[:-2]
15 data1.append(line)
17 w = open('bad.result.txt','w')
18 for line in content2:
19 if line not in data1:
20 w.write(line)
21 w.write('\n')