Entering edit mode
3.3 years ago
LacquerHed
▴
30
I am attempting to run Macs2 CallPeaks on some multiome data and running into a problem when attempting to run CallPeaks command on multiple fragment file paths in Seurat object.
peaks<-CallPeaks(DataCombined, macs2.path = "/anaconda3/bin/macs2")
FileNotFoundError: [Errno 2] No such file or directory: '/Users/Desktop/multiome/sc291/atac_fragments.tsv.gz /Users/Desktop/multiome/sc292/atac_fragments.tsv.gz /Users/Desktop/multiome/sc293/atac_fragments.tsv.gz'
So basically its listing all three paths together as a single path, not sure how to resolve this. TIA
Hi, I'm having the very same issue, have you solved it?
Thanks! Harris
What is the class of your input data? You might want to include all code thus far.
My input data is a Seurat object, created similarly to here: https://satijalab.org/signac/articles/pbmc_multiomic.html. I merged two such objects, each with a different fragment file:
p0f.inhib <- merge( x = p0f.inhib, y = list(p0f2.inhib), add.cell.ids = c("p0f", "p0f2") )
Of note, my CallPeaks function works perfectly well on each individual object, but not on the merged one. Here is my output:
Have not had luck with this yet, you?
Unfortunately not. Will let you know if I find a solution.
FYI - I decided to simply proceed with calling peaks using each fragment file separately.
They added a fix for this in the newest development version of Signac. Works well for me now.