Entering edit mode
2.2 years ago
AveryB
•
0
I want to search for non sequences in a file, to substitute them.
for file in SeqIO.parse('myfile.fasta', 'r'):
sequence = re.search('^ATGCN', record.seq)
output_file=open('files.fasta, 'w+')