#!/usr/bin/python

#-*- coding:utf-8 -*-



from Bio import SeqIO

def fq2fa(my_file):

    with open(my_file) as handle:

        record=SeqIO.parse(handle, "fastq")

        SeqIO.write(record, "./new.fasta", "fasta")

    handle.close()    

 

相关文章: