Skip to content

Commit dd0d44d

Browse files
authored
Merge branch 'dev' into nf-core-template-merge-3.1.0
2 parents a7fff01 + a9c213f commit dd0d44d

File tree

296 files changed

+26486
-299
lines changed

Some content is hidden

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

296 files changed

+26486
-299
lines changed

.github/workflows/awsfulltest.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ jobs:
4545
4646
- name: Launch workflow via Seqera Platform
4747
uses: seqeralabs/action-tower-launch@v2
48-
# TODO nf-core: You can customise AWS full pipeline tests as required
49-
# Add full size test data (but still relatively small datasets for few samples)
50-
# on the `test_full.config` test runs with only one set of parameters
5148
with:
5249
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
5350
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}

.github/workflows/ci.yml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ jobs:
4444
- isMaster: false
4545
profile: "singularity"
4646
steps:
47+
- name: Free some space
48+
run: |
49+
sudo rm -rf "/usr/local/share/boost"
50+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
51+
4752
- name: Check out pipeline code
4853
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4954

@@ -83,3 +88,78 @@ jobs:
8388
- name: "Run pipeline with test data ${{ matrix.NXF_VER }} | ${{ matrix.test_name }} | ${{ matrix.profile }}"
8489
run: |
8590
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.test_name }},${{ matrix.profile }} --outdir ./results
91+
92+
profiles:
93+
name: Run workflow profile
94+
# Only run on push if this is the nf-core dev branch (merged PRs)
95+
if: ${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/mag') }}
96+
runs-on: ubuntu-latest
97+
strategy:
98+
matrix:
99+
# Run remaining test profiles with minimum nextflow version
100+
test_name:
101+
[
102+
test_host_rm,
103+
test_hybrid,
104+
test_hybrid_host_rm,
105+
test_busco_auto,
106+
test_ancient_dna,
107+
test_adapterremoval,
108+
test_binrefinement,
109+
test_virus_identification,
110+
test_single_end,
111+
test_concoct,
112+
]
113+
steps:
114+
- name: Free some space
115+
run: |
116+
sudo rm -rf "/usr/local/share/boost"
117+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
118+
119+
- name: Check out pipeline code
120+
uses: actions/checkout@v2
121+
122+
- name: Install Nextflow
123+
run: |
124+
wget -qO- get.nextflow.io | bash
125+
sudo mv nextflow /usr/local/bin/
126+
127+
- name: Clean up Disk space
128+
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
129+
130+
- name: Run pipeline with ${{ matrix.test_name }} test profile
131+
run: |
132+
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.test_name }},docker --outdir ./results
133+
134+
checkm:
135+
name: Run single test to checkm due to database download
136+
# Only run on push if this is the nf-core dev branch (merged PRs)
137+
if: ${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/mag') }}
138+
runs-on: ubuntu-latest
139+
140+
steps:
141+
- name: Free some space
142+
run: |
143+
sudo rm -rf "/usr/local/share/boost"
144+
sudo rm -rf "$AGENT_TOOLSDIRECTORY"
145+
146+
- name: Check out pipeline code
147+
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
148+
149+
- name: Install Nextflow
150+
run: |
151+
wget -qO- get.nextflow.io | bash
152+
sudo mv nextflow /usr/local/bin/
153+
154+
- name: Clean up Disk space
155+
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
156+
157+
- name: Download and prepare CheckM database
158+
run: |
159+
mkdir -p databases/checkm
160+
wget https://zenodo.org/records/7401545/files/checkm_data_2015_01_16.tar.gz -P databases/checkm
161+
tar xzvf databases/checkm/checkm_data_2015_01_16.tar.gz -C databases/checkm/
162+
163+
- name: Run pipeline with ${{ matrix.profile }} test profile
164+
run: |
165+
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results --binqc_tool checkm --checkm_db databases/checkm

.nf-core.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ lint:
88
nf_core_version: 3.1.0
99
repository_type: pipeline
1010
template:
11-
author: "Hadrien Gourl\xE9, Daniel Straub, Sabrina Krakau, James A. Fellows Yates,\
12-
\ Maxime Borry"
11+
author: "Hadrien Gourlé, Daniel Straub, Sabrina Krakau, James A. Fellows Yates, Maxime Borry"
1312
description: Assembly, binning and annotation of metagenomes
1413
force: false
1514
is_nfcore: true

0 commit comments

Comments
 (0)