这里是求fastq文件的质量类型和比例
注意数几种类型用了set() 的方法
with open("Test1.fastq","r") as f:
lines = f.readlines()
qual = []
for line in lines:
if lines.index(line)% 4 == 3:
line= line.strip('\n')
qual.append(line)
qual = <
这里是求fastq文件的质量类型和比例
注意数几种类型用了set() 的方法
with open("Test1.fastq","r") as f:
lines = f.readlines()
qual = []
for line in lines:
if lines.index(line)% 4 == 3:
line= line.strip('\n')
qual.append(line)
qual = <