Fastx_reverse_complement:Found invalid nucleotide sequence

Hello!
I am working on making a pipeline to quickly align and analyse my Sanger sequencing data (16S).
Birelfy, I start from .ab1 files → seperate the reverse and forward → ab1 to FASTQ → seqtk_trimfq → FASTQ Groomer.
I run in a problem when I run Reverse-complement tool. The pipeline works if I use sequences without ambigous nucleotides.
The error message is the following :
If I use sequences with ambigous nucleotides (such as R, W or Y, but excluding N), I get this error message : Fastx_reverse_complement:Found invalid nucleotide sequence.
Is there a way to fix this situation?

Thank you! :slight_smile:

Welcome, @Jean-Philippe

If you have non-specific bases that the FastX tools cannot process, you could convert all of those to Ns. Other tools might present with the same issue, too, so maybe review what those downstream tools are expecting when deciding.

Or, you could try a different tool to process the reverse compliment. I can’t remember how strict Manipulate FASTQ is but it seems worth trying.

Some related resources:

Hope this gives some ideas! :rocket: