-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TSSEnrichment() fails #244
Comments
Here you're using the wrong gene annotations for hg38, so it's probably looking in the wrong places for the TSS sites. EnsDb.Hsapiens.v86 is the correct version for hg38 |
Thank you! I changed to EnsDb.Hsapiens.v86 and am now getting this error for the TSSEnrichment step: Extracting TSS positions |
This should now be fixed on the develop branch. See the website for installation instructions: https://satijalab.org/signac/articles/install.html#development-version-1 |
Thanks @timoast, I am now able to get through the TSSEnrichment function after installing the develop branch. However, I am getting a score of essentially zero (see attached plots). I've ran this data through ArchR and observe a normal looking TSS Enrichment score, so I'm not sure if it's something I'm doing wrong? Here is my current code: ''#Pre-processing workflow chrom_assay <- CreateChromatinAssay( pbmc <- CreateSeuratObject( pbmc #Get gene annotations for the peaks and add to the object #QC metrics #Plot the TSS Enrichment score VlnPlot( For reference, here is the score I'm getting with ArchR: |
My guess is that you're using the wrong set of gene annotations. What genome did you map the reads to? How big is the fragment file and how many cells do you have? Can you show the first few lines of the fragment file? |
The files are output from 10x's CellRanger, which mapped the reads from GRCH38 (based on the web summary). The fragment file is 2.58GB, have about 6.5k cells. If I do rownames(chrom_assay) after reading in the fragment file, I get: [1] "chr1-181266-181696" "chr1-191245-191738" "chr1-629711-630163" "chr1-633794-634264" etc. |
Would I use the: line for GRCh38? If not, is there a different 'seqlevelsStyle()' that I should set it to? |
@timoast turns out I somehow got my wires crossed and mixed up sample files, it seems to be working now. Thank for your help! |
Hello,
Great package. I am running Signac on my data, and am running into an issue at the TSSEnrichment step. When running the function, I get the following error:
Error in SetAssayData.ChromatinAssay(object = object[[assay]], slot = slot, :
Position enrichment must be provided as a matrix or sparseMatrix
I am able to follow the Vignette fine, so it's something with my data. Here is my code:
The text was updated successfully, but these errors were encountered: