Skip to content

Commit 8cae9bb

Browse files
Merge branch 'master' into tools-update
2 parents 9197404 + 9f0d96b commit 8cae9bb

File tree

173 files changed

+16895
-18527
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+16895
-18527
lines changed

β€Ž.devcontainer/devcontainer.jsonβ€Ž

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,30 @@
11
{
22
"name": "nfcore",
3-
"image": "nfcore/gitpod:latest",
3+
"image": "ghcr.io/nextflow-io/training:latest",
44
"remoteUser": "gitpod",
5-
5+
"features": {
6+
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
7+
},
8+
"remoteEnv": {
9+
"NXF_HOME": "/workspaces/.nextflow",
10+
"HOST_PROJECT_PATH": "${localWorkspaceFolder}"
11+
},
612
// Configure tool-specific properties.
713
"customizations": {
814
// Configure properties specific to VS Code.
915
"vscode": {
1016
// Set *default* container specific settings.json values on container create.
1117
"settings": {
12-
"python.defaultInterpreterPath": "/opt/conda/bin/python",
13-
"python.linting.enabled": true,
14-
"python.linting.pylintEnabled": true,
15-
"python.formatting.autopep8Path": "/opt/conda/bin/autopep8",
16-
"python.formatting.yapfPath": "/opt/conda/bin/yapf",
17-
"python.linting.flake8Path": "/opt/conda/bin/flake8",
18-
"python.linting.pycodestylePath": "/opt/conda/bin/pycodestyle",
19-
"python.linting.pydocstylePath": "/opt/conda/bin/pydocstyle",
20-
"python.linting.pylintPath": "/opt/conda/bin/pylint"
18+
"python.defaultInterpreterPath": "/opt/conda/bin/python"
2119
},
22-
2320
// Add the IDs of extensions you want installed when the container is created.
24-
"extensions": ["ms-python.python", "ms-python.vscode-pylance", "nf-core.nf-core-extensionpack"]
21+
"extensions": [
22+
"ms-python.python",
23+
"ms-python.vscode-pylance",
24+
"nf-core.nf-core-extensionpack",
25+
"nextflow.nextflow",
26+
"codezombiech.gitignore"
27+
]
2528
}
2629
},
2730
"portsAttributes": {

β€Ž.github/gitpod.Dockerfileβ€Ž

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,17 @@ RUN apt-get update --quiet && \
1515
curl \
1616
tree \
1717
graphviz \
18-
software-properties-common
19-
18+
software-properties-common && \
19+
apt-get clean && \
20+
rm -rf /var/lib/apt/lists/*
2021

2122
# Taken from: https://github.com/nf-core/tools/blob/master/nf_core/gitpod/gitpod.Dockerfile
2223
# Install Apptainer (Singularity)
2324
RUN add-apt-repository -y ppa:apptainer/ppa && \
2425
apt-get update --quiet && \
25-
apt install -y apptainer
26+
apt install -y apptainer && \
27+
apt-get clean && \
28+
rm -rf /var/lib/apt/lists/*
2629

2730
# Install Conda
2831
RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
@@ -35,6 +38,11 @@ ENV PATH="/opt/conda/bin:$PATH"
3538
RUN mkdir -p /workspace/data \
3639
&& chown -R gitpod:gitpod /opt/conda /workspace/data
3740

41+
# Install Tower Agent
42+
RUN curl -fSL https://github.com/seqeralabs/tower-agent/releases/latest/download/tw-agent-linux-x86_64 > tw-agent && \
43+
chmod +x tw-agent && \
44+
mv tw-agent /usr/local/bin/tw-agent
45+
3846
# Change user to gitpod
3947
USER gitpod
4048

β€Ž.gitpod.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ tasks:
2323
- before: printf 'unset JAVA_TOOL_OPTIONS\n' >> $HOME/.bashrc && exit
2424

2525
- name: Start web server
26-
command: gp ports await 23000 && gp preview https://training.nextflow.io
26+
command: gp ports await 23000 && gp preview https://training.nextflow.io/hello_nextflow
2727

2828
- name: Load Nextflow Tutorial
2929
command: docker pull -q nextflow/rnaseq-nf
3030

3131
- name: Start Nextflow Tutorial
3232
command: |
33-
cd nf-training
33+
cd hello-nextflow
3434
source $HOME/.bashrc
3535
export PS1='\[\e[3;36m\]${PWD/*\//} ->\[\e[0m\] '
3636
unset JAVA_TOOL_OPTIONS

β€Ž.pre-commit-config.yamlβ€Ž

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,13 @@ repos:
1111
hooks:
1212
- id: editorconfig-checker
1313
alias: ec
14+
15+
- repo: https://github.com/pre-commit/pre-commit-hooks
16+
rev: v5.0.0
17+
hooks:
18+
- id: trailing-whitespace
19+
exclude_types:
20+
- svg
21+
- id: end-of-file-fixer
22+
exclude_types:
23+
- svg

β€ŽREADME.mdβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,20 @@ We are excited to have you on the path to writing reproducible and scalable scie
99

1010
- πŸ‘‰πŸ» Written training material: <https://training.nextflow.io>
1111

12-
- πŸ‘©πŸ»β€πŸ’» Instructions on loading this repository within a GitPod environment: <https://training.nextflow.io/basic_training/setup/>
12+
- πŸ‘©πŸ»β€πŸ’» Instructions on loading this repository within a GitPod environment: <https://training.nextflow.io/envsetup/>
1313

1414
- πŸ“š Nextflow documentation: <https://www.nextflow.io/docs/latest/>
1515

1616
## Contributions
1717

18-
We welcome fixes and improvements from the community. Please fork the repository and create pull-requests with any improvements to the docs.
18+
We welcome fixes and improvements from the community. Please fork the repository and create pull-requests with any improvements you'd like to suggest to the docs.
1919

2020
You can find instructions about how to develop the training material code in [`CONTRIBUTING.md`](CONTRIBUTING.md). If you want to contribute with a translation instead, check [`TRANSLATING.md`](TRANSLATING.md).
2121

2222
## Credits & Copyright
2323

24-
All training material was originally written by [Seqera](https://seqera.io) but has been made open-source ([CC BY-NC-ND](https://creativecommons.org/licenses/by-nc-nd/4.0/)) for the community.
24+
This training material is developed and maintained by [Seqera](https://seqera.io) and released under an open-source license ([CC BY-NC-ND](https://creativecommons.org/licenses/by-nc-nd/4.0/)) for the benefit of the community. You are welcome to reuse these materials according to the terms of the license. If you are an instructor running your own trainings, we'd love to hear about how it goes and what we could do to make it easier.
2525

2626
<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/"><img alt="Creative Commons License" src="docs/assets/img/cc_by-nc-nd.svg" /></a>
2727

28-
> Copyright 2020-2023, Seqera. All examples and descriptions are licensed under the <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/">Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License</a>.
28+
> Copyright 2024, Seqera. All examples and descriptions are licensed under the <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/">Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License</a>.

β€Ždocs/advanced/index.mdβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Introduction
1+
# Advanced Training
22

33
Welcome to our Nextflow workshop for intermediate and advanced users!
44

0 commit comments

Comments
Β (0)