#!/usr/bin/python#-*- coding:utf-8 -*-from Bio import SeqIOdef fq2fa(my_file): with open(my_file) as handle: record=SeqIO.parse(handle, "fastq") SeqIO.write(record, "./new.fasta", "fasta") handle.close()
本文共 276 字,大约阅读时间需要 1 分钟。
#!/usr/bin/python#-*- coding:utf-8 -*-from Bio import SeqIOdef fq2fa(my_file): with open(my_file) as handle: record=SeqIO.parse(handle, "fastq") SeqIO.write(record, "./new.fasta", "fasta") handle.close()
转载于:https://www.cnblogs.com/lmt921108/p/8022973.html