natir / br

Brutal Rewrite a long read corrector
MIT License
2 stars 0 forks source link

Error: Can't compute minimal abundance #8

Open faulk-lab opened 5 months ago

faulk-lab commented 5 months ago

Attempting to run br on a 15 Gb dataset of reads > 10kb with parameters: br -k 19 -i STL_F2_isoline_pooled.10k.fa -o brutal-out -t 32

It gives the error, "Error: Can't compute minimal abundance". Do you have a suggestion for a default to supply?

natir commented 5 months ago

Hello,

If you don't specify minimum abundance values, br will attempt to determine it on its own. There are 4 methods based on the kmer count histogram:

If the first-minimum method failed to determine a minimum abundance, it's probably because the reads have too many errors and don't correspond to a classic curve. https://www.researchgate.net/figure/K-mer-histogram-The-x-axis-refers-to-the-k-mer-depth-Dk-which-indicates_fig4_309161336

You can choose the minimum abundance yourself or try another method.

(Sorry br isn't release ready)