nanoporetech / dorado

Oxford Nanopore's Basecaller
https://nanoporetech.com/
Other
439 stars 53 forks source link

Whether reads are trimmed adapters when running dorado duplex #889

Closed hungweichen0327 closed 1 week ago

hungweichen0327 commented 2 weeks ago

Hi,

I would like to confirm whether the reads of the output bam file (e.g. duplex_sup.bam in the below script) are trimmed adapters when running dorado duplex.

dorado version: v0.7.0

script: dorado duplex "/model/dna_r10.4.1_e8.2_400bps_sup@v5.0.0/" ./pod5/ > duplex_sup.bam

PS: If adapters of reads are not trimmed, which kinds of reads below are not trimmed?

But I think the default of dorado basecaller trimming is enable based on the README as described:

By default, dorado basecaller will attempt to detect any adapter or primer sequences at the beginning and ending of reads, and remove them from the output sequence.

Thank you.

malton-ont commented 2 weeks ago

Hi @hungweichen0327,

dorado duplex does not perform any trimming. The line from the ReadMe.md that you quote is specifically regarding the dorado basecaller command.