Closed jenellewallace closed 2 years ago
Just to clarify, it looks like the peak calling worked but there are no counts quantified for some of the cells.
Can you confirm that cells in the RNA object colnames(rna)
are present in the fragment files that you get no counts for? Eg:
"K6_TTTGTTGGTTGGTTCT-1" %in% colnames(rna)
Thanks, yes I have just confirmed that the above statement returns TRUE, as does "K6_TTTGTTGGTTGGTTCT-1" %in% colnames(macs2_counts). So I think that peak calling worked and the problem is downstream. Thanks for your help!
Should be fixed now on the develop branch
I have confirmed this is working now on my data - thanks so much for fixing the issue so quickly!
I am trying to call peaks on a list of fragment files from different conditions (in the context of a multiome experiment), but peaks only seem to be called on the first file. Here is my code:
The individual files B_frags, S_frags, etc seem fine when I checked the contents:
The output of fragpath is:
So all the fragment files are indeed in the correct folder. You can see the problem by looking at the first and last lines of the object multi_prelim - the cells for the first fragment file (prefixed B) have data for peaks but the cells for the last file (prefixed K6) do not.
As a workaround, I can combine all the fragment files at the command line, but I am just wondering why this isn't working.