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

Trimming first 6-8 bp of read 1 #18

Open
nwales opened this issue Aug 29, 2018 · 2 comments
Open

Trimming first 6-8 bp of read 1 #18

nwales opened this issue Aug 29, 2018 · 2 comments

Comments

@nwales
Copy link

nwales commented Aug 29, 2018

Hi Mikkel, I hope you are doing well!

I'm processing some new data and I wondered if there a way to remove the first N bp of read 1. In this experiment the adapters have an index directly next to the insert, so that the first 6 or 8 bp of read 1 are library specific. Ideally I'd like to check that index matches the expect sequence as an extra precaution on patterned flowcells, but simply trimming the first N bp could work for now. I see AdapterRemoval's demultiplexing option gets close to the idea, but it seems it would not work with the current implementation in Paleomix. If it's not possible or worth including, I could use the pre-trimming option.

Thanks! Nathan
P.S. I saw zonkey is listed as published in 2007...

@MikkelSchubert
Copy link
Owner

Hi Nathan,

Are these SE or PE reads?
If they are SE reads, then checking/trimming the first N bases should suffice, but if they are PE reads, then using the demultiplexing feature in AdapterRemoval would probably be the simplest solution, since that would take care of both identifying matching sequences and correctly trimming the barcode from both reads in the pair.

There is currently no way to do what you describe via PALEOMIX, but adding support for demultiplexing is something I intend to do at some point.

And thank you for pointing out the typo!

Best,
Mikkel

@nwales
Copy link
Author

nwales commented Sep 13, 2018

Hi Mikkel,

Thanks for the suggestions. I'm using SE reads, and indeed I've just been trimming the first N bases in advance. If it's not too hard to implement someday, it could be helpful to make other AdapterRemoval options available within paleomix (e.g. --trim5p).

Cheers,
Nathan

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

No branches or pull requests

2 participants