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

PR for Release 2.4.0 #446

Merged
merged 414 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
414 commits
Select commit Hold shift + click to select a range
901f7b0
Fix https://github.com/nf-core/smrnaseq/issues/404
apeltzer Sep 4, 2024
5cb7ff8
Add Fix for 404
apeltzer Sep 4, 2024
8a64f19
Merge pull request #405 from nf-core/fix-404
apeltzer Sep 4, 2024
3878286
add meta to channels
atrigila Sep 4, 2024
856be8e
replace for nf-core modules
atrigila Sep 4, 2024
26bbc0f
remove unused subworkflow and rename used to main
atrigila Sep 4, 2024
496779c
emit versions and update test
atrigila Sep 4, 2024
874ef64
Merge pull request #397 from atrigila/nf_core_blat
apeltzer Sep 4, 2024
3c422ec
remove unused local blat mirna module
atrigila Sep 5, 2024
62afabd
add nf-core mirtrace
atrigila Sep 5, 2024
491cf00
update docs
atrigila Sep 6, 2024
ec1001e
fastp3 fix
Sep 6, 2024
d34fddb
Pulled from dev
Sep 6, 2024
0fe1b2e
update tests
atrigila Sep 6, 2024
669f7e1
Added nftest
Sep 6, 2024
1a8a68e
Merge pull request #412 from nschcolnicov/nextflex
nschcolnicov Sep 6, 2024
046757e
Update main.nf
nschcolnicov Sep 6, 2024
7a15447
update ci tests nextflex
atrigila Sep 6, 2024
f7cd5ba
Merge pull request #386 from nf-core/trim3p_nextflex
apeltzer Sep 7, 2024
3c076a8
Merge pull request #411 from atrigila/mirtrace_migration
apeltzer Sep 7, 2024
df6cb53
add nf-core seqcluster
atrigila Sep 10, 2024
61f3a88
delete local modules replaced by nf-core
atrigila Sep 10, 2024
f94f9a2
update tests
atrigila Sep 10, 2024
2484747
allow config files to be used
atrigila Sep 10, 2024
7e00a91
update mirtrace/qc
atrigila Sep 11, 2024
c48abe4
prepare config if species has mirtrace_species
atrigila Sep 11, 2024
46beb8f
update test nextflex
atrigila Sep 11, 2024
a83e1b9
update changelog
atrigila Sep 11, 2024
33d6d86
add transpose
atrigila Sep 11, 2024
d67c61f
update snapshots
atrigila Sep 11, 2024
5d39fc9
update snapshots
atrigila Sep 11, 2024
8fa1018
Merge pull request #420 from atrigila/fix_testnextflex
apeltzer Sep 11, 2024
7b83273
Merge branch 'dev' into add_nf_core_seqclustre
atrigila Sep 11, 2024
c7fd43e
update snapshots
atrigila Sep 11, 2024
47ae159
Merge pull request #418 from atrigila/add_nf_core_seqclustre
apeltzer Sep 12, 2024
8f902dc
correct hsa gff3 path
atrigila Sep 12, 2024
9631c58
add nf-core mirtop
atrigila Sep 12, 2024
d468b49
add nf-core mirtop
atrigila Sep 12, 2024
bc37dc2
Bump versions
apeltzer Sep 13, 2024
dcb5450
Fix litn
apeltzer Sep 13, 2024
9a740bc
Fix version to 23.10
apeltzer Sep 13, 2024
57c5bf9
Merge pull request #425 from nf-core/bump-minimum-nxf-version
apeltzer Sep 13, 2024
f1ee12b
update mirtop with arity
atrigila Sep 13, 2024
93284ba
use all bams
atrigila Sep 13, 2024
0425402
add config for mirtop
atrigila Sep 13, 2024
ad6b1f2
use all bams
atrigila Sep 13, 2024
47e0485
add new search pattern for mirtop
atrigila Sep 13, 2024
fd6391f
update tests
atrigila Sep 13, 2024
18f650a
Merge remote-tracking branch 'origin/dev' into add_nf_core_mirtop
atrigila Sep 13, 2024
334ebe3
update tests
atrigila Sep 13, 2024
e76f431
emit a warning upon suply of PE data
atrigila Sep 16, 2024
ec1f25b
add nf-core pigz uncompress
atrigila Sep 16, 2024
c2b82b8
update changelog
atrigila Sep 16, 2024
708a9e1
update changelog
atrigila Sep 16, 2024
7e8c66e
Merge pull request #426 from atrigila/add_nf_core_mirtop
apeltzer Sep 16, 2024
654602c
allow to save intermediates
atrigila Sep 16, 2024
6090c0f
copy staged files
atrigila Sep 16, 2024
41b5cbf
remove unused local module
atrigila Sep 16, 2024
61c91a2
Merge branch 'dev' into add_pigz
atrigila Sep 16, 2024
b54447f
remove unused local mirtop
atrigila Sep 16, 2024
9a24f8d
remove unused local mirtop quant
atrigila Sep 16, 2024
89bfcdb
Merge branch 'dev' into save_intermediates
atrigila Sep 17, 2024
5e0bcf7
Merge branch 'dev' into pe_warning
atrigila Sep 17, 2024
38ee1d4
prettify
atrigila Sep 17, 2024
17892bc
prettify
atrigila Sep 17, 2024
e80e30e
default to false
atrigila Sep 17, 2024
4b91cc4
fix linting
atrigila Sep 17, 2024
ef77e5c
Merge pull request #429 from atrigila/save_intermediates
atrigila Sep 17, 2024
a69cab7
Merge branch 'dev' into pe_warning
atrigila Sep 17, 2024
4d94bfc
Merge branch 'dev' into add_pigz
apeltzer Sep 17, 2024
21b5522
save intermediates in tests
atrigila Sep 17, 2024
bf7558c
Merge branch 'add_pigz' of https://github.com/atrigila/smrnaseq into …
atrigila Sep 17, 2024
a41a338
save intermediates
atrigila Sep 17, 2024
1e29e16
Merge pull request #427 from atrigila/add_pigz
atrigila Sep 17, 2024
62630af
Merge branch 'dev' into pe_warning
atrigila Sep 17, 2024
61b3738
Merge pull request #430 from atrigila/pe_warning
apeltzer Sep 18, 2024
24905b4
update multiqc
atrigila Sep 18, 2024
89b654d
Merge remote-tracking branch 'origin/dev' into upgrade_multiqc
atrigila Sep 18, 2024
4033ba7
update file names
atrigila Sep 18, 2024
e8ae2d8
update tests
atrigila Sep 19, 2024
8311d40
update tests
atrigila Sep 19, 2024
937ae3c
update changelog
atrigila Sep 19, 2024
439fdde
update modules
atrigila Sep 19, 2024
db440ff
cpus ci github
atrigila Sep 19, 2024
9bad81c
replace local modules for nf-core bowtie
atrigila Sep 19, 2024
b357dda
change to value channels
atrigila Sep 19, 2024
18c8e04
update tests
atrigila Sep 19, 2024
7fd24dc
update changelog
atrigila Sep 19, 2024
395f801
Merge pull request #432 from atrigila/upgrade_multiqc
apeltzer Sep 19, 2024
fe10e4f
Merge branch 'dev' into migrate_nf-core_bowtie
atrigila Sep 19, 2024
13930ea
update tests
atrigila Sep 20, 2024
774742f
Merge pull request #435 from atrigila/migrate_nf-core_bowtie
apeltzer Sep 20, 2024
bd8c4c0
parallelize mirtop and join results
atrigila Sep 20, 2024
1902aa5
Merge remote-tracking branch 'origin/dev' into update_mirtop
atrigila Sep 20, 2024
0a87fe4
update tests
atrigila Sep 20, 2024
31ac5ae
update changelog
atrigila Sep 20, 2024
db1cf98
update tests
atrigila Sep 20, 2024
46865dd
Merge pull request #438 from atrigila/update_mirtop
apeltzer Sep 20, 2024
1a35d02
import bowtie2 align
atrigila Sep 23, 2024
5fe93ab
remove dumps
atrigila Sep 23, 2024
893d48f
add meta
atrigila Sep 24, 2024
2ddbe17
add tag and use a single stats file
atrigila Sep 24, 2024
2aec4e2
add config for new modules
atrigila Sep 24, 2024
72dd4a1
migrate trna and cdna
atrigila Sep 24, 2024
8201ec8
add meta contaminant to reads and process
atrigila Sep 24, 2024
9bb2e93
add config to bowtie align
atrigila Sep 24, 2024
7c1106a
Fix paired end sample handling
Sep 24, 2024
77fc672
optionally emit fastq
atrigila Sep 25, 2024
81dd36d
add metamap
atrigila Sep 25, 2024
3114568
migrate contamination filter to nf-core modules
atrigila Sep 25, 2024
4410295
add config for contamination
atrigila Sep 25, 2024
ba80e23
remove unused local module
atrigila Sep 25, 2024
3b60c09
remove dumps
atrigila Sep 25, 2024
58361d9
Merge remote-tracking branch 'origin/dev' into nf-core_bowtie_align
atrigila Sep 25, 2024
a330f12
update tests
atrigila Sep 25, 2024
e92b7be
update tests and changelog
atrigila Sep 25, 2024
d86d425
Merge pull request #439 from nschcolnicov/issue_415
nschcolnicov Sep 25, 2024
49a1550
Merge remote-tracking branch 'origin/dev' into nf-core_bowtie_align
atrigila Sep 25, 2024
1438a91
update changelog
atrigila Sep 25, 2024
9c9a11c
Added info about read number behavior
Sep 25, 2024
e11a821
Remove trailing space
Sep 25, 2024
65db41c
Ran precommit
nschcolnicov Sep 25, 2024
6822a85
Updated mirna_quant
Sep 25, 2024
b8d1c4f
Updated genome_quant and config
Sep 25, 2024
586ef69
Merge pull request #441 from atrigila/nf-core_bowtie_align
apeltzer Sep 26, 2024
1209027
Merge pull request #442 from nschcolnicov/issue_94
apeltzer Sep 26, 2024
5bd1543
Update README.md
apeltzer Sep 26, 2024
bcdb567
Updated snap tool versions
Sep 26, 2024
87d925e
Merge branch 'dev' of https://github.com/nf-core/smrnaseq into migrat…
Sep 26, 2024
96333aa
Merge pull request #444 from nschcolnicov/migrate_bowtie
apeltzer Sep 26, 2024
57d3ba2
Merge pull request #445 from nf-core/add-credits
apeltzer Sep 26, 2024
998ec83
General cleanup
Sep 26, 2024
fc3c5f9
Pre-commit
nschcolnicov Sep 26, 2024
3b5e603
CHanges in mirdeep and updated bowtie_index channel description
Sep 26, 2024
10eed22
erge branch 'issue_400' of https://github.com/nschcolnicov/smrnaseq i…
Sep 26, 2024
49a0df5
add nf-core mirdeep
atrigila Sep 26, 2024
9a76ab9
add nf-core mirdeep2
atrigila Sep 26, 2024
e2595b1
update tests
atrigila Sep 26, 2024
27637fc
add mirdeep test
atrigila Sep 26, 2024
3b351d4
update config
atrigila Sep 26, 2024
d4b9bd1
update docs
atrigila Sep 26, 2024
04b65eb
make has fasta/index explicit for mirdeep
atrigila Sep 26, 2024
dfddb1c
Revert "make has fasta/index explicit for mirdeep"
atrigila Sep 26, 2024
d6c2681
update changelog
atrigila Sep 26, 2024
f40a757
remove local unused modules
atrigila Sep 26, 2024
b5ce5ab
Revert "remove local unused modules"
atrigila Sep 26, 2024
289f9aa
remove local mirdeep
atrigila Sep 27, 2024
adc43db
Merge pull request #448 from atrigila/add_mirdeep_sbwf
atrigila Sep 27, 2024
4fa6775
Pulled from dev
Sep 27, 2024
9655441
renamed missing variables
Sep 27, 2024
0432d9e
Addressing PR comments
nschcolnicov Sep 30, 2024
97c01bc
Updated datatable module nftest
nschcolnicov Sep 30, 2024
8e54dbc
Addressing PR comments
Sep 30, 2024
f1768c5
Merge pull request #447 from nschcolnicov/issue_400
apeltzer Sep 30, 2024
aa064a3
Removed untar, updated bowtie_channel
Sep 30, 2024
4c3e85c
update tests
atrigila Sep 30, 2024
ff8e2af
Update untar module config
nschcolnicov Oct 1, 2024
b79dccb
Update changelog
nschcolnicov Oct 1, 2024
2016dac
Merge pull request #452 from nschcolnicov/standardize_bowtie
nschcolnicov Oct 1, 2024
19a1c8b
Merge pull request #454 from atrigila/fix_test_edger
atrigila Oct 1, 2024
ae5755d
Removed unused protocol argument and updated docs
Oct 1, 2024
4bd903a
move clean fasta
atrigila Oct 1, 2024
1f9922a
update tests and changelog
atrigila Oct 1, 2024
4c64d73
Merge pull request #457 from atrigila/move_clean_fasta
atrigila Oct 2, 2024
fd1e2b6
update modules
atrigila Oct 2, 2024
cce4096
collect missing version
atrigila Oct 2, 2024
9f1d69f
update subworkflows
atrigila Oct 2, 2024
8ca60f9
update reference text
atrigila Oct 2, 2024
e0e5a6e
add tool citations
atrigila Oct 2, 2024
7e2f59b
update tests
atrigila Oct 2, 2024
644515c
update changelog
atrigila Oct 2, 2024
b0be55f
Merge pull request #459 from atrigila/fix_linting
atrigila Oct 2, 2024
3039051
Merge pull request #456 from nschcolnicov/issue_366
nschcolnicov Oct 2, 2024
0aa57be
Update usage.md
nschcolnicov Oct 3, 2024
8dd3d4c
Updated docs
nschcolnicov Oct 4, 2024
4cb08fa
fix: wrapping 0 in fasta files
atrigila Oct 4, 2024
cc8044e
do not publish intermediate files
atrigila Oct 4, 2024
d42db96
minor grammar and typo fixes
atrigila Oct 4, 2024
96bcae8
update changelog
atrigila Oct 4, 2024
bf93640
Merge pull request #462 from atrigila/test_release
nschcolnicov Oct 4, 2024
f94c49c
Pulled from dev
nschcolnicov Oct 4, 2024
36d68d6
Updated docs
nschcolnicov Oct 4, 2024
6414d5d
Apply suggestions from code review
nschcolnicov Oct 4, 2024
acb549e
Addressed PR comments
nschcolnicov Oct 4, 2024
a707bad
Fixed formating
nschcolnicov Oct 4, 2024
c5d33d4
Fix render formating
nschcolnicov Oct 4, 2024
8f55b90
Merge pull request #461 from nf-core/update_docs
nschcolnicov Oct 4, 2024
6e563f6
Add multiqc 1.25.1 and update changelog with software
apeltzer Oct 4, 2024
3ee1924
Add more software updates
apeltzer Oct 4, 2024
b256137
Merge pull request #463 from nf-core/update-software-modules
apeltzer Oct 5, 2024
e76423d
Add licences and authorship information
apeltzer Oct 6, 2024
46e77be
Improve changelog
apeltzer Oct 6, 2024
a8574d1
Date + Bump version
apeltzer Oct 6, 2024
2b17955
Merge pull request #464 from nf-core/licences
apeltzer Oct 6, 2024
6deceba
Merge pull request #466 from nf-core/bump-release
apeltzer Oct 6, 2024
7af6e82
PULL_REQUEST_TEMPLATE.md aktualisieren
apeltzer Oct 7, 2024
0cd2efd
CHANGELOG.md aktualisieren
apeltzer Oct 7, 2024
4340736
usage.md aktualisieren
apeltzer Oct 7, 2024
24ea7ad
output.md aktualisieren
apeltzer Oct 7, 2024
acd40b2
Update subworkflows/local/prepare_genome/main.nf
apeltzer Oct 8, 2024
aed3cf2
Couple of minor issues resolved from reviews
apeltzer Oct 8, 2024
df38996
Add hint to license
apeltzer Oct 8, 2024
351b8a8
Put in links
apeltzer Oct 8, 2024
52c1390
Update nextflow_schema.json
apeltzer Oct 8, 2024
b1e03e8
Update subworkflows/local/contaminant_filter/main.nf
apeltzer Oct 8, 2024
de1714b
Update subworkflows/local/mirna_quant.nf
apeltzer Oct 8, 2024
a1b8dc4
Bump release date
apeltzer Oct 8, 2024
015471f
Fix tests
apeltzer Oct 8, 2024
b54f4b0
address Change to `=` assignment, see above #470
atrigila Oct 8, 2024
60dd0f9
Fix tests for release PR
apeltzer Oct 8, 2024
1ed464e
Merge branch 'adress-issues' of https://github.com/nf-core/smrnaseq i…
apeltzer Oct 8, 2024
48337c8
Address Make citation tools dependent on whether tool was executed #468
atrigila Oct 8, 2024
8c22e20
Template update for nf-core/tools version 3.0.0
nf-core-bot Oct 8, 2024
5c31fea
Pulled from dev
nschcolnicov Oct 8, 2024
2bdfe79
Merge branch 'dev' into adress-issues
atrigila Oct 8, 2024
314524a
Pulled from dev
nschcolnicov Oct 8, 2024
caf2087
Revert changes in ci.yml
nschcolnicov Oct 8, 2024
f283977
Test ci config profile
nschcolnicov Oct 8, 2024
72df80a
Update ci config profile
nschcolnicov Oct 8, 2024
60a7f71
Update snaps
nschcolnicov Oct 8, 2024
118c61c
Template update for nf-core/tools version 3.0.1
nf-core-bot Oct 9, 2024
f60a119
Pulled from template 3.0.1
nschcolnicov Oct 9, 2024
6b92ae2
validate input params
atrigila Oct 10, 2024
16db223
add igenomes base
atrigila Oct 10, 2024
615b925
Remove level 1 hearder mark in list.
charles-plessy Oct 10, 2024
27dc551
template_version_comment.yml aktualisieren
apeltzer Oct 11, 2024
debb5a7
Remove todo
apeltzer Oct 11, 2024
b684cc8
Merge pull request #472 from nf-core/nf-core/tools/3.0.0
apeltzer Oct 11, 2024
0d8ccfe
Merge remote-tracking branch 'origin/dev' into adress-issues
apeltzer Oct 11, 2024
d524865
Final update of modules and subworkflows
apeltzer Oct 11, 2024
75cc53b
Remove one more todo
apeltzer Oct 11, 2024
6bde0c1
Template update for nf-core/tools version 3.0.2
nf-core-bot Oct 11, 2024
653a2c3
Merged the template
apeltzer Oct 11, 2024
b266fc6
Also remove .nf-test directory
apeltzer Oct 11, 2024
dce528b
Fix merge issue
apeltzer Oct 11, 2024
c3c490e
Fixing duplicate imports
apeltzer Oct 11, 2024
cfe34d6
Hopefully fix
apeltzer Oct 11, 2024
f7baad5
Finding more issues
apeltzer Oct 11, 2024
3746326
Date++
apeltzer Oct 11, 2024
3092c82
Remove some lines
apeltzer Oct 13, 2024
019487b
Update modules
apeltzer Oct 13, 2024
4805060
remove duplicates from new template
atrigila Oct 13, 2024
acd4b0d
remove extra argument, add missing {
atrigila Oct 13, 2024
8380496
correct schema structure
atrigila Oct 13, 2024
5254dae
fix linting errors
atrigila Oct 13, 2024
4ca8cb1
Merge pull request #469 from nf-core/adress-issues
apeltzer Oct 14, 2024
9a8c93c
Tiny bugfixes
apeltzer Oct 14, 2024
e5a7cc1
Update CITATIONS.md
apeltzer Oct 14, 2024
e7f4ffa
Merge pull request #476 from nf-core/tiny-fixes
apeltzer Oct 14, 2024
3876a7a
Fix tiny issue with linting
apeltzer Oct 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@ indent_style = unset
[/assets/email*]
indent_size = unset

# ignore Readme
[README.md]
indent_style = unset

# ignore python
# ignore python and markdown
[*.{py,md}]
indent_style = unset
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/smrn
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/smrnaseq/tree/master/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/smrnaseq _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] Make sure your code lints (`nf-core lint`).
- [ ] Ensure the test suite passes (`nf-test test main.nf.test -profile test,docker`).
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
apeltzer marked this conversation as resolved.
Show resolved Hide resolved
- [ ] Check for unexpected warnings in debug mode (`nextflow run . -profile debug,test,docker --outdir <OUTDIR>`).
- [ ] Usage Documentation in `docs/usage.md` is updated.
- [ ] Output Documentation in `docs/output.md` is updated.
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ on:
types: [published]
workflow_dispatch:
jobs:
run-tower:
run-platform:
name: Run AWS full tests
if: github.repository == 'nf-core/smrnaseq'
runs-on: ubuntu-latest
steps:
- name: Launch workflow via tower
- name: Launch workflow via Seqera Platform
uses: seqeralabs/action-tower-launch@v2
# Add full size test data (but still relatively small datasets for few samples)
# on the `test_full.config` test runs with only one set of parameters
Expand All @@ -32,7 +32,7 @@ jobs:

