回复 6楼 fall_bernana
a=[]
with open("inter_0.16.txt", 'r') as f:
while True:
lines = f.readline()
#print (lines)
if not lines:
break
a=set(lines.rstrip())
#print(a)
with open ("tmp0.txt", 'r') as f1:
while True:
lines = f1.readline()
if not lines:
break
b=lines.rstrip()
b=b.split()
if b[0] not in a:
with open("uniq_read.txt",'a+') as f2:
f2.write('{}\t{}\t{}\t{}\t{}\n'.format(b[0],b[1],b[2],b[3],b[9]))