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

Error is raised for problematic rows #560

Open
TomerAntman opened this issue May 12, 2024 · 3 comments
Open

Error is raised for problematic rows #560

TomerAntman opened this issue May 12, 2024 · 3 comments

Comments

@TomerAntman
Copy link

In some of the fastq files that I have, there are some problematic rows, such as this:

AAAAAEEEE...
@NB552437:11:HY5W2BGXG:1:11101:12897:1306 1:N:0:GAATTCGT+GTCAGTAC

+

@NB552437:11:HY5W2BGXG:1:11101:22688:1308 1:N:0:GAATTCGT+GTCAGTAC
CAGCGAGGG...
+
AAAAAEEEE...
@NB552437:11:HY5W2BGXG:1:11101:9713:1313 1:N:0:GAATTCGT+GTCAGTAC
TTTTCTTGA...

These problematic rows crash the code and the error is:

Expected '+', got
ERROR: '+' expected

I tried just deleting the empty rows but it still doesn't work.
Trimmomatic seems to be able to bypass this issue (it doesn't crash)

@nickgladman
Copy link

Hello. I am having the same problem, which seems to be identical to #534.
"Expected '+', got CCACAGTGAGCCGCCGATTTGTTCCATGCCTGCAC...

It seems like it causes the run to terminate at the problematic read rather than continuing. @TomerAntman are the quality threshold parameters you're using for trimmomatic the same for the fastp run?

@TomerAntman
Copy link
Author

TomerAntman commented Jun 1, 2024

@nickgladman yes they are as far as I remember. I solved this the other day by running seqkit sana on the files and then seqkit pair and then run fastp on the paired "rescued" reads. It solved the issue for most of my files

@sfchen
Copy link
Member

sfchen commented Jun 6, 2024 via email

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

3 participants