Skip to content

Addition of a Seq.join() method #1731

@widdowquinn

Description

@widdowquinn

Setup

I would like to be able to use the string-like concatenation/addition behaviour of Seq objects in the same way as using 'some_string'.join(), but this behaviour is not currently available.

Expected behaviour

spacer = Seq('NNNNN')
seqlist = list(SeqIO.parse('myfile.fasta', 'fasta'))
concatenated = spacer.join(seqlist)

Actual behaviour

Not implemented.

I appreciate that this is a minefield for resolving alphabets…

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions