bcgsc / NanoSim

Nanopore sequence read simulator
Other
217 stars 51 forks source link

Know mean read length from training outputs #66

Closed sdjebali closed 4 years ago

sdjebali commented 4 years ago

Dear all, First of all thanks for this nice suite of tools and the associated documentation. I just wanted to know if it was possible to get the mean read length from any of the training outputs? Thanks, Sarah

cheny19 commented 4 years ago

Hi Sarah,

Sorry about the late reply. In the outputs, there are a few .txt files and one of them is the lengths of all aligned reads and another is the lengths of unaligned reads. If you add each row up and divide by the total number of rows, you'll get the mean read length.

Thanks, Chen