Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for flipping reads based on primer direction #196

Merged
merged 5 commits into from Oct 2, 2019
Merged

Conversation

peterjc
Copy link
Owner

@peterjc peterjc commented Oct 2, 2019

With some library preparations, expect about 50% of the reads to be inverted - so this can make a big difference to the apparent yield.

This is hopefully a short-term implementation by calling cutadapt twice, there are open issues for enhancing cutadapt to do this itself:

marcelm/cutadapt#220
marcelm/cutadapt#402

Could speed up the FASTQ reverse complement (avoid SeqRecord),
but more elegant to make two calls to cutadapt?
This avoids the possibility of a read pair being counted twice
(if it managed to give primer matches in either orientation).
Note first call to cutadapt is given FASTQ, while the second
gets FASTA - don't think lack of quality scores matters here.
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.

None yet

1 participant