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

Add RTNI_TNI module #5320

Merged
merged 22 commits into from
May 23, 2024
Merged

Add RTNI_TNI module #5320

merged 22 commits into from
May 23, 2024

Conversation

mribeirodantas
Copy link
Member

@mribeirodantas mribeirodantas commented Mar 20, 2024

PR checklist

Closes #5319

This PR adds a new module to nf-core: RTN/TNI for Regulatory Transcriptional Network Inference from expression data.

  • 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 module conventions in the contribution docs
  • If necessary, include test data in your PR.
  • Remove all TODO statements.
  • Emit the versions.yml file.
  • Follow the naming conventions.
  • Follow the parameters requirements.
  • Follow the input/output options guidelines.
  • Add a resource label
  • Use BioConda and BioContainers if possible to fulfil software requirements.
  • Ensure that the test works with either Docker / Singularity. Conda CI tests can be quite flaky:
    • For modules:
      • nf-core modules test <MODULE> --profile docker
      • nf-core modules test <MODULE> --profile singularity
      • nf-core modules test <MODULE> --profile conda
    • For subworkflows:
      • nf-core subworkflows test <SUBWORKFLOW> --profile docker
      • nf-core subworkflows test <SUBWORKFLOW> --profile singularity
      • nf-core subworkflows test <SUBWORKFLOW> --profile conda

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
@mribeirodantas mribeirodantas self-assigned this Mar 20, 2024
@mribeirodantas mribeirodantas added the new module Adding a new module label Mar 20, 2024
mribeirodantas and others added 7 commits May 13, 2024 12:54
Tests are passing. From now on, I can make it more complex and
closer to what I want this module to do in the end.
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
@mribeirodantas mribeirodantas marked this pull request as ready for review May 22, 2024 16:05
@mribeirodantas mribeirodantas requested a review from a team as a code owner May 22, 2024 16:05
@mribeirodantas mribeirodantas requested review from kpadm and removed request for a team May 22, 2024 16:05
mribeirodantas and others added 5 commits May 22, 2024 12:09
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Copy link
Contributor

@adamrtalbot adamrtalbot left a comment

Choose a reason for hiding this comment

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

  • Remove the todos
  • Can you check the output contents a bit deeper? I think we can get the md5s with a snapshot.

modules/nf-core/rtn/tni/main.nf Outdated Show resolved Hide resolved
modules/nf-core/rtn/tni/tests/main.nf.test Show resolved Hide resolved
mribeirodantas and others added 3 commits May 22, 2024 16:16
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
@mribeirodantas
Copy link
Member Author

The RDS are binary files, so it's tricky to check content. Also, the snapshots mismatch for some reason :(

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
@mribeirodantas mribeirodantas added this pull request to the merge queue May 23, 2024
Merged via the queue into master with commit 8667d59 May 23, 2024
16 checks passed
tstoeriko pushed a commit to tstoeriko/nf-core-modules that referenced this pull request May 23, 2024
* Initial work towards a module for RTN TNI

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>

* Make it a simple PoC

Tests are passing. From now on, I can make it more complex and
closer to what I want this module to do in the end.

* Add two more steps in the module

* Prettify file

* Use test data, add remaining steps/collect output in TNI

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>

* Fix DOI in meta.yml

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>

* Some ongoing changes

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>

* Rename rtn_tni.R to rtn_tni.r

* Fix snapshot mismatch issue

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>

* Add --n_permutations + tests

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>

* Get rid of the TODOs

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>

* Use different dataset (real gene ids)

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>

* Add support to --tfs + tests

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>

* Fix indentation for ECLint check

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>

* Remove quotes from environment dependencies for conda

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>

---------

Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new module Adding a new module
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

new module: RTN/TNI
2 participants