Skip to content
Snippets Groups Projects
Commit ec964cc0 authored by Ziqian's avatar Ziqian
Browse files

gen seq

parent 35e0dc9a
No related branches found
No related tags found
No related merge requests found
from itertools import product
def gen_seq(seq_list):
gen_list = []
# df = pd.DataFrame()
j = 1
for i in product(*seq_list):
j = j + 1
gen_aa = ''.join(i)
gen_list.append(gen_aa)
if j == 1000:
break
return gen_list
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment