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

Error in bash #101

Open
Khalid-Usman opened this issue Nov 14, 2023 · 7 comments
Open

Error in bash #101

Khalid-Usman opened this issue Nov 14, 2023 · 7 comments

Comments

@Khalid-Usman
Copy link

Khalid-Usman commented Nov 14, 2023

Screenshot 2023-11-14 at 5 43 08 PM

I have just configured the conda and when I try to run evaluation on GPU, I get the following error.

Your guidance in resolving this issue will be highly appreciated and if you guide me to run only GLUE or 2,3 methods instead of all. I tried to comment on other methods in the config file but seems like it's not working.

Thanks

@Khalid-Usman Khalid-Usman changed the title Configuration Issue Error in bash Nov 14, 2023
@Jeff1995
Copy link
Collaborator

Hi @Khalid-Usman! Which lines did you comment out in the config file? There are multiple types of benchmarks in the config file, you may try commenting out all but one benchmark (

benchmark_noprep:
data:
prior:
gene_region: combined
extend_range: 0
corrupt_rate: 0.0
corrupt_seed: 0
method:
UnionCom:
Pamona:
MMD_MA:
iNMF:
iNMF_FiG:
LIGER:
LIGER_FiG:
Harmony:
bindSC:
CCA_anchor:
GLUE:
dim: 50
alt_dim: 0
hidden_depth: 2
hidden_dim: 256
dropout: 0.2
lam_graph: 0.02
lam_align: 0.05
neg_samples: 10
seed: 8
#------------------------------ Prior robustness -------------------------------
prior_corrupt:
data:
prior:
gene_region: combined
extend_range: 0
corrupt_rate:
- 0.2
- 0.4
- 0.6
- 0.8
- 0.9
- 1.0
corrupt_seed: 8
method:
iNMF:
LIGER:
Harmony:
bindSC:
CCA_anchor:
GLUE:
dim: 50
alt_dim: 100
hidden_depth: 2
hidden_dim: 256
dropout: 0.2
lam_graph: 0.02
lam_align: 0.05
neg_samples: 10
seed: 1
prior_alt:
data:
prior:
gene_region:
- combined
- promoter
extend_range:
- 0
- 150000
corrupt_rate: 0.0
corrupt_seed: 0
method:
iNMF:
LIGER:
Harmony:
bindSC:
CCA_anchor:
GLUE:
dim: 50
alt_dim: 100
hidden_depth: 2
hidden_dim: 256
dropout: 0.2
lam_graph: 0.02
lam_align: 0.05
neg_samples: 10
seed: 8
#------------------------------- Subsample data --------------------------------
subsample:
data:
subsample_size:
- 250
- 500
- 1000
- 2000
- 4000
- 8000
subsample_seed: 8
prior:
gene_region: combined
extend_range: 0
corrupt_rate: 0.0
corrupt_seed: 0
method:
UnionCom:
Pamona:
MMD_MA:
iNMF:
iNMF_FiG:
LIGER:
LIGER_FiG:
Harmony:
bindSC:
CCA_anchor:
GLUE:
dim: 50
alt_dim: 100
hidden_depth: 2
hidden_dim: 256
dropout: 0.2
lam_graph: 0.02
lam_align: 0.05
neg_samples: 10
seed: 1
#----------------------------- Feature consistency -----------------------------
feature:
data:
prior:
gene_region: combined
extend_range: 0
corrupt_rate: 0.0
corrupt_seed: 0
method:
GLUE:
dim: 50
alt_dim: 100
hidden_depth: 2
hidden_dim: 256
dropout: 0.2
lam_graph: 0.02
lam_align: 0.05
neg_samples: 10
seed: 8
), and then removing all but 2-3 methods in that benchmark.

@Khalid-Usman
Copy link
Author

@Jeff1995 , I comment out two datasets and all the methods except GLUE, UnionCom, and Harmony. Still it showing me the above attached error.

@Jeff1995
Copy link
Collaborator

Oh that should be a problem with the snakemake profile. Unless you are using a slurm cluster, the local profile should be used:

snakemake -j32 --profile profiles/local  # On local server

@Khalid-Usman
Copy link
Author

@Jeff1995 I have modified the attached two files, please let me know if I am supposed to change other files, like GLUE -> evaluation -> workflow -> methods.smk or another file to run the code successfully.

config.docx
display.docx

@Khalid-Usman
Copy link
Author

Khalid-Usman commented Dec 2, 2023

@Jeff1995 When I run the following command after the above configurations. I got the error as attached.

GLUE_Error

@Khalid-Usman
Copy link
Author

Then, I tried to perform some experiments and got the attached error. I am confused about what I am doing wrong.

tripple-omics

@Jeff1995
Copy link
Collaborator

Jeff1995 commented Jan 8, 2024

Sorry for the late reply! Could you check the log files for more detailed errors? E.g., "s01_preprocessing_nbconvert.log"?

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

2 participants