- uses: actions/upload-artifact@v4
with:
name: Tower debug log file
name: Seqera Platform debug log file
path: |
tower_action_*.log
tower_action_*.json
seqera_platform_action_*.log
seqera_platform_action_*.json
14 changes: 7 additions & 7 deletions .github/workflows/awstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ name: nf-core AWS test
on:
workflow_dispatch:
jobs:
run-tower:
run-platform:
name: Run AWS tests
if: github.repository == 'nf-core/smrnaseq'
runs-on: ubuntu-latest
steps:
# Launch workflow using Tower CLI tool action
- name: Launch workflow via tower
# Launch workflow using Seqera Platform CLI tool action
- name: Launch workflow via Seqera Platform
uses: seqeralabs/action-tower-launch@v2
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
Expand All @@ -23,11 +23,11 @@ jobs:
{
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/smrnaseq/results-test-${{ github.sha }}"
}
profiles: test
profiles: test,illumina

- uses: actions/upload-artifact@v4
with:
name: Tower debug log file
name: Seqera Platform debug log file
path: |
tower_action_*.log
tower_action_*.json
seqera_platform_action_*.log
seqera_platform_action_*.json
60 changes: 46 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,20 @@ on:
push:
branches:
- dev
- master
pull_request:
branches:
- dev
- master
release:
types: [published]

