Skip to content

Conversation

@0x106
Copy link
Contributor

@0x106 0x106 commented Aug 24, 2020

Fasta files contain multiple sequences, delimited by an empty line. Each sequence contains a header line that begins with '>' and then multiple lines of sequence data.

This pull request assumes that there are one or more sequences per file, and reads them into an array. Sequence.Definition and Sequence.Sequence are populated per sequence.

The sequences themselves are not validated, and nor are the header lines.

@TimothyStiles
Copy link
Collaborator

@0x106 this looks awesome. The only thing I'd do is create a separate BuildFasta function from WriteFasta but these changes can be squashed and merged before then. I'll also close out issue #10.

@TimothyStiles TimothyStiles merged commit f2cec4c into bebop:prime Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants