Skip to content

Commit 829e77b

Browse files
feat: add clean_raw_counts() param
1 parent 6f93ddc commit 829e77b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

main.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,5 @@ workflow {
3535

3636
ch_moo = ch_input |
3737
create_multiOmicDataSet_from_files
38-
clean_raw_counts(ch_moo, [ params.aggregate_rows_with_duplicate_gene_names, params.cleanup_column_names, params.split_gene_name ])
38+
clean_raw_counts(ch_moo, [ params.aggregate_rows_with_duplicate_gene_names, params.cleanup_column_names, params.split_gene_name, params.gene_name_column_to_use_for_collapsing_duplicates ])
3939
}

modules/local/mosuite/clean_raw_counts/main.nf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ process clean_raw_counts {
33

44
input:
55
path(moo)
6-
tuple val(aggregate_rows_with_duplicate_gene_names), val(cleanup_column_names), val(split_gene_name)
6+
tuple val(aggregate_rows_with_duplicate_gene_names), val(cleanup_column_names), val(split_gene_name), val(gene_column_name_to_use_for_collapsing_duplicates)
77

88
output:
99
path("moo_clean.rds"), emit: 'moo'
10-
path("figures/"), emit: figures
10+
path("figures/**"), emit: figures
1111

1212
script:
1313
"""

nextflow.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ params {
99
aggregate_rows_with_duplicate_gene_names = true
1010
cleanup_column_names = true
1111
split_gene_name = true
12+
gene_name_column_to_use_for_collapsing_duplicates = ''
1213

1314
// Boilerplate options
1415
outputDir = 'results'

0 commit comments

Comments
 (0)