Skip to content

readfq2.py is ~60% faster readfq.py#10

Open
ndaniel wants to merge 6 commits into
lh3:masterfrom
ndaniel:master
Open

readfq2.py is ~60% faster readfq.py#10
ndaniel wants to merge 6 commits into
lh3:masterfrom
ndaniel:master

Conversation

@ndaniel
Copy link
Copy Markdown

@ndaniel ndaniel commented Jan 17, 2021

Using splitlines instead of [:-1] for removing \n at the end of the lines.
Using range(0,n,4) instead of looping for each line.
This is strictly only a FASTQ reader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant