Skip to content
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

Tutorial 4 Discovery: I don't set Singularity but it seems tends to run on the Singularity, NOT the default Docker #84

Open
Sawakotx opened this issue Nov 28, 2023 · 2 comments

Comments

@Sawakotx
Copy link

Sawakotx commented Nov 28, 2023

Hi~
I also try to run tutorial 4 and I met a problem about step 1. I'm not setting 'CIBERSORTx fractions Singularity path' but it didn't run on default Docker, instead it shows that it wants to run on Singularity. It seems to be wrong but I really cannot find the relevant solution. 😭
If you have any clues or suggestions, you are more than welcome, I'm looking forward to them!!! Thanks in advance~
@BALuca @kaizen89 @cbsteen

The details are as below.

  1. There is pipeline setting:
    5977a1ac19f8fbbd944b0052b45c66d7

  2. There is output information:

Rscript EcoTyper_discovery_bulk.R -c local_config_discovery_bulk.yml

Step 1 (cell type fraction estimation): Running CIBERSORTxFractions on the discovery dataset...
Running CIBERSORTx fractions with no batch correction, using the 'TR4' signature matrix and 'Test_Discovery' dataset.
Running on singularity...
sh: singularity: command not found
Warning message:
In system(cmd_line) 

Originally posted by @Sawakotx in #36 (comment)

@WJRDW
Copy link

WJRDW commented Jun 5, 2024

I'm having the same issue. Were you able to find a solution?
Thanks!

@Malus-P
Copy link

Malus-P commented Oct 14, 2024

Do not know if you still need a solution, but the issue may be caused by a miss input of the parameter NULL as "NULL" in EcoTyper_discovery_bulk.R. This may be solved by manually set the parameter to NULL in the first step, like the following (in about line 74):

if(discovery_type == "RNA-seq")
	{
		#PushToJobQueue(paste("Rscript csx_fractions.R", "discovery", discovery, "TR4", "no_batch", CSx_username, CSx_token, paste0("'", CSx_singularity_path_fractions, "'")))
		PushToJobQueue(paste("Rscript csx_fractions.R", "discovery", discovery, "TR4", "no_batch", CSx_username, CSx_token, NULL))	
		RunJobQueue()

		#PushToJobQueue(paste("Rscript csx_fractions.R", "discovery", discovery, "LM22", "B_mode", CSx_username, CSx_token, paste0("'", CSx_singularity_path_fractions, "'")))
		PushToJobQueue(paste("Rscript csx_fractions.R", "discovery", discovery, "LM22", "B_mode", CSx_username, CSx_token, NULL))
		RunJobQueue() 

		PushToJobQueue(paste("Rscript csx_fractions_two_tiered.R", "discovery", discovery, "TR4", "no_batch", "LM22", "B_mode", fractions))		
		RunJobQueue()
	}

Note that this is for step 1, and step 2 may also need such modification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants