Skip to content

Memory error for large datasets #26

@jf2016GH

Description

@jf2016GH

$time python nclist.py

Subject file: chainOrnAna1.bed (1.956864), Query file: chainRn4.bed (2.350965)
Building NCLS took 0.36449146270751953
Traceback (most recent call last):
File "nclist.py", line 36, in
time_ncls(s, q)
File "nclist.py", line 22, in time_ncls
n.all_overlaps_both(q[1].values, q[2].values, q.index.values)
File "ncls/src/ncls.pyx", line 278, in ncls.src.ncls.NCLS.all_overlaps_both
File "ncls/src/ncls.pyx", line 321, in ncls.src.ncls.NCLS.all_overlaps_both
File "/home/john/anaconda3/lib/python3.6/site-packages/numpy/core/fromnumeric.py", line 1320, in resize
a = concatenate((a,) * n_copies)
MemoryError

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions