You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DSeq(watson, crick) allows to generate a DSeq object from watson and crick strands specified as strings. It would be nice if it was possible to
generate a DSeq object from watson and crick strands specified as Seqs
generate a DSeqRecord object from watson and crick strands specified as SeqRecords
My current workaround for (2) is this:
def anneal_strands(watson, crick, name = None):
if (name is None) and watson.name is not None:
name = watson.name + " & " + crick.name
res = Dseqrecord( Dseq(str(watson.seq), str(crick.seq)), name)
for strand in (watson, crick):
for feature in strand.features :
res.add_feature(seq = feature.extract(strand), label = feature.qualifiers["label"])
return res
The text was updated successfully, but these errors were encountered:
DSeq(watson, crick)
allows to generate aDSeq
object from watson and crick strands specified asstr
ings. It would be nice if it was possible toDSeq
object from watson and crick strands specified asSeq
sDSeqRecord
object from watson and crick strands specified asSeqRecord
sMy current workaround for (2) is this:
The text was updated successfully, but these errors were encountered: