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

Parser interprets empty read as end-of-file #55

Closed
rob-p opened this issue Mar 10, 2016 · 12 comments
Closed

Parser interprets empty read as end-of-file #55

rob-p opened this issue Mar 10, 2016 · 12 comments

Comments

@rob-p
Copy link

rob-p commented Mar 10, 2016

Hi Guillaume,

@roryk noticed this issue in RapMap (COMBINE-lab/RapMap#19), and has a nice sample dataset to reproduce it. Basically, when a read is empty, but not the actual end of the file, the parser thinks it's done. Is there an easy way to change the parser logic to account for this situation?

--Rob

@gmarcais
Copy link
Owner

Indeed, that is not good. I'll fix it ASAP.

@gmarcais
Copy link
Owner

Can you try the develop branch? The issue should be fixed.

@rob-p
Copy link
Author

rob-p commented Mar 11, 2016

That was fast! I'll test it out as soon as I get into work.

@rob-p
Copy link
Author

rob-p commented Mar 11, 2016

Here I betray my strong CMake bias — what magical invocations must I make to generate a proper configure script? I tried aclocal && autoconf && automake --add-missing.

@gmarcais
Copy link
Owner

The magic call is:

echo abracadabra; autoreconf -fi

@rob-p
Copy link
Author

rob-p commented Mar 11, 2016

ahhh, see I was missing the abracadabra incantation! Any interest in building a tagged tarball (i.e. with a stable GitHub url) that already has the ./configure script ready to go? Right now I'm pulling from https://github.com/gmarcais/Jellyfish/archive/develop.zip , which, I imagine, is subject to change in content ;P.

@gmarcais
Copy link
Owner

I will do that. I was hoping to get a feed back from you that it indeed fixed the problem before generating a new version and upload it to the releases.

@rob-p
Copy link
Author

rob-p commented Mar 11, 2016

I can confirm that this does, indeed, fix the problem (using Rory's test data). The parser now returns (and RapMap now reports) having observed 5 reads, instead of 0, which is correct.

@gmarcais
Copy link
Owner

OK, the new distribution tarball is ready in the releases(https://github.com/gmarcais/Jellyfish/releases).

Thanks for the bug report.

@rob-p
Copy link
Author

rob-p commented Mar 11, 2016

Fantastic. Thanks, Guillaume!

@roryk
Copy link

roryk commented Mar 11, 2016

Thanks!

@mr-c
Copy link

mr-c commented Mar 12, 2016

Is it known how far back this bug has existed?

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

4 participants