ngmlr icon indicating copy to clipboard operation
ngmlr copied to clipboard

Aligning contigs from deNovo Assembly with ngm-lr

Open mdkeehan opened this issue 7 years ago • 3 comments

Hi,

I have recently tried using ngmlr to align contigs against a reference. The contigs come from 10x Chromium Supernova deNovo assemblies. I get the following warnings in my output

Warning: Couldn't allocate alignment matrix. Required memory (13823) > max matrix size (10000)

I have found the line in IConfig.h

ulong maxMatrixSizeMB = 350000;

to crank up the memory limit used for the alignment Matrix.

I wonder if you have any other suggestions for parameters I could try to change to handle very long contigs acting as reads.

mdkeehan avatar Jul 28 '17 04:07 mdkeehan

Hi, I personally did not use NGMLR ever to do that. I think Philipp tried it once or twice, but he is now on holidays for almost 2 weeks. Thanks Fritz

fritzsedlazeck avatar Jul 28 '17 19:07 fritzsedlazeck

Hi, This is also something that I would like to do with NGMLR and have the same issue. Would it be possible to make the max matrix size a settable parameter? How does this relate to memory requirements? (I can run on a 1TB RAM node, so hopefully not likely to be a constraint.) Thanks, Rich

cabbagesofdoom avatar Oct 01 '18 03:10 cabbagesofdoom

Hi all,

I am trying to do the same thing as OP and am stumbling in the same warning.

Warning: Couldn't allocate alignment matrix. Required memory (30689) > max matrix size (10000)

Any recommended parameters for aligning to a reference the contigs out of a de novo assembly program (canu in my case, if it matters) ?

ggstatgen avatar Feb 11 '19 14:02 ggstatgen