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

Integrate subworkflows into pipeline #431

Open
wants to merge 31 commits into
base: dev
Choose a base branch
from
Open

Conversation

suzannejin
Copy link

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs
  • If necessary, also make a PR on the nf-core/differentialabundance branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nf-test test main.nf.test -profile test,docker).
  • Check for unexpected warnings in debug mode (nextflow run . -profile debug,test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

commit 9e4a105
Merge: 8059211 128ffe8
Author: Suzanne Jin <[email protected]>
Date:   Mon Dec 2 12:37:20 2024 +0100

    Merge pull request #329 from nf-core/311-add-module-gsea

    311 add module gsea

commit 128ffe8
Merge: 440e40f 8059211
Author: Björn Langer <[email protected]>
Date:   Fri Nov 15 16:34:38 2024 +0100

    Merge branch 'dev-ratio' into 311-add-module-gsea

commit 8059211
Merge: 6d0d3b8 13bc1b7
Author: Björn Langer <[email protected]>
Date:   Fri Nov 15 16:29:15 2024 +0100

    Merge pull request #357 from bjlang/dev-ratio

    Fix tests; add version channels; remove params access in subworkflow

commit 13bc1b7
Author: bjlang <>
Date:   Fri Nov 15 16:00:42 2024 +0100

    Fix DEseq2 call

commit 047099e
Author: bjlang <>
Date:   Fri Nov 15 15:46:26 2024 +0100

    Revert "Ensure ch_transcript_lengths and ch_control_features being channels and not arrayLists"

    This reverts commit 655ad61.

commit 655ad61
Author: bjlang <>
Date:   Fri Nov 15 15:31:13 2024 +0100

    Ensure ch_transcript_lengths and ch_control_features being channels and not arrayLists

commit 95a9b25
Author: bjlang <>
Date:   Fri Nov 15 13:17:02 2024 +0100

    Forward version channel from subworkflows

commit 846ca55
Author: bjlang <>
Date:   Fri Nov 15 13:01:11 2024 +0100

    Fix tests; add version channels; remove params access in subworkflow

commit 440e40f
Author: bjlang <>
Date:   Wed Nov 13 16:29:32 2024 +0100

    fix linting

commit ad3173e
Author: bjlang <>
Date:   Wed Nov 13 14:07:30 2024 +0100

    Fix test runs to finish except for GSEA

commit 69f5b36
Merge: 4ade9e2 6d0d3b8
Author: Björn Langer <[email protected]>
Date:   Mon Nov 4 20:52:11 2024 +0100

    Merge branch 'dev-ratio' into 311-add-module-gsea

commit 6d0d3b8
Merge: 0f9c9fc 953eb51
Author: Suzanne Jin <[email protected]>
Date:   Mon Nov 4 16:39:50 2024 +0100

    Merge pull request #318 from bjlang/dev-ratio

    move pathway related logic out of differential and correlation subworkflows

commit 0f9c9fc
Merge: 4889998 a885116
Author: Suzanne Jin <[email protected]>
Date:   Mon Nov 4 11:16:02 2024 +0100

    Merge pull request #335 from nf-core/322_add_module_deseq2

    322 add module deseq2

commit a885116
Author: Breeshey Roskams-Hieter <[email protected]>
Date:   Wed Oct 30 14:22:13 2024 +0000

    update channel name to samples_and_matrix

    Co-authored-by: WackerO <[email protected]>

commit 0e4a84d
Author: Breeshey Roskams-Hieter <[email protected]>
Date:   Wed Oct 30 14:22:03 2024 +0000

    update channel name to samples_and_matrix

    Co-authored-by: WackerO <[email protected]>

commit a282a47
Author: Breeshey Roskams-Hieter <[email protected]>
Date:   Wed Oct 30 14:21:45 2024 +0000

    update channel name to samples_and_matrix

    Co-authored-by: WackerO <[email protected]>

commit a2ddd8a
Author: Breeshey Roskams-Hieter <[email protected]>
Date:   Wed Oct 30 11:34:53 2024 +0000

    fix linting

commit d6da7ad
Merge: ba1ea24 4889998
Author: Breeshey Roskams-Hieter <[email protected]>
Date:   Wed Oct 30 11:31:14 2024 +0000

    resolve merge conflicts

commit ba1ea24
Author: Breeshey Roskams-Hieter <[email protected]>
Date:   Wed Oct 30 11:23:57 2024 +0000

    set nsub to lower numebr given nature of test data

commit 3546cb0
Author: Breeshey Roskams-Hieter <[email protected]>
Date:   Wed Oct 30 11:23:41 2024 +0000

    add DESEQ2 block to this workflow

commit 4a5aa60
Author: Breeshey Roskams-Hieter <[email protected]>
Date:   Wed Oct 30 11:21:12 2024 +0000

    add deseq2 pathway name

commit 953eb51
Author: bjlang <>
Date:   Wed Oct 30 12:15:10 2024 +0100

    Implement review comments

commit 1198761
Merge: f7c5c77 4889998
Author: bjlang <>
Date:   Wed Oct 30 11:17:05 2024 +0100

    Merge remote-tracking branch 'upstream/dev-ratio' into dev-ratio

commit 4889998
Merge: 1d5b909 90001a2
Author: Suzanne Jin <[email protected]>
Date:   Wed Oct 30 10:51:47 2024 +0100

    Merge pull request #333 from nf-core/323_add_module_gprofiler2

    add GPROFILER2 module to ENRICHMENT subworkflow

commit f7c5c77
Author: bjlang <>
Date:   Tue Oct 29 18:35:24 2024 +0100

    Adapt Limma call

commit 90001a2
Author: Breeshey Roskams-Hieter <[email protected]>
Date:   Tue Oct 29 16:34:18 2024 +0000

    add new line at end of file

commit 47bb659
Author: Breeshey Roskams-Hieter <[email protected]>
Date:   Tue Oct 29 16:32:45 2024 +0000

    remove trailing whitespace

commit 067c592
Author: Breeshey Roskams-Hieter <[email protected]>
Date:   Tue Oct 29 16:21:20 2024 +0000

    run GPROFILER2 only when enr_method is specified in the ch_tools channel

commit 02a38bb
Author: Breeshey Roskams-Hieter <[email protected]>
Date:   Tue Oct 29 16:20:21 2024 +0000

    add new pathway_names to test gprofiler2

commit e5a5d15
Merge: 94d3c8e 1d5b909
Author: bjlang <>
Date:   Tue Oct 29 17:02:24 2024 +0100

    Merge remote-tracking branch 'upstream/dev-ratio' into dev-ratio

commit 94d3c8e
Author: bjlang <>
Date:   Tue Oct 29 16:56:29 2024 +0100

    Once more reorganize the pathway logic

commit f2b6322
Author: Breeshey Roskams-Hieter <[email protected]>
Date:   Tue Oct 29 15:36:12 2024 +0000

    add GPROFILER2 module to ENRICHMENT subworkflow

commit 4ade9e2
Author: Suzanne Jin <[email protected]>
Date:   Tue Oct 29 15:42:12 2024 +0100

    add todo

commit 5620b42
Author: Suzanne Jin <[email protected]>
Date:   Tue Oct 29 15:41:03 2024 +0100

    Update test_experimental.config

commit b2868ae
Author: Suzanne Jin <[email protected]>
Date:   Tue Oct 29 15:36:34 2024 +0100

    Update CHANGELOG.md

commit 1d5b909
Merge: 1f4e926 f97ba6b
Author: Suzanne Jin <[email protected]>
Date:   Tue Oct 29 13:02:31 2024 +0100

    Merge pull request #331 from suzannejin/dev-ratio-limma

    [dev-ratio] add limma to test_experimental

commit f97ba6b
Author: Suzanne Jin <[email protected]>
Date:   Tue Oct 29 12:48:48 2024 +0100

    add todo

commit 3b398ac
Author: Suzanne Jin <[email protected]>
Date:   Tue Oct 29 12:47:23 2024 +0100

    change filter_difftable_limma input column names

commit c6db7ff
Author: Suzanne Jin <[email protected]>
Date:   Tue Oct 29 12:04:26 2024 +0100

    fix bug

commit 898af43
Author: Suzanne Jin <[email protected]>
Date:   Tue Oct 29 11:57:18 2024 +0100

    add filtering step for limma

commit 4477e1c
Author: Suzanne Jin <[email protected]>
Date:   Tue Oct 29 11:48:29 2024 +0100

    add limma to test_experimental

commit 1f4e926
Merge: 0329206 e8067ac
Author: Suzanne Jin <[email protected]>
Date:   Tue Oct 29 11:23:50 2024 +0100

    Merge pull request #328 from syyang93/limma_add

    Modify differential/main.nf to include limma

commit e8067ac
Author: Suzanne Jin <[email protected]>
Date:   Tue Oct 29 10:49:11 2024 +0100

    trim trailing

commit afd7522
Author: Suzanne Jin <[email protected]>
Date:   Tue Oct 29 10:43:57 2024 +0100

    modify limma input

commit aca5f24
Author: Suzanne Jin <[email protected]>
Date:   Tue Oct 29 10:41:38 2024 +0100

    modify limma input

commit b530ddf
Author: Thomas Tams <[email protected]>
Date:   Tue Oct 29 08:35:39 2024 +0000

    add: gsea into enrichment

commit af86bb2
Author: Stephanie Yang <[email protected]>
Date:   Mon Oct 28 16:36:26 2024 +0100

    Modify differential/main.nf to include limma

commit b093261
Author: Thomas Tams <[email protected]>
Date:   Mon Oct 28 14:51:13 2024 +0000

    feat: added GSEA to ENRICHMENT subworkflow, feeding channels from differentialabundance down to enrichment subworkflow

commit 517015b
Author: Thomas Tams <[email protected]>
Date:   Mon Oct 28 14:14:06 2024 +0000

    add: activation of gsea_run and supplying gene set file

commit 0329206
Merge: 3c8be72 e345168
Author: Suzanne Jin <[email protected]>
Date:   Mon Oct 28 12:22:29 2024 +0100

    Merge pull request #324 from suzannejin/dev-ratio-plot-exploratory

    shorten test_experimental into the essential tests

commit e345168
Author: Suzanne Jin <[email protected]>
Date:   Mon Oct 28 11:33:18 2024 +0100

    trim trailing

commit 14b625b
Merge: 094452b 3c8be72
Author: Suzanne Jin <[email protected]>
Date:   Mon Oct 28 11:27:20 2024 +0100

    Merge branch 'dev-ratio' into dev-ratio-plot-exploratory

commit 094452b
Author: Suzanne Jin <[email protected]>
Date:   Mon Oct 28 11:25:12 2024 +0100

    shorten test_experimental into the essential tests

commit 3c8be72
Merge: a594ebf dab58e5
Author: Suzanne Jin <[email protected]>
Date:   Fri Oct 25 14:41:51 2024 +0200

    Merge pull request #320 from suzannejin/dev-ratio-propd-loop

    [dev-ratio] update propr container and propd.R

commit dab58e5
Author: suzannejin <[email protected]>
Date:   Fri Oct 25 13:10:53 2024 +0200

    updated propr container and modified propd.R to loop through FDR testing when no meaningful cutoff is found

commit 8db59cc
Author: suzannejin <[email protected]>
Date:   Fri Oct 25 13:08:16 2024 +0200

    update toolsheet

commit bd7d5d4
Author: suzannejin <[email protected]>
Date:   Thu Oct 24 14:14:14 2024 +0200

    fix bug with number_of_cutoffs in propd.R

commit 74c77bd
Merge: f4e8164 a594ebf
Author: Björn Langer <[email protected]>
Date:   Wed Oct 23 19:05:58 2024 +0200

    Merge branch 'nf-core:dev-ratio' into dev-ratio

commit f4e8164
Author: bjlang <>
Date:   Wed Oct 23 19:05:11 2024 +0200

    Move pathway related logic out of differential and correlation SWF

commit a594ebf
Merge: aa03e1a 4075a80
Author: Björn Langer <[email protected]>
Date:   Wed Oct 23 15:51:50 2024 +0200

    Merge pull request #308 from bjlang/dev-ratio

    Split ch_tools into subworkflow relevant subchannels

commit 4075a80
Author: bjlang <>
Date:   Wed Oct 23 14:32:45 2024 +0200

    fix typo

commit 062c5a3
Author: bjlang <>
Date:   Wed Oct 23 14:16:50 2024 +0200

    Temporarily remove pathway from meta to run processes only once per data/argument combination

commit 9d35597
Author: bjlang <>
Date:   Wed Oct 23 11:27:12 2024 +0200

    remove duplicate tools declaration

commit 1cbdb17
Author: bjlang <>
Date:   Tue Oct 22 19:25:17 2024 +0200

    Fix linting and include propd_grea in test

commit 41adc93
Author: bjlang <>
Date:   Tue Oct 22 18:22:52 2024 +0200

    Split toolsheet data into subworkflow dedicated channels

commit 0464932
Author: bjlang <>
Date:   Tue Oct 22 11:40:01 2024 +0200

    finish merge

commit 95e406a
Merge: a6c2b3d aa03e1a
Author: bjlang <>
Date:   Tue Oct 22 11:20:00 2024 +0200

    Merge branch 'dev-ratio' of https://github.com/bjlang/differentialabundance into dev-ratio

commit aa03e1a
Merge: e977214 ab9587b
Author: Suzanne Jin <[email protected]>
Date:   Tue Oct 22 10:33:07 2024 +0200

    Merge pull request #302 from suzannejin/dev-ratio

    [dev-ratio] add default parameters for propd/propr/grea

commit ab9587b
Author: suzannejin <[email protected]>
Date:   Fri Oct 18 15:55:09 2024 +0200

    modify propd.R so that it output some plots for the top red/yellow/green pairs

commit b566842
Author: suzannejin <[email protected]>
Date:   Fri Oct 18 11:12:09 2024 +0200

    updated propr container

commit 9819e84
Author: suzannejin <[email protected]>
Date:   Thu Oct 17 18:06:59 2024 +0200

    add parameter for propd_weighted_degree

commit d7ab1ca
Author: suzannejin <[email protected]>
Date:   Thu Oct 17 17:07:05 2024 +0200

    update propd.R template to compute weighted connectivity for hub genes

commit a077c03
Author: suzannejin <[email protected]>
Date:   Wed Oct 16 16:38:05 2024 +0200

    properly set the resources limits for test_experimental.config

commit bd51d59
Author: suzannejin <[email protected]>
Date:   Wed Oct 16 16:24:36 2024 +0200

    fix error related to .nf-core.yml

commit 59bd17c
Author: suzannejin <[email protected]>
Date:   Wed Oct 16 15:56:32 2024 +0200

    minor changes

commit 576bb8c
Author: suzannejin <[email protected]>
Date:   Wed Oct 16 15:44:59 2024 +0200

    remove temporal config

commit 66148af
Author: suzannejin <[email protected]>
Date:   Wed Oct 16 15:43:09 2024 +0200

    set toolsheet schema

commit 36fcff4
Author: suzannejin <[email protected]>
Date:   Wed Oct 16 15:20:38 2024 +0200

    updated fromSamplesheet to samplesheetToList

commit e8f159a
Author: suzannejin <[email protected]>
Date:   Wed Oct 16 14:55:44 2024 +0200

    udpate schema for tools

commit 46f1d8e
Author: suzannejin <[email protected]>
Date:   Wed Oct 16 14:46:01 2024 +0200

    added the params for experimental workflow

commit e977214
Merge: f8811e4 83699b7
Author: Jonathan Manning <[email protected]>
Date:   Mon Oct 14 11:16:26 2024 +0100

    Merge branch 'dev' into dev-ratio

commit f8811e4
Merge: 25ace61 5c44e3c
Author: Suzanne Jin <[email protected]>
Date:   Thu Oct 10 11:38:52 2024 +0200

    Merge pull request #296 from suzannejin/dev-ratio

    [dev-ratio] update R template for propr local modules

commit 5c44e3c
Author: suzannejin <[email protected]>
Date:   Thu Oct 10 11:12:10 2024 +0200

    change test_experimental to remove propd_grea (no container yet)

commit 118b257
Author: suzannejin <[email protected]>
Date:   Thu Oct 10 10:51:41 2024 +0200

    added updated local version of propr/grea module

commit 38a32b6
Author: suzannejin <[email protected]>
Date:   Tue Oct 8 17:01:20 2024 +0200

    fix bug in enrichment.nf

commit 5b56162
Author: suzannejin <[email protected]>
Date:   Tue Oct 8 16:58:01 2024 +0200

    modified enrichment subworkflow to fit new grea module

commit cf58a2b
Author: suzannejin <[email protected]>
Date:   Tue Oct 8 16:55:47 2024 +0200

    add local propr/grea module

commit fed6d45
Author: suzannejin <[email protected]>
Date:   Tue Oct 8 16:18:38 2024 +0200

    remove nf-core/propr/grea

commit bc9c86a
Author: suzannejin <[email protected]>
Date:   Tue Oct 8 16:11:07 2024 +0200

    fix bug in propr.R

commit 1696e1c
Author: suzannejin <[email protected]>
Date:   Tue Oct 8 16:04:18 2024 +0200

    added local module propr/propr

commit 879b8a7
Author: suzannejin <[email protected]>
Date:   Tue Oct 8 14:39:29 2024 +0200

    also get ch_results_genewise from propd

commit c74c341
Author: suzannejin <[email protected]>
Date:   Tue Oct 8 14:37:33 2024 +0200

    test_experimental also run propd_fdr

commit c5ddf64
Author: suzannejin <[email protected]>
Date:   Tue Oct 8 12:30:15 2024 +0200

    add comment

commit 36868e1
Author: suzannejin <[email protected]>
Date:   Tue Oct 8 12:29:12 2024 +0200

    modify propd.R to not erroring when no FDR cutoff is found

commit 1731b3d
Author: suzannejin <[email protected]>
Date:   Tue Oct 8 12:20:41 2024 +0200

    add more tests to experimental

commit ed06869
Merge: c36e237 8c75e55
Author: suzannejin <[email protected]>
Date:   Tue Oct 8 12:19:25 2024 +0200

    Merge branch 'dev-ratio' of https://github.com/suzannejin/differentialabundance into dev-ratio

commit c36e237
Author: suzannejin <[email protected]>
Date:   Tue Oct 8 12:17:49 2024 +0200

    prettier modules.json

commit 8c75e55
Author: nf-core-bot <[email protected]>
Date:   Tue Oct 8 10:16:08 2024 +0000

    [automated] Fix code linting

commit b7a2774
Author: suzannejin <[email protected]>
Date:   Tue Oct 8 12:09:28 2024 +0200

    trim trailing spaces

commit 6885bfd
Author: suzannejin <[email protected]>
Date:   Tue Oct 8 11:55:28 2024 +0200

    added comment to propd.R

commit ecfc184
Author: suzannejin <[email protected]>
Date:   Tue Oct 8 11:31:37 2024 +0200

    remove old container comment

commit aac7085
Author: suzannejin <[email protected]>
Date:   Mon Oct 7 19:23:38 2024 +0200

    added new version propd

commit 25ace61
Merge: 293b30e 283385a
Author: Suzanne Jin <[email protected]>
Date:   Mon Oct 7 15:39:18 2024 +0200

    Merge pull request #293 from suzannejin/dev-ratio

    [dev-ratio] simplified toolsheet structure, and modified the subworkflows accordingly

commit 283385a
Author: suzannejin <[email protected]>
Date:   Thu Oct 3 11:57:32 2024 +0200

    updated modules.config with the correct nomenclature for grea

commit 7bc6ee8
Author: suzannejin <[email protected]>
Date:   Wed Oct 2 17:29:48 2024 +0200

    remove filtervar related modules and subworkflows.

commit fc95675
Author: suzannejin <[email protected]>
Date:   Wed Oct 2 17:29:03 2024 +0200

    updated schema_tools.json

commit c9b9482
Author: suzannejin <[email protected]>
Date:   Wed Oct 2 15:04:27 2024 +0200

    remove trailing spaces

commit 3160a09
Author: suzannejin <[email protected]>
Date:   Wed Oct 2 14:14:14 2024 +0200

    formatting

commit f4c4d2f
Author: suzannejin <[email protected]>
Date:   Wed Oct 2 12:54:48 2024 +0200

    updated toolsheet to the current experimental workflow status

commit 328aacd
Author: suzannejin <[email protected]>
Date:   Wed Oct 2 12:45:01 2024 +0200

    removed the variable selection block between diff and corr blocks.

commit ca6fb97
Author: suzannejin <[email protected]>
Date:   Wed Oct 2 12:26:59 2024 +0200

    formatting

commit a0ef41b
Author: suzannejin <[email protected]>
Date:   Wed Oct 2 12:22:36 2024 +0200

    within differential subworkflow, initialize results channels at the beginning. Then the results from each process can be mixed accordingly

commit a6c2b3d
Author: bjlang <>
Date:   Tue Oct 1 16:30:48 2024 +0200

    Store output of different pathways in different folders

commit 293b30e
Merge: b71b83e 4a41e66
Author: Björn Langer <[email protected]>
Date:   Fri Sep 20 18:52:25 2024 +0200

    Merge pull request #290 from bjlang/dev-ratio

    minor code restructuring

commit 4a41e66
Author: bjlang <>
Date:   Fri Sep 20 18:43:24 2024 +0200

    minor code restructuring

commit b71b83e
Author: Björn Langer <[email protected]>
Date:   Fri Sep 13 15:53:15 2024 +0200

    Delete conf/crg.config

commit 9421df1
Merge: 6e6a740 318706a
Author: Björn Langer <[email protected]>
Date:   Tue Sep 10 15:27:14 2024 +0200

    Merge pull request #285 from bjlang/dev-ratio

    Dev ratio

commit 318706a
Author: bjlang <>
Date:   Fri Sep 6 19:37:41 2024 +0200

    fix testing parameters

commit 9532cfb
Author: bjlang <>
Date:   Fri Sep 6 19:04:56 2024 +0200

    fix linting

commit 8fcc24c
Author: bjlang <>
Date:   Fri Sep 6 18:58:22 2024 +0200

    Add CoDA/experimental branch to CI tests

commit d133c6d
Merge: 3254d25 2fe78de
Author: bjlang <>
Date:   Tue Sep 3 19:05:16 2024 +0200

    Merge branch 'dev-ratio' of https://github.com/bjlang/differentialabundance into dev-ratio

commit 3254d25
Author: bjlang <>
Date:   Tue Sep 3 19:04:47 2024 +0200

    small fix

commit 2fe78de
Merge: 04abe25 6e6a740
Author: Björn Langer <[email protected]>
Date:   Tue Sep 3 18:42:02 2024 +0200

    Merge branch 'nf-core:dev-ratio' into dev-ratio

commit 04abe25
Author: bjlang <>
Date:   Tue Sep 3 18:01:29 2024 +0200

    - use validated input for experimental workflow
    - use contrast file information for differential analysis with PropD

commit 6e6a740
Merge: 5e5c6e4 3a69aae
Author: Björn Langer <[email protected]>
Date:   Tue Aug 27 15:08:32 2024 +0200

    Merge pull request #283 from bjlang/dev-ratio

    Include CoDa workflow in main workflow

commit 3a69aae
Merge: b218940 718075b
Author: bjlang <>
Date:   Tue Aug 27 14:56:48 2024 +0200

    Merge branch 'dev-ratio' of https://github.com/bjlang/differentialabundance into dev-ratio

commit b218940
Author: bjlang <>
Date:   Tue Aug 27 14:53:28 2024 +0200

    Do not put not not in the not wrong place!

commit 718075b
Merge: 05cfb3a 5e5c6e4
Author: Björn Langer <[email protected]>
Date:   Tue Aug 27 14:38:12 2024 +0200

    Merge branch 'nf-core:dev-ratio' into dev-ratio

commit 5e5c6e4
Merge: e3fde5b c44e6bc
Author: Björn Langer <[email protected]>
Date:   Tue Aug 27 14:34:36 2024 +0200

    Merge pull request #284 from nf-core/dev

    Update dev-ratio with changes from dev branch

commit 05cfb3a
Author: bjlang <>
Date:   Tue Aug 27 13:38:03 2024 +0200

    Move main_coda logic into differentialabundance as experimental study type

commit 0a3927a
Author: bjlang <>
Date:   Tue Jul 30 12:01:02 2024 +0200

    Keep original matrix file name in the annotation copy to improve resumability

commit 5a3727b
Author: bjlang <>
Date:   Fri Jul 26 17:47:12 2024 +0200

    Skip copying matrix if not necessary to allow resuming pipeline execution

commit 20c6cc6
Author: bjlang <>
Date:   Fri Jul 26 16:26:13 2024 +0200

    Use recommended format for optional parameters

commit d45c4aa
Author: bjlang <>
Date:   Fri Jul 26 15:57:01 2024 +0200

    Allow caching for -resume

commit e3fde5b
Author: bjlang <>
Date:   Fri Jul 26 11:13:35 2024 +0200

    small fixes to allow main_coda.nf to run

commit bf70167
Merge: 4986420 fc123ec
Author: caraiz2001 <[email protected]>
Date:   Thu Jul 18 17:05:02 2024 +0200

    Merge pull request #281 from caraiz2001/dev-ratio

    Coda workflow.
    Files that are unique to the coda workflow have been added to the corresponding folders (conf, modules, subworkflows...). Files that are present in the pipeline have been added as ***_coda to avoid overwriting the original ones (modules_coda.config, nextflow_coda.config, main_coda.nf... etc).

commit fc123ec
Author: Cristina Araiz <[email protected]>
Date:   Thu Jul 18 16:52:17 2024 +0200

    install propr/propr with nf-core modules install

commit 8b25351
Author: Cristina Araiz <[email protected]>
Date:   Thu Jul 18 16:47:30 2024 +0200

    fix pre-commit errors in .json files

commit d60f031
Author: Cristina Araiz <[email protected]>
Date:   Thu Jul 18 16:37:50 2024 +0200

    install propd with nf-core modules install

commit 45b776e
Author: Cristina Araiz <[email protected]>
Date:   Thu Jul 18 16:34:09 2024 +0200

    modify propr main.nf to match nf-core repository

commit b59f668
Author: Cristina Araiz <[email protected]>
Date:   Thu Jul 18 15:54:12 2024 +0200

    update propr/grea with nf-core modules install

commit a2d3824
Author: Cristina Araiz <[email protected]>
Date:   Thu Jul 18 15:47:56 2024 +0200

    solve remaining lint erros

commit 969d15a
Author: Cristina Araiz <[email protected]>
Date:   Thu Jul 18 15:45:39 2024 +0200

    fix linting errors

commit 6f8d5b0
Author: Cristina Araiz <[email protected]>
Date:   Thu Jul 18 15:28:43 2024 +0200

    upload mygene module with nf-core module install

commit a91626b
Author: Cristina Araiz <[email protected]>
Date:   Thu Jul 18 15:00:33 2024 +0200

    add YMC counts and samplesheet to help for testing

commit 7487789
Author: Cristina Araiz <[email protected]>
Date:   Thu Jul 18 14:43:34 2024 +0200

    add nextflow.config and nextflow schema as nextflow_coda and nextflow_schema_coda

commit da30859
Author: Cristina Araiz <[email protected]>
Date:   Thu Jul 18 14:35:32 2024 +0200

    add main.nf as main_coda.nf

commit 93ae92d
Author: Cristina Araiz <[email protected]>
Date:   Thu Jul 18 14:25:33 2024 +0200

    add crg.config and modules.config (as modules_coda) to conf

commit 4a76cef
Author: Cristina Araiz <[email protected]>
Date:   Thu Jul 18 14:18:19 2024 +0200

    add schema_tools and tools_samplesheet to assets

commit 708c4db
Author: Cristina Araiz <[email protected]>
Date:   Thu Jul 18 10:53:14 2024 +0200

    add functional subworkflows into subworkflows/local

commit eff2e81
Author: Cristina Araiz <[email protected]>
Date:   Thu Jul 18 10:38:04 2024 +0200

    add propr, mygene and fiter_var module
The purpose is to keep the contribution record, but the dev code clean.

This reverts commit a64d4d7.
…t of output file names lead to error at rmarkdown step.
…uns till the end. Still need to pass nf-test
integrate subworkflows into pipeline
@nf-core-bot
Copy link
Member

Warning

Newer version of the nf-core template is available.

Your pipeline is using an old version of the nf-core template: 3.0.2.
Please update your pipeline to the latest version.

For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation.

Copy link

github-actions bot commented Jan 30, 2025

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 8ad04de

+| ✅ 305 tests passed       |+
#| ❔   6 tests were ignored |#
!| ❗   4 tests had warnings |!

❗ Test warnings:

  • pipeline_todos - TODO string in base.config: Check the defaults for all processes
  • pipeline_todos - TODO string in main.nf: Optionally add in-text citation tools to this list.
  • pipeline_todos - TODO string in main.nf: Optionally add bibliographic entries to this list.
  • pipeline_todos - TODO string in main.nf: Only uncomment below if logic in toolCitationText/toolBibliographyText has been filled!

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 3.0.2
  • Run at 2025-02-04 17:43:06

… in the pipeline - to avoid test snapshots inconsistencies related to decimal handling
…ariance_stabilised_matrix channel. Also fixed the code in the pipeline to properly handle it
@suzannejin
Copy link
Author

Hello! @pinin4fjords
Here I added the nf-core subworkflows, and replaced the calls to the modules by calls to the subworkflows. Let me know what you think :)

