Code Monkey home page Code Monkey logo

Comments (8)

bingmann avatar bingmann commented on May 23, 2024 1

Did you add the --canonicalize flag for cobs compact-construct?

I saw mantis mirrors lexicographically larger k-mers. COBS doesnt by default atm.

from cobs.

bingmann avatar bingmann commented on May 23, 2024

thanks for the long bug report, I did find two important errors:
the FastQ reader didnt work with your lines > 64K length. commit 2e79c30
And I fixed the DNA canonicalization. in commit b1720a1

from cobs.

bingmann avatar bingmann commented on May 23, 2024

Hope the new version works.

from cobs.

hmusta avatar hmusta commented on May 23, 2024

Thanks for your help! I'll let you know how things go

from cobs.

hmusta avatar hmusta commented on May 23, 2024

Since commit b1720a1 was only applied to the classic index, can I assume that my compact indexes are correct?

from cobs.

bingmann avatar bingmann commented on May 23, 2024

Yes, compacts are built out of classic indexes.

from cobs.

hmusta avatar hmusta commented on May 23, 2024

I reran my script and it seems like the results are much closer, but still a bit off. Now, when I query, I get the following

Reading complete index
Read 384.157 MiB / 384.157 MiB - 100%
Index loaded into RAM.
*gb|HQ845196|+|0-861|ARO:3001109|SHV-52 2
ERR1218773      546
ERR1217061      7
TIMER info=search hashes=0.000107381 io=0.000480277 and rows=2.0661e-05 sort results=1.128e-06 total=0.000609447

The greater number of matches for ERR1217061 (7 instead of 4) can probably be explained by false positives, but I'm still not sure why there are only 546 matches to ERR1218773 instead of 642.

from cobs.

hmusta avatar hmusta commented on May 23, 2024

Ok, that does indeed fix the problem, I had forgotten to re-enable it during my testing. Thanks for your help!

I'll close this issue then!

from cobs.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.