Coder Social home page Coder Social logo

overlapper thoughts/questions about htstream HOT 5 CLOSED

s4hts avatar s4hts commented on July 20, 2024
overlapper thoughts/questions

from htstream.

Comments (5)

dstreett avatar dstreett commented on July 20, 2024

Hey, @msettles . :) I hope all is going well for you! Thanks for the comments and questions. I will get to them all today.

Welcome to the new overlapper, we are still tweaking the parameters, but it should be quite a bit faster than the old flash. It is a new algorithm compared to FLASH as well.

Take the longest of the two reads and create a dictionary/map with kmers with a certain offset (parameters –k and –r). We now use this as quick lookup table for the shorter of the two reads.

The shorter of the two reads checks perfect overlapping kmers on both sides of the reads going in a certain amount (-c, --check-length) against the dict/map. We can make this assumption because the overlap must contain the ends of the shorter read on the left or right side. Once a hit happens, a base by base comparison happens just like flash.

Hopefully that made sense, let me know if there are any questions. To answer specific question.

1 – Yep, histograms aren’t outputted automatically. This argument takes a string for the location you want it outputted to.

2 – Yup, new algorithm, I think I hit those two in the explanation above, but let me know if it is still unclear.

3 – Again, check above, and let me know if it doesn’t make sense.

4 – Yes, that is much clearer, I will change that on the help

5 – So, my logic for this one which might be totally off. If adapter trimming is on, R1 might get trimmed to the point it doesn’t meet minimum length, thus discarded. R2 is long enough after adapter trimming, so if stranded is selected, it will be RC and outputted.

Let me know if I answered your questions for overlapper. If anything is still unclear, please, let me know. Right now validation and documentation is happening so I appreciate all the input.

from htstream.

msettles avatar msettles commented on July 20, 2024

from htstream.

samhunter avatar samhunter commented on July 20, 2024

Hey Matt,

So yes, obviously this gets kind of complicated. I think the rule we were trying to operate under went something like this:
If stranded=True: all SE reads -- both due to overlap and due to discard from length -- should be in the orientation of R1.
So, if R1 is quality trimmed until it is the shorter read, it should still be used as the read which orients R2 in overlap so that the SE overlapped output is always in R1 orientation regardless of whether R1 or R2 was the longer read.
AND
If R1 is discarded then R2 is reported as RC in order to ensure that all outputs in the SE file are in R1 orientation.

Hopefully that seems reasonable :)

Sam

from htstream.

msettles avatar msettles commented on July 20, 2024

from htstream.

msettles avatar msettles commented on July 20, 2024

Think this is all covered, although there is one proposed change I'll detail in a commit

from htstream.

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.