NOTE that I had to make some small modifications in the subworkflows, please check them in nf-core/modules#7414.

I unabled the seed option discussed in #420 just temporarily,
I think it will be fine since you will change it anyway after implementing the global seed option @grst @nschcolnicov

cc @mirpedrol, @JoseEspinosa

@suzannejin suzannejin marked this pull request as ready for review January 31, 2025 16:25
@pinin4fjords
Copy link
Member

Hello! @pinin4fjords Here I added the nf-core subworkflows, and replaced the calls to the modules by calls to the subworkflows. Let me know what you think :)

NOTE that I had to make some small modifications in the subworkflows, please check them in nf-core/modules#7414.

I unabled the seed option discussed in #420 just temporarily, I think it will be fine since you will change it anyway after implementing the global seed option @grst @nschcolnicov

cc @mirpedrol, @JoseEspinosa

Thanks @suzannejin ! I want to be really careful with this one, and I'm travelling for work a lot this week, so bear with me as I review.

Made a couple of comments on the other one

Copy link
Member

@pinin4fjords pinin4fjords left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

First batch of comments, will come back with more later

conf/modules.config Outdated Show resolved Hide resolved
conf/modules.config Show resolved Hide resolved
"treatment_mCherry_hND6_sample_number.mh.all.v2022.1.Mm.symbols.enplot_HALLMARK_KRAS_SIGNALING_DN_3.png:md5,797a90883b69b03fecf0c21158db4ef5",
"treatment_mCherry_hND6_sample_number.mh.all.v2022.1.Mm.symbols.gene_set_sizes.tsv:md5,e3049abd72c25ff6d7cd75b14135d245",
"treatment_mCherry_hND6_sample_number.mh.all.v2022.1.Mm.symbols.global_es_histogram.png:md5,cd78da35019246e48a0347f889927512",
"treatment_mCherry_hND6_sample_number.mh.all.v2022.1.Mm.symbols.global_es_histogram.png:md5,1027a6c8ec8c37be6462d3f91defcaef",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably exclude PNGs from the snapshotting, let me know if you need help.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i added all the png files to .nftignore now :)

tests/test_rnaseq_limma.nf.test.snap Outdated Show resolved Hide resolved
workflows/differentialabundance.nf Show resolved Hide resolved
workflows/differentialabundance.nf Outdated Show resolved Hide resolved
workflows/differentialabundance.nf Outdated Show resolved Hide resolved
DEFINE FUNCTIONS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*/

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add some documentation comment explaining what this is doing

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm still understanding what you're doing here, but the principle is wrong. Rather than passing a channel to a function, you should pre-define the closure and pass it to the map:

def myClosure = { it -> it * it }

Channel
    .of(1, 2, 3, 4)
    .map(myClosure)
    .view()

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

... but I suspect that we can do this another way- can you explain what these are actually for?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not relevant now for the single tool logic, but it would be when the multi-tool logic is added.
So, a combination with deseq2+gprofiler2 should be distinguished against limma-voom+gprofiler2 for example.
Then, having 'method_de' inside meta (and not overwritten by 'method'='gsea') would be useful to distinguish between them in the later steps.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the suggestion! I changed it to methodCriterias

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

Successfully merging this pull request may close these issues.

3 participants