I have been struggling to get Trimmomatic to process a custom set of adapters. The reason was due to the naming of the fasta sequences in my adapter file. The section at the end of the README.md could gain with some clarifications on what is required for the naming. My adapter file looked like:
NAME 3p
some sequence
NAME 5p
some sequence
Trimmomatic was consistently using only a single adapter sequence (the last one) for trimming. It took me a while to understand that it must index the sequences by their name and that it must disregard anything following the white space character. It did not throw any warning either that an adapter sequence was being set multiple times / overwritten. Removing the space solved the issue. Having that information in the README will hopefully save others some time :-)
Hej!
I have been struggling to get Trimmomatic to process a custom set of adapters. The reason was due to the naming of the fasta sequences in my adapter file. The section at the end of the README.md could gain with some clarifications on what is required for the naming. My adapter file looked like:
Trimmomatic was consistently using only a single adapter sequence (the last one) for trimming. It took me a while to understand that it must index the sequences by their name and that it must disregard anything following the white space character. It did not throw any warning either that an adapter sequence was being set multiple times / overwritten. Removing the space solved the issue. Having that information in the README will hopefully save others some time :-)
Thanks in advance!