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

Suggestion: filter mode for polyA #805

Open
NickNCL opened this issue Aug 29, 2024 · 2 comments
Open

Suggestion: filter mode for polyA #805

NickNCL opened this issue Aug 29, 2024 · 2 comments

Comments

@NickNCL
Copy link

NickNCL commented Aug 29, 2024

Hi,

I'm using cutadapt v4.9 installed with conda

Maybe my aim is a bit niche here, but I'd like to filter out any reads matching the polyA filter in cutadapt (rather than trimming the polyA which is the default behaviour)

I was hoping that using --discard-trimmed in addition to --poly-a option would have this effect, but seemingly not

Input reads are all 50 bp, output contains shorter (trimmed) reads

This was my command:

(cutadapt4.4) nnb85@fms-302011:~/Ecoli_RNAP_pacing/Pamela/RawData/NoPolyA$ cutadapt --discard-trimmed --poly-a -j 20 -o NoPolyA/file.fastq file.fastq

I'm struggling to find any other tool that can do this

@marcelm
Copy link
Owner

marcelm commented Aug 29, 2024

You could try discarding all reads shorter than 50 bp using --minimum-length=50. That should get rid of all poly-A-trimmed reads.

@NickNCL
Copy link
Author

NickNCL commented Aug 29, 2024

That's a good idea, thanks

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