You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Signac vignette "Analyzing PBMC scATAC-seq", there is a step in which we filter out those features falling in chromosome scaffolds or other sequences instead of the standard chromosomes:
I have no problem running that step when the seurat object only include a single assat "peaks". However, if the seurat object contains other assays like "RNA" (for example, the one generated in another vignette "Joint RNA and ATAC analysis: 10x multiomic"), this step will fail, and produce an error:
> pbmc2
An object of class Seurat
204947 features across 11211 samples within 3 assays
Active assay: ATAC (143887 features, 143887 variable features)
2 layers present: counts, data
2 other assays present: RNA, SCT
2 dimensional reductions calculated: pca, lsi
> pbmc2[as.vector(peaks.keep), ]
Error: None of the features provided found in this assay
As have been mentioned in issue #315, this only happens to the features, but not the cells.
> pbmc2[, 1]
An object of class Seurat
204947 features across 1 samples within 3 assays
Active assay: ATAC (143887 features, 143887 variable features)
2 layers present: counts, data
2 other assays present: RNA, SCT
2 dimensional reductions calculated: pca, lsi
The pbmc2 is generated as detailed in the vignette "Joint RNA and ATAC analysis: 10x multiomic", and the only modification is that I used another .h5 and fragment files from 10X genomics. I guess maybe assay RNA or SCT is causing this issue? I would really appreciate it if anyone knows the reason behind it.
I'm using the latest release of Signac (1.14.0, which should provide support for seurat v5) and Seurat 5.0.1. I would really appreciate if anyone knows the reason behind this issue.
Actually I found a walkaround, by directly modifying the counts of assay "ATAC":
> pbmc
An object of class Seurat
204947 features across 11211 samples within 3 assays
Active assay: ATAC (143887 features, 143887 variable features)
2 layers present: counts, data
2 other assays present: RNA, SCT
2 dimensional reductions calculated: pca, lsi
> pbmc@assays$ATAC <- subset(pbmc@assays$ATAC, features = rownames(pbmc@assays$ATAC)[as.vector(peaks.keep)])
> pbmc
An object of class Seurat
204896 features across 11211 samples within 3 assays
Active assay: ATAC (143836 features, 143836 variable features)
2 layers present: counts, data
2 other assays present: RNA, SCT
2 dimensional reductions calculated: pca, lsi
However, I'm still interested in whether there exists another way of fixing this issue.
In the Signac vignette "Analyzing PBMC scATAC-seq", there is a step in which we filter out those features falling in chromosome scaffolds or other sequences instead of the standard chromosomes:
I have no problem running that step when the seurat object only include a single assat "peaks". However, if the seurat object contains other assays like "RNA" (for example, the one generated in another vignette "Joint RNA and ATAC analysis: 10x multiomic"), this step will fail, and produce an error:
As have been mentioned in issue #315, this only happens to the features, but not the cells.
The pbmc2 is generated as detailed in the vignette "Joint RNA and ATAC analysis: 10x multiomic", and the only modification is that I used another .h5 and fragment files from 10X genomics. I guess maybe assay RNA or SCT is causing this issue? I would really appreciate it if anyone knows the reason behind it.
I'm using the latest release of Signac (1.14.0, which should provide support for seurat v5) and Seurat 5.0.1. I would really appreciate if anyone knows the reason behind this issue.
Here is the session info:
The text was updated successfully, but these errors were encountered: