BjornFJohansson / pydna

Clone with Python! Data structures for double stranded DNA & simulation of homologous recombination, Gibson assembly, cut & paste cloning.
Other
166 stars 45 forks source link

what is pos in Dseq? #153

Closed manulera closed 1 year ago

manulera commented 1 year ago

Hi @BjornFJohansson,

Sorry for the avalanche of issues! I was looking at the Dseq class and I noticed the argument pos in some of the methods. I had a look but I don't understand what this is used for. What is it for? Do I need to worry about it in #147?

BjornFJohansson commented 1 year ago

pos is the an index to keep track of the fragments position in a restriction cut. It is not used for anything else, so no need to worry about it.

manulera commented 1 year ago

Ok got it!