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

Fail when R1 reads > R2 reads #2

Open
andreazauli opened this issue Feb 20, 2018 · 0 comments
Open

Fail when R1 reads > R2 reads #2

andreazauli opened this issue Feb 20, 2018 · 0 comments

Comments

@andreazauli
Copy link

It seems the software stops to work ad exit when number of R1 reads is greater then number of R2.
The error is because in fastq-lib.cpp qual.n returns -1 for the last record of the second file you pass :
if (fq->qual.n <= 0)
return 0;
and then with other reads it consequently fails.
But when R1 is lower, we still have -1, for reads 2, but the cycle stops and the error disappear.

When R1 reads is greater then number of R2, if you exchange the file in the command line, it works again.

If you have time...
Thank you.
&

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