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

Bug: Search Fails for Adapters of Different Sizes #144

Open
Roleren opened this issue Nov 7, 2024 · 0 comments
Open

Bug: Search Fails for Adapters of Different Sizes #144

Roleren opened this issue Nov 7, 2024 · 0 comments

Comments

@Roleren
Copy link

Roleren commented Nov 7, 2024

If you give fastqc 2 adapters to search:
adapter1: AATTAATTAATT (width = 12)
adapter2: AAATTTGGGAAAAAATTTGGGAAA (width=24=max_adapter_size)

Let us say all reads in the fastq file are 51nt long:

Fastqc will only search for adapters starting from position 1 to (51-max_adapter_size = 27), i.e. all reads where adapter started at position > 27nt, would never search for adapter1, (because the start position of adapter is too high relative to adapter2) !

This scanning up until only 27 makes sense for adapter 2, but it should in no way affect the search for adapter1!

If fastqc wants to use a "maximum adapter size based search", this must clearly be specified in the documentation and the --adapter argument, as we have used it for years without understanding why it failed in many cases to detect adapters.

@Roleren Roleren changed the title Bug for search of unequal size adapters Bug: Search Fails for Adapters of Different Sizes Nov 8, 2024
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

1 participant