Skip to content

Commit

Permalink
API: join sequences with '-' character as that is a gap character
Browse files Browse the repository at this point in the history
    for all moltypes
  • Loading branch information
GavinHuttley committed Aug 25, 2024
1 parent 1752588 commit 20a058a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/divergent/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def main(self, data_member: DataMember) -> SeqArray:
seqs = [s for _, s, *_ in parser]
return SeqArray(
seqid=data_member.unique_id,
data=self.str2arr(b"N".join(seqs).decode("utf8")),
data=self.str2arr(b"-".join(seqs).decode("utf8")),
moltype=self.moltype,
source=data_member.data_store.source,
)
Expand Down

0 comments on commit 20a058a

Please sign in to comment.