env:
NXF_ANSI_LOG: false
NFT_VER: "0.9.0"
NFT_WORKDIR: "~"
NFT_DIFF: "pdiff"
NFT_DIFF_ARGS: "--line-numbers --expand-tabs=2"

concurrency:
group: "${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}"
Expand All @@ -22,27 +30,51 @@ jobs:
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/smrnaseq') }}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
shard: [1, 2, 3, 4]
NXF_VER:
- "23.04.0"
- "latest-everything"
profile:
- "test"
- "test_no_genome"
- "test_umi"
- "test_index"
- "23.10.4"
profile: ["docker"]
env:
SHARDS: "4"
steps:
- name: Check out pipeline code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
with:
fetch-depth: 0

- uses: actions/setup-python@v4
with:
python-version: "3.11"
architecture: "x64"

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
- name: Install pdiff to see diff between nf-test snapshots
run: |
python -m pip install --upgrade pip
pip install pdiff

- uses: nf-core/setup-nextflow@v2
with:
version: "${{ matrix.NXF_VER }}"

- name: Disk space cleanup
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1
- uses: nf-core/setup-nf-test@v1
with:
version: ${{ env.NFT_VER }}

- name: Run pipeline with test data
- name: Run Tests (Shard ${{ matrix.shard }}/${{ env.SHARDS }})
run: |
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.profile }},docker --outdir ./results
nf-test test \
--ci \
--shard ${{ matrix.shard }}/${{ env.SHARDS }} \
--changed-since HEAD^ \
--profile "+${{ matrix.profile }}" \
--filter pipeline \
--junitxml=test.xml

