-
Notifications
You must be signed in to change notification settings - Fork 149
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Attach your log file
ArchR has a built-in logging functionality for all complex functions. You MUST attach your log file (indicated in the console output) to this issue
ArchR-plotTSSEnrichment-1b483d685a8-Date-2020-07-20_Time-22-03-06.log
. Just drag and drop it here.
Describe the bug
I got a wrong TSSenrichment plot include just one normal line with 2 peaks and the other two lines almost straight. I am confused by the result. Is there anyone can help me? Thanks very much!
Screenshots
If applicable, add screenshots to help explain your problem.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
jgranja24 commentedon Jul 22, 2020
Hmmm I think this has happened for some other people. I will look into this sorry for the delay.
rcorces commentedon Aug 11, 2020
I'm assuming that this is related to running on windows. Windows is not supported and its not possible for us to troubleshoot this. I'm closing this issue.
Carota-1 commentedon Aug 14, 2020
I got the same issue when running in linux.
rcorces commentedon Aug 14, 2020
Can you try running with 1 thread and see if this solves the problem?
Carota-1 commentedon Aug 17, 2020
Thank you for your answer, but the issue still still exists when I use a thread.
jgranja24 commentedon Oct 28, 2020
Sorry for the delays @Carota-1.
Can you try with the new release branch. I added more stability and logging and more features --
For Example
rcorces commentedon Nov 21, 2020
Closing due to inactivity. Feel free to post to this thread if the problem can be reproduced with the latest version of ArchR and we will re-open the issue.
zhijunyuu commentedon Nov 24, 2020
I got the same issue running on linux and using the 1.0.0 version of ArchR. Also tried 1 thread, it didn't help.
rcorces commentedon Nov 24, 2020
@zhijunyuu - Can you provide a log file?
zhijunyuu commentedon Dec 10, 2020
ArchR-plotTSSEnrichment-6a771b6c7cfb-Date-2020-12-10_Time-10-49-07.log
18 remaining items
Kaivalyamolugu commentedon Mar 11, 2021
Hello all, Thank you for your suggestions. I set the ArchR threads = 16 by running force = TRUE and that worked. Attached is the beautiful new plot! It does look like it's something to do with the threads?
Thanks,

Kaivalya
rcorces commentedon Mar 11, 2021
@Kaivalyamolugu - Thanks for confirming this. You are correct - there is something funky going on when
threads = 1
in this function. I can recapitulate this error when I setthreads = 1
This is calculated incorrectly within the function and (unsurprisingly) when you use
returnDF = TRUE
the data frame object is incorrect as well:I havent figured out where the problem is in the code but @jgranja24 will figure it out
Kaivalyamolugu commentedon Mar 11, 2021
Hello again, My R is crashing since I've set the threads to 16. Do you think it would be okay to set the threads to 1 for the rest of the code and set to 16 only for the TSS enrichment plot step?
Thanks,
Kaivalya
rcorces commentedon Mar 11, 2021
@Kaivalyamolugu - according to your logfile, ArchR only really detects 3 cores on your machine. The error with
threads = 1
should be limited toplotTSSEnrichment()
. Trythreads = 2
though. this should be fine on your system.Kaivalyamolugu commentedon Mar 11, 2021
Thank you for letting me know!
sqs1020 commentedon Jan 20, 2022
Hello, I am also getting the same problem on my 6 samples. I cannot use any other threads except for threads = 1. I am using macOS.

rcorces commentedon Jan 20, 2022
@sqs1020 - I believe your problem is unrelated. see #1145 (comment)
just run
library(parallel)
before using ArchR when using threads > 1sqs1020 commentedon Jan 20, 2022
Thanks for the reply. My innitial problem is related, that is asscociated with the "plotTSSEnrichment" function (see attached scrreenshot). And then I found this ticket and read the comments. People are saysing using different threads can solve the problem and that's why I have the problem trying different threads. Thank you!

sqs1020 commentedon Jan 20, 2022
After using library(parallel) and trying threads = 6 , the problem solved. Thanks again!

Bugfix
rcorces commentedon May 21, 2022
This issue has finally been fixed via 506161d in
release_1.0.2
. It was a C++ bug.rcorces commentedon May 21, 2022