Hello everyone, I have a question regarding moving...
# pipeline-maintainers
j
Hello everyone, I have a question regarding moving a pipeline to nf-core ๐Ÿ™‚ Thank you in advance! Our pipeline proposal was recently accepted. We have an almost finished pipeline available, that already uses the nf-core template: https://github.com/REPO4EU/modulediscovery However, it was setup using a custom prefix (not nf-core) and currently uses a different name (modulediscovery) than the accepted version (diseasemodulediscovery) My question is: Is there a convenient way to change the prefix and rename the pipeline, e.g. using nf-core tools or by modifying the template branch? I guess manually changing it in the pipeline code is not a good option, since the template branch would need to be adjusted as well. Or is it better to start again from a fresh template?
j
@Jรบlia Mir (or Matthias but he is juggling baby) would be best to know the latest
m
I think you can modify the name in
.nf-core.yml
somewhere?
this 1
๐Ÿ‘๐Ÿป 1
(I know you meant the other Matthias, but here I am anyway ๐Ÿ˜„ )
๐Ÿ˜† 3
p
Exactly, modify the
.nf-core.yml
and run
nf-core pipelines sync
and I think it should magically do most stuff
๐Ÿ‘๐Ÿป 1
โž• 1
j
I don't care which Matthias responds as long as a Matthias responds!
๐Ÿคฃ 1
๐Ÿ˜‚ 3
star wars clone
j
Thanks a lot! Will try this :)
Worked perfectly! I think it's almost ready now for the nf-core transfer. However, "master" branch is currently named "main". Should I 1. keep it as is 2. rename main to master 3. create new master branch from main ?
j
You can keep main!
Its now supprted
๐Ÿ‘ 1
j
perfect, thanks!
j
You might need to check your nextflow config file in the manifest
That default branch is master though
j
Copy code
manifest {
    name            = 'nf-core/diseasemodulediscovery'
    author          = """REPO4EU""" // The author field is deprecated from Nextflow version 24.10.0, use contributors instead
    contributors    = [
        // TODO nf-core: Update the field with the details of the contributors to your pipeline. New with Nextflow version 24.10.0
        [
            name: 'REPO4EU',
            affiliation: '',
            email: '',
            github: '',
            contribution: [], // List of contribution types ('author', 'maintainer' or 'contributor')
            orcid: ''
        ],
    ]
    homePage        = '<https://github.com/nf-core/diseasemodulediscovery>'
    description     = """A pipeline for network-based disease module identification"""
    mainScript      = '<http://main.nf|main.nf>'
    defaultBranch   = 'main'
    nextflowVersion = '!>=24.04.2'
    version         = '1.0dev'
    doi             = ''
}
That is actually already set to main ๐Ÿ™‚
j
Then I think you're ok :)