- name: Publish Test Report
uses: mikepenz/action-junit-report@v3
if: always() # always run even if the previous step fails
with:
report_paths: test.xml
annotate_only: true
24 changes: 19 additions & 5 deletions .github/workflows/download_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
pull_request:
types:
- opened
- edited
- synchronize
branches:
- master
pull_request_target:
Expand All @@ -28,11 +30,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
uses: nf-core/setup-nextflow@v2

- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
- name: Disk space cleanup
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1

- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
with:
python-version: "3.11"
python-version: "3.12"
architecture: "x64"
- uses: eWaterCycle/setup-singularity@931d4e31109e875b13309ae1d07c70ca8fbc8537 # v7
with:
Expand Down Expand Up @@ -65,8 +70,17 @@ jobs:
- name: Inspect download
run: tree ./${{ env.REPOTITLE_LOWERCASE }}

- name: Run the downloaded pipeline
- name: Run the downloaded pipeline (stub)
id: stub_run_pipeline
continue-on-error: true
env:
NXF_SINGULARITY_CACHEDIR: ./
NXF_SINGULARITY_HOME_MOUNT: true
run: nextflow run ./${{ env.REPOTITLE_LOWERCASE }}/$( sed 's/\W/_/g' <<< ${{ env.REPO_BRANCH }}) -stub -profile test,singularity,illumina --outdir ./results
- name: Run the downloaded pipeline (stub run not supported)
id: run_pipeline
if: ${{ job.steps.stub_run_pipeline.status == failure() }}
env:
NXF_SINGULARITY_CACHEDIR: ./
NXF_SINGULARITY_HOME_MOUNT: true
run: nextflow run ./${{ env.REPOTITLE_LOWERCASE }}/$( sed 's/\W/_/g' <<< ${{ env.REPO_BRANCH }}) -stub -profile test,singularity --outdir ./results
run: nextflow run ./${{ env.REPOTITLE_LOWERCASE }}/$( sed 's/\W/_/g' <<< ${{ env.REPO_BRANCH }}) -profile test,singularity --outdir ./results
6 changes: 3 additions & 3 deletions .github/workflows/fix-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Use the @nf-core-bot token to check out so we can push later
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
with:
token: ${{ secrets.nf_core_bot_auth_token }}

