SnapATAC2
SnapATAC2 copied to clipboard
'list' object has no attribute 'intersection'
Hi, @kaizhang . Thanks for developing SnapATAC2. When I was running the anndata.concat function in the "Annotating cell clusters by integrating single-cell RNA-seq data" tutorial, an error occurred "AttributeError: 'list' object has no attribute 'intersection'"
the "reference" data was generated by Scanpy and scVI, the query was generated by SnapATAC2. They are shown below
Could you help me solve this problem? Thanks very much. Best
You are using the concat
function from the anndata package. Please make sure the AnnData objects are read by the read
function from the anndata package (or in in-memory mode).
You are using the
concat
function from the anndata package. Please make sure the AnnData objects are read by theread
function from the anndata package (or in in-memory mode).
Hi, thanks very much for your prompt reply. @kaizhang . The reference object is imported by snap.read, and the query object is generated by snap.pp.make_gene_matrix, which is show below
I just followed the tutorial ""Annotating cell clusters by integrating single-cell RNA-seq data" step by step.