Skip to content

Commit

Permalink
process multiomics updated
Browse files Browse the repository at this point in the history
  • Loading branch information
janursa committed Nov 19, 2024
1 parent a3656b4 commit 8b0ecf6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 48 deletions.
22 changes: 0 additions & 22 deletions src/workflows/process_multiomics/config.vsh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,6 @@ functionality:
direction: output
example: resources/grn-benchmark/multiomics_atac.h5ad

- name: --multiomics_rna_d0_hvg
type: file
required: false
direction: output
example: resources/grn-benchmark/multiomics_rna_d0_hvg.h5ad
- name: --multiomics_atac_d0
type: file
required: false
direction: output
example: resources/grn-benchmark/multiomics_atac_d0.h5ad

- name: --rna_rds
type: file
Expand All @@ -49,17 +39,6 @@ functionality:
direction: output
example: resources/grn-benchmark/multiomics_atac.rds

- name: --rna_rds_d0_hvg
type: file
required: false
direction: output
example: resources/grn-benchmark/multiomics_rna_d0_hvg.rds
- name: --atac_rds_d0
type: file
required: false
direction: output
example: resources/grn-benchmark/multiomics_atac_d0.rds

resources:
- type: nextflow_script
path: main.nf
Expand All @@ -68,7 +47,6 @@ functionality:
- name: multiomics/format_data
- name: multiomics/multiome_matrix
- name: multiomics/format_resources_r
- name: multiomics/subset_hvg
platforms:
- type: nextflow
directives:
Expand Down
27 changes: 1 addition & 26 deletions src/workflows/process_multiomics/main.nf
Original file line number Diff line number Diff line change
Expand Up @@ -31,33 +31,8 @@ workflow run_wf {
atac_rds: "atac_rds"]
)

| subset_hvg.run(
fromState: [multiomics_rna: "multiomics_rna", multiomics_atac: "multiomics_atac"],
toState: [multiomics_rna_d0_hvg: "multiomics_rna_d0_hvg", multiomics_atac_d0: "multiomics_atac_d0"]
)

| multiome_matrix.run(
fromState: [multiomics_rna: "multiomics_rna_d0_hvg", multiomics_atac: "multiomics_atac_d0"],
toState: [rna_matrix_d0: "rna_matrix",
atac_matrix_d0: "atac_matrix",
rna_gene_annot_d0: "rna_gene_annot",
rna_cell_annot_d0: "rna_cell_annot",
atac_peak_annot_d0: "atac_peak_annot",
atac_cell_annot_d0: "atac_cell_annot"]
)

| format_resources_r.run(
fromState: [rna_matrix: "rna_matrix_d0",
atac_matrix: "atac_matrix_d0",
rna_gene_annot: "rna_gene_annot_d0",
rna_cell_annot: "rna_cell_annot_d0",
atac_peak_annot: "atac_peak_annot_d0",
atac_cell_annot: "atac_cell_annot_d0"],
toState: [rna_rds_d0_hvg: "rna_rds",
atac_rds_d0: "atac_rds"]
)

| setState(["multiomics_rna", "multiomics_atac", "rna_rds", "atac_rds", "multiomics_rna_d0_hvg", "multiomics_atac_d0", "rna_rds_d0_hvg", "atac_rds_d0"])
| setState(["multiomics_rna", "multiomics_atac", "rna_rds", "atac_rds"])

emit:
output_ch
Expand Down

0 comments on commit 8b0ecf6

Please sign in to comment.