Expand All @@ -32,9 +32,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.nf_core_bot_auth_token }}

# Install and run pre-commit
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
with:
python-version: 3.11
python-version: "3.12"

- name: Install pre-commit
run: pip install pre-commit
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,12 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4

- name: Set up Python 3.11
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
- name: Set up Python 3.12
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
with:
python-version: 3.11
cache: "pip"
python-version: "3.12"

- name: Install pre-commit
run: pip install pre-commit
Expand All @@ -32,14 +31,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out pipeline code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
uses: nf-core/setup-nextflow@v2

- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
with:
python-version: "3.11"
python-version: "3.12"
architecture: "x64"

- name: Install dependencies
Expand All @@ -60,7 +59,7 @@ jobs:

- name: Upload linting log file artifact
if: ${{ always() }}
uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
with:
name: linting-logs
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linting_comment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Download lint results
uses: dawidd6/action-download-artifact@f6b0bace624032e30a85a8fd9c1a7f8f611f5737 # v3
uses: dawidd6/action-download-artifact@09f2f74827fd3a8607589e5ad7f9398816f540fe # v3
with:
workflow: linting.yml
workflow_conclusion: completed
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-announcements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: get topics and convert to hashtags
id: get_topics
run: |
curl -s https://nf-co.re/pipelines.json | jq -r '.remote_workflows[] | select(.full_name == "${{ github.repository }}") | .topics[]' | awk '{print "#"$0}' | tr '\n' ' ' >> $GITHUB_OUTPUT
echo "topics=$(curl -s https://nf-co.re/pipelines.json | jq -r '.remote_workflows[] | select(.full_name == "${{ github.repository }}") | .topics[]' | awk '{print "#"$0}' | tr '\n' ' ')" >> $GITHUB_OUTPUT

- uses: rzr/fediverse-action@master
with:
Expand All @@ -25,13 +25,13 @@ jobs:

Please see the changelog: ${{ github.event.release.html_url }}

${{ steps.get_topics.outputs.GITHUB_OUTPUT }} #nfcore #openscience #nextflow #bioinformatics
${{ steps.get_topics.outputs.topics }} #nfcore #openscience #nextflow #bioinformatics

send-tweet:
runs-on: ubuntu-latest

steps:
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
- uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5
with:
python-version: "3.10"
- name: Install dependencies
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ testing/
testing*
*.pyc
execution_trace*
.nf-test*
1 change: 1 addition & 0 deletions .nf-core.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
repository_type: pipeline
nf_core_version: "2.14.1"
lint:
nextflow_config:
- config_defaults:
Expand Down
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ repos:
rev: "v3.1.0"
hooks:
- id: prettier
additional_dependencies:
- [email protected]

- repo: https://github.com/editorconfig-checker/editorconfig-checker.python
rev: "2.7.3"
hooks:
Expand Down
Loading
Loading