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

Release 2.3.0 #230

Merged
merged 126 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
c5b85c9
Template update for nf-core/tools version 2.8
nf-core-bot Apr 28, 2023
8d10e90
Template update for nf-core/tools version 2.9
nf-core-bot Jun 30, 2023
818f3f2
Merge branch 'TEMPLATE' of https://github.com/nf-core/epitopeprediction
christopher-mohr Jul 11, 2023
cfe534d
Add missing params to schema
christopher-mohr Jul 12, 2023
60a3de3
add when condition
christopher-mohr Jul 12, 2023
18e5c91
update nf-core modules
christopher-mohr Jul 12, 2023
0658273
set version to dev
christopher-mohr Jul 12, 2023
0315d16
fix mqc config yml
christopher-mohr Jul 12, 2023
4bcaaee
remove conda.enabled default
christopher-mohr Jul 12, 2023
91c2572
remove remaining TODOs
christopher-mohr Jul 12, 2023
6673444
add PR number to CHANGELOG
christopher-mohr Jul 12, 2023
90d1317
readd conda.enabled default
christopher-mohr Jul 12, 2023
5402fd3
remove fastqc from pipeline tools
christopher-mohr Jul 21, 2023
439c317
Update affiliation
christopher-mohr Jul 21, 2023
13ce412
Merge pull request #203 from christopher-mohr/merging-template-update…
christopher-mohr Jul 21, 2023
54ea01e
Restructure input check and samplesheet check
Aug 17, 2023
9e1513b
Add MIT license for check_samplesheet.py
Aug 17, 2023
4110373
Add information to CHANGELOG.md and fix bug in check_samplesheet for …
Aug 22, 2023
b974bd3
Black formatting
Aug 22, 2023
c74333b
Update CHANGELOG.md
alina-bauer Aug 29, 2023
a645848
Add suggestions from PR to code
alina-bauer Aug 29, 2023
4ec0102
Fix output printing and keep name inputtype for nomenclature of meta
Aug 29, 2023
01d1fea
Remove test code
Aug 29, 2023
776668e
Fixing valid sample sheet printing
alina-bauer Aug 29, 2023
e1eeebd
Change nomenclature of file_type
alina-bauer Aug 29, 2023
18507f6
Black formatting
Aug 29, 2023
50812f9
Merge pull request #209 from alina-bauer/mhc-binding-subworkflow
jonasscheid Aug 29, 2023
e6e441e
Add option to enter alleles as internet link to samplesheet
Aug 31, 2023
71e843b
Fix nomenclature of inputtype in check_samplesheet file
Aug 31, 2023
89259c6
Now possible to add allele txt file in local folder
Aug 31, 2023
6700180
Merge pull request #211 from alina-bauer/dev
jonasscheid Aug 31, 2023
7bf589f
Template update for nf-core/tools version 2.10
nf-core-bot Sep 25, 2023
c96f84d
update to new epytope version, use biomaradapter
christopher-mohr Oct 2, 2023
090b222
adapt to epytope changes
christopher-mohr Oct 3, 2023
7a299a9
remove func, replaced by epytope method
christopher-mohr Oct 3, 2023
77d94de
remove epytope suffix from IDs
christopher-mohr Oct 3, 2023
2b68bda
replace is_created_by_variant func by eyptope
christopher-mohr Oct 3, 2023
f7ad4a1
adapt genome reference parameter and handling
christopher-mohr Oct 3, 2023
4717537
fix python package version retrieval
christopher-mohr Oct 3, 2023
4d77f93
Merge branch 'TEMPLATE' of https://github.com/nf-core/epitopepredicti…
christopher-mohr Oct 8, 2023
997d4c1
update CHANGELOG
christopher-mohr Oct 8, 2023
0583de2
change version
christopher-mohr Oct 8, 2023
1bfb74e
update modules
christopher-mohr Oct 8, 2023
9ede7ac
remove linting warnings
christopher-mohr Oct 8, 2023
f196cb1
remove deprecated param from profiles
christopher-mohr Oct 8, 2023
1cd3cb4
update docs
christopher-mohr Oct 8, 2023
b403f80
run black
christopher-mohr Oct 8, 2023
a3ccf4b
Update nextflow_schema.json
christopher-mohr Oct 11, 2023
fdb3f9d
include review suggestions
christopher-mohr Oct 11, 2023
747341b
Merge branch 'update_pipeline_and_fix_biomart_con' of https://github.…
christopher-mohr Oct 11, 2023
e0d2ab9
Merge pull request #213 from christopher-mohr/update_pipeline_and_fix…
christopher-mohr Oct 11, 2023
2dd3e55
fix registry of external tool import
jonasscheid Nov 5, 2023
5434e04
bump version, add changes to changelog
jonasscheid Nov 5, 2023
182fa7d
Merge pull request #219 from jonasscheid/fix_external_container_registry
jonasscheid Nov 6, 2023
bab8e0a
allow vcfgz again
jonasscheid Dec 1, 2023
202fa44
fix compressed vcf parsing, refactored allele checking
jonasscheid Dec 4, 2023
2dd79dd
bump python version of samplechecker
jonasscheid Dec 4, 2023
d04e77f
add staging in samplesheet checker to determine inputtype
jonasscheid Dec 4, 2023
7868e5c
switch to nf-validation
jonasscheid Dec 5, 2023
7396472
remove conda check, threw warning
jonasscheid Dec 5, 2023
0b1358a
swtich back to old len settings
jonasscheid Dec 5, 2023
3f3bcf9
add changelog, fix lint
jonasscheid Dec 5, 2023
1ffdacb
change internal mhcclass to mhc_class for consistency
jonasscheid Dec 5, 2023
6b921c2
depricate gsvar and variant tsv
jonasscheid Dec 8, 2023
6fcac57
prettier
jonasscheid Dec 8, 2023
cbc566e
update changelog
jonasscheid Dec 8, 2023
4239b6a
remove depricated tests from ci
jonasscheid Dec 11, 2023
14a76b4
update test conigs in nextflow.config
jonasscheid Dec 11, 2023
e2e3f80
Update CHANGELOG.md
jonasscheid Dec 11, 2023
ee311d9
Merge pull request #221 from jonasscheid/depricate_gsvar_and_variant_tsv
christopher-mohr Dec 11, 2023
db037bd
resolve conflicts
jonasscheid Dec 13, 2023
400b831
Add check for mhc_class-allele combination
jonasscheid Dec 13, 2023
a34c450
Remove txt filename input from schema_input.json
jonasscheid Dec 18, 2023
74da74b
Update workflows/epitopeprediction.nf
jonasscheid Dec 19, 2023
693bd50
Update workflows/epitopeprediction.nf
jonasscheid Dec 19, 2023
ce8c16d
Merge pull request #220 from jonasscheid/fix_lost_vcfgz_support
jonasscheid Dec 19, 2023
9aef677
Template update for nf-core/tools version 2.11
nf-core-bot Dec 19, 2023
5dfb258
Template update for nf-core/tools version 2.11.1
nf-core-bot Dec 20, 2023
01fb674
updating README + name fix
Jan 18, 2024
5df6e3b
reformat
Jan 18, 2024
45e04d7
Template update for nf-core/tools version 2.12
nf-core-bot Jan 29, 2024
2e13e01
Prevent crash if no transcript is found (in splitted vcf)
jonasscheid Jan 30, 2024
e60cd71
update changelog
jonasscheid Feb 1, 2024
bfb0a55
merge template
jonasscheid Feb 5, 2024
ad38aed
fix lint
jonasscheid Feb 5, 2024
f498fc2
update changelog
jonasscheid Feb 5, 2024
07c6902
[automated] Fix linting with Prettier
nf-core-bot Feb 5, 2024
53ae332
reformat using ruff
jonasscheid Feb 5, 2024
92282af
Merge branch 'nf-core:master' into merging-template-updates
jonasscheid Feb 5, 2024
0445505
Merge branch 'merging-template-updates' of https://github.com/jonassc…
jonasscheid Feb 5, 2024
bfd98b5
update changelog
jonasscheid Feb 5, 2024
f0d8c9e
fix padding
jonasscheid Feb 5, 2024
a0e248d
Merge pull request #228 from jonasscheid/merging-template-updates
jonasscheid Feb 6, 2024
6177dc3
update changelog
jonasscheid Feb 6, 2024
a728456
Merge pull request #227 from jonasscheid/fix-bug-if-no-transcript-ava…
jonasscheid Feb 6, 2024
d9e12eb
clean up changelog
jonasscheid Feb 7, 2024
97b0c0f
clean up changelog
jonasscheid Feb 7, 2024
adc32bc
update gunzip
jonasscheid Feb 7, 2024
5e98069
bump version
jonasscheid Feb 7, 2024
e3ecb16
ignore logos for lint
jonasscheid Feb 7, 2024
3cee487
nf-core lint fix files_unchanged
jonasscheid Feb 7, 2024
15f1a46
update multiqc module
jonasscheid Feb 7, 2024
88fa817
ignore logos for linting
jonasscheid Feb 14, 2024
085c1e5
update changelog date
jonasscheid Feb 14, 2024
28400d1
Merge pull request #229 from jonasscheid/prepare-release
jonasscheid Feb 14, 2024
8e4c198
Merge remote-tracking branch 'origin/dev' into show_supported_models_fix
christopher-mohr Feb 16, 2024
b6d9cf4
Merge pull request #225 from nf-core/show_supported_models_fix
christopher-mohr Feb 16, 2024
1033fc8
clean up CI tests
christopher-mohr Feb 16, 2024
14cafe5
Merge pull request #231 from christopher-mohr/fix_ci_tests
christopher-mohr Feb 16, 2024
8691e1d
Incorporate review
jonasscheid Feb 19, 2024
49f126a
udpate changelog date
jonasscheid Feb 20, 2024
72e7e30
Merge pull request #232 from jonasscheid/prepare-release
christopher-mohr Feb 20, 2024
6f8f3c6
Template update for nf-core/tools version 2.13
nf-core-bot Feb 20, 2024
d89ce8e
merge template, fix conflicts, adjust for new local subworkflow struc…
jonasscheid Feb 22, 2024
4e232c7
fix outdated param in grch38 test
jonasscheid Feb 22, 2024
06702bb
incorporate release review requests
jonasscheid Feb 22, 2024
48eeb0f
fix readme
jonasscheid Feb 22, 2024
90349c0
fix ensembl default (grch38) url
christopher-mohr Feb 23, 2024
155b80f
add newline to readme for proper display of hyperlinks
jonasscheid Feb 23, 2024
84252c5
Merge pull request #234 from jonasscheid/prepare-release
christopher-mohr Feb 23, 2024
ed86428
Merge pull request #6 from jonasscheid/dev
jonasscheid Feb 25, 2024
40f846b
remove duplicated warning from readme
jonasscheid Feb 25, 2024
504919e
remove genome reference enum which might block specifying special bio…
jonasscheid Feb 25, 2024
7e2f470
bump release date
jonasscheid Feb 26, 2024
9e281b3
prettier readme
jonasscheid Feb 26, 2024
1b82b50
Merge pull request #235 from jonasscheid/prepare-release
jonasscheid Feb 26, 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
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "nfcore",
"image": "nfcore/gitpod:latest",
"remoteUser": "gitpod",
"runArgs": ["--privileged"],

