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

nf-core modules create tool/subtool should make a main.nf in a subfolder of subtool in pipelines #3251

Closed
mahesh-panchal opened this issue Oct 25, 2024 · 2 comments

Comments

@mahesh-panchal
Copy link
Member

Description of feature

When writing local pipeline modules, using nf-core modules create tool/subtool, it follows a different file structure to the standard modules file structure.
It would be nice if local pipeline modules followed the same file format as nf-core modules.

Rather than

modules/
    local/
        tool/
            subtool.nf

It should be

modules/
    local/
        tool/
            subtool/
                main.nf

The environment.yml is also missing as a result of this.

Alternative

Turn everything on it's head in nf-core modules and each module should be in a subtool.nf file, meaning only a single (all encompassing) environment.yml is needed for all subtools ( which also rearranges tests, etc )

@mirpedrol
Copy link
Member

Hi @mahesh-panchal, thanks for the issue! This is a duplicate of #1929 and it's already in the roadmap 🙂

@mahesh-panchal
Copy link
Member Author

Thanks. I guess I didn't use the right words when searching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants