Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong feature locations after sticky-end ligation #88

Closed
jan-glx opened this issue Oct 6, 2022 · 4 comments
Closed

Wrong feature locations after sticky-end ligation #88

jan-glx opened this issue Oct 6, 2022 · 4 comments

Comments

@jan-glx
Copy link
Contributor

jan-glx commented Oct 6, 2022

The new feature locations computed when adding two DSeqrecords with sticky ends are off:

from pydna.genbank import Genbank
from Bio.Restriction import BamHI, NdeI
gb = Genbank("bjornjobb@gmail.com")
puc19 = gb.nucleotide("M77789.2")
bb, insert = puc19.cut(NdeI,BamHI)
puc19_ = (bb + insert).looped().synced(puc19)
print(puc19_.extract_feature(2), "\n")
print(puc19.extract_feature(6))
Dseqrecord
circular: False
size: 137
ID: pBR322
Name: pBR322
Description: description_rc
Number of features: 1
/molecule_type=DNA
Dseq(-137)
TTCG..TTAA
AAGC..AATT 

Dseqrecord
circular: False
size: 137
ID: pBR322
Name: pBR322
Description: Cloning vector pUC19, complete sequence_rc
Number of features: 1
/molecule_type=DNA
Dseq(-137)
TCGC..GGGC
AGCG..CCCG
print(puc19_.features[2], "\n")
print(puc19.features[6], "\n")
type: misc_feature
location: [539:676](-)
qualifiers:
    Key: note, Value: ['pBR322']
 

type: misc_feature
location: [547:684](-)
qualifiers:
    Key: note, Value: ['pBR322']
@jan-glx jan-glx changed the title Wrong feature locations after stick end ligation Wrong feature locations after sticky-end ligation Oct 6, 2022
@BjornFJohansson
Copy link
Owner

Thanks! Ill have a look at this.

@BjornFJohansson
Copy link
Owner

BjornFJohansson commented Oct 19, 2022

Still working on this, regular work came in the way.

@BjornFJohansson
Copy link
Owner

Have a solution for this, look out for a new release.

@BjornFJohansson
Copy link
Owner

Solved in 5.2.0 I hope. Feel free to reopen if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants