-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Below code to reproduce
from pydna.primer import Primer
from pydna.parsers import parse_primers
from Bio.SeqFeature import SimpleLocation
from pydna.dseqrecord import Dseqrecord
primer = Primer('AAAAA')
dseqrecord_primer = Primer(Dseqrecord('AAAAA', id='primer'))
parsed_primer, *_ = parse_primers('>primer\nAAAAA')
loc = SimpleLocation(1, 3)
loc.extract(primer).seq.rc() # Does NOT give error
loc.extract(dseqrecord_primer).seq.rc() # Does NOT give error
loc.extract(parsed_primer).seq.rc() # Gives errorError:
loc.extract(parsed_primer).seq.rc() # Gives error
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Seq' object has no attribute 'rc'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels