-
Notifications
You must be signed in to change notification settings - Fork 202
Add Hello nf-core training course #610
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
base: master
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for nextflow-training ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
2. Select **Custom** on the `Choose pipeline type` screen | ||
3. Enter your pipeline details, replacing < YOUR NAME > with your own name, then select **Next** | ||
|
||
**GitHub organisation:** core |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**GitHub organisation:** core | |
**GitHub organisation:** core (or your github username) |
Believe it or not, even though you haven't yet added any modules to make it do real work, the pipeline scaffold can actually be run using the test profile, the same way we ran the `nf-core/demo` pipeline. | ||
|
||
```bash | ||
nextflow run core-hello -profile docker,test --outdir core-hello-results |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nextflow run core-hello -profile docker,test --outdir core-hello-results | |
nextflow run ./core-hello -profile docker,test --outdir core-hello-results |
For some additional clarity vs nextflow run hello
We finally have all the pieces we need to verify that the composable workflow works. | ||
|
||
```bash | ||
nextflow run original-hello |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nextflow run original-hello | |
nextflow run ./original-hello |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really great content. I really like the gradual and progressive adoption of nf-core tooling and practices.
|
||
|
||
emit: | ||
final_result = cowpy.out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final_result = cowpy.out | |
cowpy_hellos = cowpy.out |
|
||
```groovy title="original-hello/hello.nf" linenums="37" | ||
emit: | ||
final_result = cowpy.out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final_result = cowpy.out | |
cowpy_hellos = cowpy.out |
cowpy(collectGreetings.out.outfile, params.character) | ||
|
||
emit: | ||
final_result = cowpy.out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final_result = cowpy.out | |
cowpy_hellos = cowpy.out |
|
||
```groovy title="core-hello/workflows/hello.nf" linenums="55" hl_lines="2" | ||
emit: | ||
final_result = cowpy.out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final_result = cowpy.out | |
cowpy_hellos = cowpy.out |
cowpy(collectGreetings.out.outfile, params.character) | ||
|
||
emit: | ||
final_result = cowpy.out |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final_result = cowpy.out | |
cowpy_hellos = cowpy.out |
However, you do need a (free) GitHub account to log in, and you should take a few minutes to familiarize yourself with the interface. | ||
|
||
If you have not yet done so, please go through the [Environment Setup](../../envsetup/) mini-course before going any further. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
!!! warning | |
This training is designed for nf-core tools version 3.2.1, which should be the version installed in the codespace. If you use a different version of nf-core tooling you may have difficulty following along. | |
You can check what version is installed using the command`nf-core --version`. | |
This converts and expands the nf-core side quest (originally written from material by @christopher-hakkaart and further expanded by @FriederikeHanssen) into a proper training course of its own, similar in spirit to the Hello Nextflow training course.
Addresses #546
There are 3 main training sections:
Current status:
"Add an existing nf-core module" will be added in a followup