// Configure tool-specific properties.
"customizations": {
Expand Down
17 changes: 15 additions & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ trim_trailing_whitespace = true
indent_size = 4
indent_style = space

[*.{md,yml,yaml,html,css,scss,js,cff}]
[*.{md,yml,yaml,html,css,scss,js}]
indent_size = 2

# These files are edited and tested upstream in nf-core/modules
Expand All @@ -18,7 +18,20 @@ end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = unset
indent_size = unset
[/subworkflows/nf-core/**]
charset = unset
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = unset

[/assets/email*]
indent_size = unset

# ignore Readme
[README.md]
indent_style = unset

# ignore python
[*.{py,md}]
indent_style = unset
8 changes: 6 additions & 2 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ Please use the pre-filled template to save time.
However, don't be put off by this template - other more general issues and suggestions are welcome!
Contributions to the code are even more welcome ;)

> If you need help using or modifying nf-core/epitopeprediction then the best place to ask is on the nf-core Slack [#epitopeprediction](https://nfcore.slack.com/channels/epitopeprediction) channel ([join our Slack here](https://nf-co.re/join/slack)).
:::info
If you need help using or modifying nf-core/epitopeprediction then the best place to ask is on the nf-core Slack [#epitopeprediction](https://nfcore.slack.com/channels/epitopeprediction) channel ([join our Slack here](https://nf-co.re/join/slack)).
:::

## Contribution workflow

Expand All @@ -25,6 +27,9 @@ If you're not used to this workflow with git, you can start with some [docs from

## Tests

You can optionally test your changes by running the pipeline locally. Then it is recommended to use the `debug` profile to
receive warnings about process selectors and other debug info. Example: `nextflow run . -profile debug,test,docker --outdir <OUTDIR>`.

When you create a pull request with changes, [GitHub Actions](https://github.com/features/actions) will run automatic tests.
Typically, pull-requests are only fully reviewed when these tests are passing, though of course we can help out before then.

Expand Down Expand Up @@ -116,4 +121,3 @@ To get started:
Devcontainer specs:

- [DevContainer config](.devcontainer/devcontainer.json)
- [Dockerfile](.devcontainer/Dockerfile)
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ body:
attributes:
label: System information
description: |
* Nextflow version _(eg. 22.10.1)_
* Nextflow version _(eg. 23.04.0)_
* Hardware _(eg. HPC, Desktop, Cloud)_
* Executor _(eg. slurm, local, awsbatch)_
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter or Charliecloud)_
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter, Charliecloud, or Apptainer)_
* OS _(eg. CentOS Linux, macOS, Linux Mint)_
* Version of nf-core/epitopeprediction _(eg. 1.1, 1.5, 1.8.2)_
4 changes: 3 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/epit

- [ ] This comment contains a description of changes (with reason).
- [ ] If you've fixed a bug or added code that should be tested, add tests!
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/epitopeprediction/tree/master/.github/CONTRIBUTING.md)- [ ] If necessary, also make a PR on the nf-core/epitopeprediction _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/epitopeprediction/tree/master/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/epitopeprediction _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 (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
- [ ] 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.
- [ ] `CHANGELOG.md` is updated.
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,23 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Launch workflow via tower
uses: nf-core/tower-action@v3
uses: seqeralabs/action-tower-launch@922e5c8d5ac4e918107ec311d2ebbd65e5982b3d # v2
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
revision: ${{ github.sha }}
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/epitopeprediction/work-${{ github.sha }}
parameters: |
{
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/epitopeprediction/results-${{ github.sha }}"
}
profiles: test_full,aws_tower
- uses: actions/upload-artifact@v3
profiles: test_full

- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
with:
name: Tower debug log file
path: tower_action_*.log
path: |
tower_action_*.log
tower_action_*.json
12 changes: 8 additions & 4 deletions .github/workflows/awstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,22 @@ jobs:
steps:
# Launch workflow using Tower CLI tool action
- name: Launch workflow via tower
uses: nf-core/tower-action@v3
uses: seqeralabs/action-tower-launch@922e5c8d5ac4e918107ec311d2ebbd65e5982b3d # v2
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
compute_env: ${{ secrets.TOWER_COMPUTE_ENV }}
revision: ${{ github.sha }}
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/epitopeprediction/work-${{ github.sha }}
parameters: |
{
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/epitopeprediction/results-test-${{ github.sha }}"
}
profiles: test,aws_tower
- uses: actions/upload-artifact@v3
profiles: test

- uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # v4
with:
name: Tower debug log file
path: tower_action_*.log
path: |
tower_action_*.log
tower_action_*.json
4 changes: 2 additions & 2 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
- name: Check PRs
if: github.repository == 'nf-core/epitopeprediction'
run: |
{ [[ ${{github.event.pull_request.head.repo.full_name }} == nf-core/epitopeprediction ]] && [[ $GITHUB_HEAD_REF = "dev" ]]; } || [[ $GITHUB_HEAD_REF == "patch" ]]
{ [[ ${{github.event.pull_request.head.repo.full_name }} == nf-core/epitopeprediction ]] && [[ $GITHUB_HEAD_REF == "dev" ]]; } || [[ $GITHUB_HEAD_REF == "patch" ]]

# If the above check failed, post a comment on the PR explaining the failure
# NOTE - this doesn't currently work if the PR is coming from a fork, due to limitations in GitHub actions secrets
- name: Post PR comment
if: failure()
uses: mshick/add-pr-comment@v1
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2
with:
message: |
## This PR is against the `master` branch :x:
Expand Down
73 changes: 24 additions & 49 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,58 +24,43 @@ jobs:
strategy:
matrix:
NXF_VER:
- "22.10.1"
- "23.04.0"
- "latest-everything"
steps:
- name: Check out pipeline code
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
uses: nf-core/setup-nextflow@b9f764e8ba5c76b712ace14ecbfcef0e40ae2dd8 # v1
with:
version: "${{ matrix.NXF_VER }}"

- name: Disk space cleanup
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be # v1.3.1

- name: Run pipeline with test data
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results
profile:
name: Run profile tests
if: ${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/epitopeprediction') }}
runs-on: ubuntu-latest
env:
NXF_VER: ${{ matrix.nxf_ver }}
NXF_ANSI_LOG: false
strategy:
matrix:
include:
# Test pipeline minimum Nextflow version
- NXF_VER: "22.10.1"
NXF_EDGE: ""
# Test latest edge release of Nextflow
- NXF_VER: ""
NXF_EDGE: "1"
NXF_VER:
- "23.04.0"
- "latest-everything"
tests:
[
"test_variant_tsv",
"test_grch38_variant_tsv",
"test_peptides",
"test_peptides_h2",
"test_proteins",
"test_mhcnuggets",
"test_mhcflurry",
]
["test_grch38", "test_peptides", "test_peptides_h2", "test_proteins", "test_mhcnuggets", "test_mhcflurry"]
steps:
- name: Check out pipeline code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install Nextflow
env:
NXF_VER: ${{ matrix.NXF_VER }}
# Uncomment only if the edge release is more recent than the latest stable release
# See https://github.com/nextflow-io/nextflow/issues/2467
# NXF_EDGE: ${{ matrix.NXF_EDGE }}
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
uses: nf-core/setup-nextflow@v1
with:
version: "${{ matrix.NXF_VER }}"

- name: Run pipeline with profile ${{ matrix.tests }}
run: |
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.tests }},docker --outdir ./results
Expand All @@ -84,20 +69,14 @@ jobs:
name: Run NetMHC tool family tests
if: ${{ ( github.event_name == 'push' && github.repository == 'nf-core/epitopeprediction' ) || github.event.pull_request.head.repo.full_name == 'nf-core/epitopeprediction' }}
runs-on: ubuntu-latest
env:
NXF_VER: ${{ matrix.nxf_ver }}
strategy:
matrix:
include:
# Test pipeline minimum Nextflow version
- NXF_VER: "22.10.1"
NXF_EDGE: ""
# Test latest edge release of Nextflow
- NXF_VER: ""
NXF_EDGE: "1"
NXF_VER:
- "23.04.0"
- "latest-everything"
steps:
- name: Check out pipeline code
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Install non-free software
env:
Expand All @@ -107,14 +86,10 @@ jobs:
curl -L https://raw.githubusercontent.com/nf-core/test-datasets/epitopeprediction/software/non-free-software.tar.gpg | ${GITHUB_WORKSPACE}/bin/decrypt | tar -C non-free -v -x

- name: Install Nextflow
env:
NXF_VER: ${{ matrix.NXF_VER }}
# Uncomment only if the edge release is more recent than the latest stable release
# See https://github.com/nextflow-io/nextflow/issues/2467
# NXF_EDGE: ${{ matrix.NXF_EDGE }}
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
uses: nf-core/setup-nextflow@v1
with:
version: "${{ matrix.NXF_VER }}"

- name: Run pipeline with NetMHC
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test_netmhc,docker --outdir ./results
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/clean-up.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "Close user-tagged issues and PRs"
on:
schedule:
- cron: "0 0 * * 0" # Once a week

jobs:
clean-up:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
with:
stale-issue-message: "This issue has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor. Remove stale label or add a comment otherwise this issue will be closed in 20 days."
stale-pr-message: "This PR has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor. Remove stale label or add a comment if it is still useful."
close-issue-message: "This issue was closed because it has been tagged as awaiting-changes or awaiting-feedback by an nf-core contributor and then staled for 20 days with no activity."
days-before-stale: 30
days-before-close: 20
days-before-pr-close: -1
any-of-labels: "awaiting-changes,awaiting-feedback"
exempt-issue-labels: "WIP"
exempt-pr-labels: "WIP"
repo-token: "${{ secrets.GITHUB_TOKEN }}"
72 changes: 72 additions & 0 deletions .github/workflows/download_pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
name: Test successful pipeline download with 'nf-core download'

# Run the workflow when:
# - dispatched manually
# - when a PR is opened or reopened to master branch
# - the head branch of the pull request is updated, i.e. if fixes for a release are pushed last minute to dev.
on:
workflow_dispatch:
inputs:
testbranch:
description: "The specific branch you wish to utilize for the test execution of nf-core download."
required: true
default: "dev"
pull_request:
types:
- opened
branches:
- master
pull_request_target:
branches:
- master

env:
NXF_ANSI_LOG: false

jobs:
download:
runs-on: ubuntu-latest
steps:
- name: Install Nextflow
uses: nf-core/setup-nextflow@b9f764e8ba5c76b712ace14ecbfcef0e40ae2dd8 # v1

- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
with:
python-version: "3.11"
architecture: "x64"
- uses: eWaterCycle/setup-singularity@931d4e31109e875b13309ae1d07c70ca8fbc8537 # v7
with:
singularity-version: 3.8.3

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install git+https://github.com/nf-core/tools.git@dev

- name: Get the repository name and current branch set as environment variable
run: |
echo "REPO_LOWERCASE=${GITHUB_REPOSITORY,,}" >> ${GITHUB_ENV}
echo "REPOTITLE_LOWERCASE=$(basename ${GITHUB_REPOSITORY,,})" >> ${GITHUB_ENV}
echo "REPO_BRANCH=${{ github.event.inputs.testbranch || 'dev' }}" >> ${GITHUB_ENV}

- name: Download the pipeline
env:
NXF_SINGULARITY_CACHEDIR: ./
run: |
nf-core download ${{ env.REPO_LOWERCASE }} \
--revision ${{ env.REPO_BRANCH }} \
--outdir ./${{ env.REPOTITLE_LOWERCASE }} \
--compress "none" \
--container-system 'singularity' \
--container-library "quay.io" -l "docker.io" -l "ghcr.io" \
--container-cache-utilisation 'amend' \
--download-configuration

- name: Inspect download
run: tree ./${{ env.REPOTITLE_LOWERCASE }}

- name: Run the downloaded pipeline
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
Loading
Loading