Entering edit mode
9.5 years ago
grayapply2009
▴
300
I have two lists:
list_seq = [sequence1, sequence2, sequence3, sequence4] list_name = [name1, name2, name3, name4]
I can zip them to a dictionary:
dict_s_n = dict(zip(list_seq & list_name))
How do I generate a fasta file from these two lists or the dictionary?
This is in python, isn't it? I'm adding the tag and editing the title to make it more clear.