Reading Snapgene Files

Many of us use snapgene in our daily work. But what happens when you need to extract data for custom workflows or integrating into your LMS?

beg = ra(15)
mid = ra(8)
end = ra(15)

fi = open("./out.txt","w")

for i in range(1000):
    sense = ra(80)
    anti = rc(sense)

    newS = "".join([beg,sense,mid,anti,end,"\n"])
    fi.write(newS)

fi.close()

stuff stuff stuff