adnaniazi / tailfindr

An R package for estimating poly(A)-tail lengths in Oxford Nanopore RNA and DNA reads.
https://www.cbu.uib.no/valen/
GNU General Public License v3.0
53 stars 16 forks source link

Tails look shorter than what they should be, discrepencies tailfindR/dorado, #71

Closed ArnaudStigliani closed 3 months ago

ArnaudStigliani commented 3 months ago

Dear developers, Recently, I have been comparing tailfindR 1.3 (jamie-Seq branch) and Dorado outputs. When doing so, I noticed that pA tails (but not pT tails) are in some cases way longer according to Dorado (see blue dots on the plot). image

I have had a look at some of these reads, below are two examples (output by tailfindR) with the predicted pA in red: image image

It seems that the pA fraction of these specific reads should be longer than tailfindR estimate. Do you believe that tailfindR misses these tails for some reason or is the squiggle actually misleading ?

Thank you for your time, Arnaud

ArnaudStigliani commented 3 months ago

Note: I realized maybe too late that github may not be the place to ask these kind of questions. Please let me know if you prefer communicating by emails and do not hesitate to remove my issue.

adnaniazi commented 3 months ago

Hi Arnaud,

Yes, from the images you attached, it seems like tailfindr is prematuraly ending the longer tails.

Since you have already a modified Dorado working for you, I recommend you just use that instead of tailfindr. I can fix this bug for you in the jamie-Seq branch if I can get individual FAST5 files for these problematic reads. But I have left academia, and will no longer be in a position to keep on updating tailfindr or fix bugs constantly. So for your own project's sake, I recommend that you use Dorado instead as then you can be sure that you are using the latest tool that is constantly being developed and improved -- and not be dependent on an orphanware such as tailfindr.

Best, Adnan

ArnaudStigliani commented 3 months ago

Hi Adnan,

Thanks a lot for your answer, I was not sure I was interpreting the results properly :) No need to correct the bug, (unless of course you really want to do it). As you say, it doesn't really make sense as Dorado keeps being updated.

I wish you the best, Arnaud