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

General structure & "best practices" #1

Open
hoelzer opened this issue Nov 8, 2023 · 2 comments
Open

General structure & "best practices" #1

hoelzer opened this issue Nov 8, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@hoelzer
Copy link
Member

hoelzer commented Nov 8, 2023

Hey,

I am just looking at another small workflow that I think can yield as a nice example for some general structure and modularization changes:

https://github.com/replikation/MPOA

It does not have conda profile but this can be easily added. Then you will see the main nf file and the different workflows with their processes. I think that's a good general structure. Also the --help can be c&p and adjusted ;)

Of course there are more workflows with similar structure also from MF1, but that one is relatively small with only a few processes.

@hoelzer hoelzer added the enhancement New feature or request label Nov 8, 2023
@hoelzer
Copy link
Member Author

hoelzer commented Nov 10, 2023

Here is a "mimimum viable example" from Marie which shows some "best practices". Just to note, actually I would define the conda/docker dependencies in separate configs and not within the processes. But anyway ;)

https://github.com/MarieLataretu/nextflow-mwe

@hoelzer
Copy link
Member Author

hoelzer commented Jan 19, 2024

@StefanFrankBio here another example of a small nf pipeline. I just worked on that one end of last year. For sure it's not perfect, but has the basic best practices in it:

https://github.com/hoelzer/pocp

And it hink it's easy to follow bc it's just a few modules (prokka, diamond, a custom script, ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants