Hi,
Is there a way to include wild cards in the .oligos file for trim.seqs/ trim.flows?
I could only find that . (dots) are allowed and can replace a single character but I couldn’t find a wild card character (0 or more characters). Assuming there’s a regular expressions engine behind it this should be possible with * or ? but they don’t. The reason I need this is because we get our sequencing output from the company with their MID before the barcode. Although I have the sequence for that MID it seems more prone to errors and even indels and these have little to do with the overall sequence quality.
At the moment I write my oligos file like this, but it’s sloppy:
Oh good to know for the next time; I’ll use N’s instead.
It wasn’t clear to me in the description of the function what is meant by ‘linkers’ and ‘spacers’.
Just to clarify, we synthesize only 1 primer for each barcode that linker is added by the company.
I’m not fully aware of how they do things I only have to deal with the consequences
Mothur is designed to treat multiple matches as a mismatch. What you can do is run create a separate oligos file with each wildcard linker string in it. Then you can run the command 3 times, putting the scrap file as input into the command to find the sequences that match the other wildcards.