Skip to content

Commit

Permalink
resources test are cleared. scenicplus and scglue fixed. sinlge omics…
Browse files Browse the repository at this point in the history
… workflow fixed
  • Loading branch information
janursa committed Sep 4, 2024
1 parent 36b0fb4 commit a255f91
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 21 deletions.
2 changes: 1 addition & 1 deletion src/methods/multi_omics/scglue/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ platforms:
- type: native
- type: nextflow
directives:
label: [oneweektime,midmem,highcpu]
label: [oneweektime, midmem, highcpu, gpu]
4 changes: 4 additions & 0 deletions src/methods/multi_omics/scglue/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,10 @@ def cis_inference(par):


def main(par):
import torch
print("Is CUDA available:", torch.cuda.is_available())
print("Number of GPUs:", torch.cuda.device_count())

os.makedirs(par['temp_dir'], exist_ok=True)
print('Reading input files', flush=True)
rna = ad.read_h5ad(par['multiomics_rna'])
Expand Down
2 changes: 1 addition & 1 deletion src/methods/single_omics/ennet/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ platforms:
- type: native
- type: nextflow
directives:
label: [onedaytime,midmem,midcpu]
label: [threedaystime,midmem,midcpu]
2 changes: 1 addition & 1 deletion src/methods/single_omics/genie3/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ platforms:
- type: native
- type: nextflow
directives:
label: [midtime,midmem,midcpu]
label: [threedaystime, midmem,midcpu]
2 changes: 1 addition & 1 deletion src/methods/single_omics/grnboost2/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ platforms:
- type: native
- type: nextflow
directives:
label: [onedaytime,midmem,midcpu]
label: [onedaytime, midmem, midcpu]
2 changes: 1 addition & 1 deletion src/methods/single_omics/pidc/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ platforms:
- type: native
- type: nextflow
directives:
label: [midtime,midmem,midcpu]
label: [threedaystime, midmem,midcpu]
2 changes: 1 addition & 1 deletion src/methods/single_omics/ppcor/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ platforms:
- type: native
- type: nextflow
directives:
label: [midtime,midmem,midcpu]
label: [threedaystime, midmem,midcpu]
2 changes: 1 addition & 1 deletion src/methods/single_omics/scsgl/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ platforms:
- type: native
- type: nextflow
directives:
label: [onedaytime,midmem,midcpu]
label: [threedaystime, midmem,midcpu]
2 changes: 1 addition & 1 deletion src/methods/single_omics/tigress/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ platforms:
- type: native
- type: nextflow
directives:
label: [onedaytime, midmem, highcpu]
label: [threedaystime, midmem, highcpu]
2 changes: 1 addition & 1 deletion src/workflows/run_benchmark_single_omics/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ functionality:
platforms:
- type: nextflow
directives:
label: [ onedaytime, midmem, highcpu]
label: [ threedaystime, midmem, highcpu]
24 changes: 12 additions & 12 deletions src/workflows/run_benchmark_single_omics/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@ workflow run_wf {
main:

// construct list of methods
methods = [
portia,
ennet,
genie3,
grnboost2,
pidc,
ppcor,
scsgl,
tigress
]

// methods = [
// portia,
// ennet,
// genie3,
// grnboost2,
// pidc,
// ppcor,
// scsgl,
// scsgl,
// tigress
// ]

methods = [
portia,
// ennet
grnboost2
// scsgl,
// tigress
]

// construct list of metrics
metrics = [
regression_1
Expand Down

0 comments on commit a255f91

Please sign in to comment.