def _genbank_convert_fasta(in_handle, out_handle, alphabet=None):
 from Bio.GenBank.Scanner import GenBankScanner
 records = GenBankScanner().parse_records(in_handle, do_features=False)
 return SeqIO.write(records, out_handle, 'fasta')

def _genbank_convert_fasta ( in_handle , out_handle , alphabet = None ) : from Bio . GenBank . Scanner import GenBankScanner records = GenBankScanner ( ) . parse_records ( in_handle , do_features = False ) return SeqIO . write ( records , out_handle , 'fasta' )
fast genbank to fasta .