I have been working through the steps in the ArchR manual, and I have run into a problem with the Peak Calling using Macs2. I didn't have Macs2 already installed so I used Python3 to install it to my computer (Mac OS). However, when I try to either use the findMacs2 command or specify the path in the addReproduciblePeakSet command, I encounter errors.
For findMacs2(), I see the following output:
> pathToMacs2 <- findMacs2() Searching For MACS2.. Not Found in $PATH Not Found with pip Error in .checkPath(path2Bin, throwError = error) : object 'error' not found
For the addReproduciblePeakSet command, I see this output:
`> proj3 <- addReproduciblePeakSet(
- ArchRProj = proj3,
- groupBy = "Clusters",
- pathToMacs2 = "~/MyPythonEnv/bin"
- )
Error in system2(path, "callpeak -h", stdout = TRUE, stderr = TRUE) :
error in running command`
This was after updating to a more recent version of ArchR (0.9.5 from 0.9.3). Previously, the second command produced an error saying that the path that I had specified wasn't in my $PATH, even though I had added it to this. These new attempts after updating ArchR didn't produce any log files, but I have attached those from before the update for you. I am also attaching a screenshot of the folders in my $PATH which shows that the folder ~/MyPythonEnv/bin, which contains the Macs2 executable is, is a part of my $PATH.
Any advice would be greatly appreciated. Let me know if any additional information would be helpful.

ArchR-addReproduciblePeakSet-699c7288aeb7-Date-2020-06-08_Time-16-04-38.log
ArchR-addReproduciblePeakSet-699c7288aeb7-Date-2020-06-08_Time-16-04-38.log
I have been working through the steps in the ArchR manual, and I have run into a problem with the Peak Calling using Macs2. I didn't have Macs2 already installed so I used Python3 to install it to my computer (Mac OS). However, when I try to either use the findMacs2 command or specify the path in the addReproduciblePeakSet command, I encounter errors.
For findMacs2(), I see the following output:
> pathToMacs2 <- findMacs2() Searching For MACS2.. Not Found in $PATH Not Found with pip Error in .checkPath(path2Bin, throwError = error) : object 'error' not foundFor the addReproduciblePeakSet command, I see this output:
`> proj3 <- addReproduciblePeakSet(
Error in system2(path, "callpeak -h", stdout = TRUE, stderr = TRUE) :
error in running command`
This was after updating to a more recent version of ArchR (0.9.5 from 0.9.3). Previously, the second command produced an error saying that the path that I had specified wasn't in my $PATH, even though I had added it to this. These new attempts after updating ArchR didn't produce any log files, but I have attached those from before the update for you. I am also attaching a screenshot of the folders in my $PATH which shows that the folder ~/MyPythonEnv/bin, which contains the Macs2 executable is, is a part of my $PATH.
Any advice would be greatly appreciated. Let me know if any additional information would be helpful.
ArchR-addReproduciblePeakSet-699c7288aeb7-Date-2020-06-08_Time-16-04-38.log
ArchR-addReproduciblePeakSet-699c7288aeb7-Date-2020-06-08_Time-16-04-38.log