r3fang / SnapATAC

Analysis Pipeline for Single Cell ATAC-seq
GNU General Public License v3.0
296 stars 125 forks source link

Error in addBmatToSnap #223

Open strawberry789 opened 3 years ago

strawberry789 commented 3 years ago

I ran this:

snaptools snap-add-bmat \ --snap-file=file.snap \ --bin-size-list 1000 5000 10000 \ --verbose=True

and then,

showBinSizes("file.snap")

showing,

1000, 5000, 10000

But when I ran afterwards:

object = addBmatToSnap(object, bin.size=5000, num.cores=1)

I get,

Error in value[3L]: Warning @addBmat: 'AM/bin.size/idx' not found in file.snap

What's wrong and how should I resolve it? Thanks.

zyzyzyy624 commented 2 years ago

I ran this:

snaptools snap-add-bmat --snap-file=file.snap --bin-size-list 1000 5000 10000 --verbose=True

and then,

showBinSizes("file.snap")

showing,

1000, 5000, 10000

But when I ran afterwards:

object = addBmatToSnap(object, bin.size=5000, num.cores=1)

I get,

Error in value[3L]: Warning @addBmat: 'AM/bin.size/idx' not found in file.snap

What's wrong and how should I resolve it? Thanks.

Have you solved your problem? I have also met the same problem