Giter Site home page Giter Site logo

Comments (3)

ctb avatar ctb commented on September 8, 2024

Isn't there code in khmer that sniffs the file type? Much safer than relying on file extensions.

from kevlar.

ctb avatar ctb commented on September 8, 2024

Looks like #71 is relevant.

from kevlar.

standage avatar standage commented on September 8, 2024

Ideally, it would be great to have khmer detect the file type and handle accordingly. Unless I'm reading the code incorrectly, though, sketches stored on disk only indicate the storage type (bit, byte, or nibble), and do not store whether they are a *table or *graph data structure. So additional input is needed from the user anyway, and that might as well come in the form of a filename, with all the challenges that entails.

All of this is ripe for a fresh look once dib-lab/khmer#1595 is merged. @camillescott may well have already made some changes to the relevant code, but regardless we need to consider how we are going to support a growing list of hash functions (2bit, MurmurHash, rolling hash or hashes, more) and pre-processing options (consume with or without k-mer banding, consume with or without a mask, consume with or without [^ACGT] preprocessing) in a maintainable way.

from kevlar.

Related Issues (20)

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.