As implemented currently, the SeqLike method aa passes kwargs to SeqRecord.translate, and so the default call to .aa() loses SeqRecord attributes like id and name. I propose that we keep SeqLike.translate(**kwargs), but remove these optional arguments from aa and make .translate return a new SeqRecord with the input SeqRecord attributes.
As implemented currently, the SeqLike method
aa
passes kwargs toSeqRecord.translate
, and so the default call to.aa()
loses SeqRecord attributes likeid
andname
. I propose that we keepSeqLike.translate(**kwargs)
, but remove these optional arguments fromaa
and make.translate
return a new SeqRecord with the input SeqRecord attributes.