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

Simplify circrna_discovery subworkflow #122

Merged
merged 25 commits into from
May 28, 2024
Merged

Simplify circrna_discovery subworkflow #122

merged 25 commits into from
May 28, 2024

Conversation

nictru
Copy link
Contributor

@nictru nictru commented May 24, 2024

The following changes were performed:

  • Introduce multiple new sub-workflows, which increase the readability of the formerly huge circrna_discovery workflow
  • Replace some simple format unification processes with GAWK calls using the according nf-core module
  • Perform disabling of discovery processes using nextflow if-statements instead of ext.when directives
  • Remove checks for activation of the circrna_discovery module as this module is mandatory anyway and executing the pipeline without it does not make sense
    • This is the first step towards deprecating the redundant modules parameter. The modules that can be deactivated are differential expression and miRNA prediction. Both only make sense if their required input files are provided (miRNA FASTA for miRNA prediction and phenotype table for differential expression). In future versions, we should be able to execute all modules for which the necessary data was provided.

Copy link

github-actions bot commented May 24, 2024

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit f351b96

+| ✅ 226 tests passed       |+
!| ❗   1 tests had warnings |!

❗ Test warnings:

  • readme - README contains the placeholder zenodo.XXXXXXX. This should be replaced with the zenodo doi (after the first release).

✅ Tests passed:

Run details

  • nf-core/tools version 2.14.1
  • Run at 2024-05-27 13:11:16

@nictru
Copy link
Contributor Author

nictru commented May 24, 2024

@nf-core-bot fix linting

@maxulysse
Copy link
Member

what does DCC stands for?

@nictru
Copy link
Contributor Author

nictru commented May 27, 2024

It is a package name: https://github.com/dieterich-lab/DCC

Copy link
Member

@maxulysse maxulysse left a comment

Choose a reason for hiding this comment

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

LGTM, just a bit confused with how you use SEGEMHL now, you don't generate the index anymore?

main:
ch_versions = Channel.empty()

index = index ?: INDEX( fasta ).index
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Look here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Since the segemehl index is only used in the segemehl subworkflow I thought it might be more understandable putting it right here

@nictru nictru merged commit 5ef923d into dev May 28, 2024
4 checks passed
@nictru nictru deleted the discovery-splitup branch May 28, 2024 09:49
@nictru nictru mentioned this pull request May 30, 2024
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.

None yet

2 participants