Raccoon autocompleted code in python2 format, which has been eliminated.
# txt file 2 fasta file
path = ''
f = open(path)
data = []
for line in f.readlines() :
line = line.strip('\n')
data.append(line)
# Raccoon autocomplete, which is python2 code
for idx , seq in enumerate(data) :
print '>' + str(idx)
print seq
Raccoon autocompleted code in python2 format, which has been eliminated.