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

Candidate release 3.2.0 #1057

Merged
merged 561 commits into from
Jun 5, 2023
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
561 commits
Select commit Hold shift + click to select a range
4e60e8c
Merge pull request #954 from maxulysse/annotation_hg19
maxulysse Mar 2, 2023
59de143
add failsafe with join()
maxulysse Mar 2, 2023
bc16cbc
update CHANGELOG
maxulysse Mar 2, 2023
c2e3e44
expand to all join operators
maxulysse Mar 2, 2023
1a4af5d
update nf-core subworkflows
maxulysse Mar 2, 2023
49c7d55
code polish
maxulysse Mar 2, 2023
6ea33d2
update CHANGELOG
maxulysse Mar 2, 2023
15c2328
no failOnMismatch for this join
maxulysse Mar 2, 2023
a11fbff
update md5sum
maxulysse Mar 2, 2023
c09f240
no failOnDuplicate for this one
maxulysse Mar 2, 2023
8524d37
no failOnMismatch for this one
maxulysse Mar 2, 2023
59b3d0d
fix map
maxulysse Mar 2, 2023
b2a8891
Merge pull request #957 from maxulysse/mutect2
maxulysse Mar 2, 2023
7d56fa4
update paths
FriederikeHanssen Mar 15, 2023
4e46048
Merge pull request #965 from FriederikeHanssen/new_paths
ewels Mar 15, 2023
50f0652
add outdir_cache + update annotation docs for cache
maxulysse Mar 16, 2023
2448bc0
Apply suggestions from code review
maxulysse Mar 16, 2023
e1fe104
fix annotation cache test with conda
maxulysse Mar 16, 2023
4221d5d
Apply suggestions from code review
maxulysse Mar 16, 2023
3b5f2a4
Merge pull request #967 from maxulysse/annotation_cache_docs
maxulysse Mar 16, 2023
9f6f8c9
Merge branch 'dev' into ubam
maxulysse Mar 17, 2023
3538373
update all modules
maxulysse Mar 17, 2023
86c684e
Don't mutate channel elements in-place
robsyme Mar 18, 2023
6d60fd9
Changelog update
robsyme Mar 20, 2023
d9675e6
Merge pull request #971 from nf-core/sort-fix
maxulysse Mar 20, 2023
8227588
Validate that sample/patient does not contain space and add test
matrulda Mar 28, 2023
b4f54a3
Added how to generate ASCAT reference files for exome/targeted sequen…
Mar 28, 2023
7cf1d3b
Fixed link formatting
Mar 28, 2023
4174f0d
Add validation_checks tag to spaces test
matrulda Mar 28, 2023
d48cc24
Add new test to github actions workflow
matrulda Mar 28, 2023
a214a4d
Tab delimited output rather than underscore for loci files
Mar 28, 2023
ee7656f
Merge pull request #978 from matrulda/issue-950_samplesheet_validatio…
matrulda Mar 28, 2023
cb1972b
Use 'chr' prefix for loci and alleles
Mar 28, 2023
0418dc1
Prettier linting
ameynert Mar 28, 2023
11dbc19
Merge pull request #1 from nf-core/dev
Mar 28, 2023
7cf0c1f
#981
Mar 28, 2023
33a9bff
Added Alison Meynert to contributors
Mar 28, 2023
1ab65eb
Clarified that ASCAT runs out of the box on WGS data
Mar 29, 2023
56a8de5
Merge pull request #981 from ameynert/dev
Mar 29, 2023
150d983
Remove exit statements
FriederikeHanssen Mar 29, 2023
d4d5774
Update changelog
FriederikeHanssen Mar 29, 2023
d3cb234
don't lint since we are ahead of template
FriederikeHanssen Mar 29, 2023
4b9138c
address reviews, remove nextflow.warn, replace with log
FriederikeHanssen Mar 30, 2023
7c76ff3
import nextflow
FriederikeHanssen Mar 30, 2023
87eaef9
ADD: Cache correctly identifies when it needs to be updated
maxulysse Mar 31, 2023
0788f73
update changelog
maxulysse Mar 31, 2023
4b6689b
Apply suggestions from code review
robsyme Mar 31, 2023
2e1e760
Merge pull request #982 from FriederikeHanssen/issue_805
FriederikeHanssen Mar 31, 2023
550ab32
Merge branch 'dev' into cache_hash
maxulysse Mar 31, 2023
fbc959a
Merge pull request #985 from maxulysse/cache_hash
maxulysse Mar 31, 2023
031b7ab
updated ascat module for reproducibility
SusiJo Apr 5, 2023
4b27ea4
update changelog
SusiJo Apr 5, 2023
e5b0b48
update changelog again
SusiJo Apr 5, 2023
d513738
Merge pull request #988 from SusiJo/ascat_seed
SusiJo Apr 5, 2023
5f12a65
Merge branch 'dev' into gatk_update
maxulysse Apr 11, 2023
fbd0f38
Update manta to not use --exome flag for all interval files
FriederikeHanssen Apr 13, 2023
b198308
Remove interval parallelization
FriederikeHanssen Apr 13, 2023
6439d5b
update comments
FriederikeHanssen Apr 13, 2023
9395580
update changelog
FriederikeHanssen Apr 13, 2023
ada7748
fix indent
FriederikeHanssen Apr 13, 2023
93bfcb6
update checksums
FriederikeHanssen Apr 13, 2023
a3da57c
handle no intervals
FriederikeHanssen Apr 13, 2023
05f115f
update checksums
FriederikeHanssen Apr 14, 2023
43c71eb
apply suggestions from review
FriederikeHanssen Apr 14, 2023
1bb57d1
Update subworkflows/local/bam_variant_calling_germline_manta/main.nf
FriederikeHanssen Apr 14, 2023
9d18ba2
updating modules
maxulysse Apr 14, 2023
9f3ff50
Merge pull request #998 from FriederikeHanssen/issue_952
maxulysse Apr 14, 2023
4b93590
add INDEX creation
maxulysse Apr 25, 2023
ed33deb
fix channels
maxulysse Apr 25, 2023
26aa534
typo
maxulysse Apr 25, 2023
a1f46dd
one liner
maxulysse Apr 25, 2023
80ba818
mode modules update
maxulysse Apr 25, 2023
373f6ae
update CHANGELOG
maxulysse Apr 25, 2023
c800559
Merge branch 'dev' into ubam
maxulysse Apr 25, 2023
0483672
patch dragmap/hashtable
maxulysse Apr 25, 2023
f4b1620
add ASCAT to updated tools
maxulysse Apr 25, 2023
6b845a3
Merge pull request #928 from maxulysse/ubam
maxulysse Apr 25, 2023
3d363e5
remove conda tests as they almost always fail
maxulysse Apr 25, 2023
2864be5
remove md5sum
maxulysse Apr 26, 2023
4ee7618
update subworkflow
maxulysse Apr 26, 2023
76eb094
update unzip module
maxulysse Apr 26, 2023
c6303c7
update bcftools
maxulysse Apr 26, 2023
4d377e7
update bcftools related md5sum
maxulysse Apr 27, 2023
7a75269
update paths for untar tests
maxulysse Apr 27, 2023
23f4a3f
Merge pull request #968 from maxulysse/gatk_update
maxulysse Apr 27, 2023
775a120
update subworkflows with proper schema
maxulysse Apr 28, 2023
11b6a63
Merge pull request #1009 from maxulysse/subworkflows_update
maxulysse Apr 28, 2023
d386f23
Template update for nf-core/tools version 2.8
nf-core-bot Apr 28, 2023
e008c66
update TEMPLATE
maxulysse May 3, 2023
eae8c15
merge TEMPLATE with 2.8
maxulysse May 3, 2023
cc20433
Merge branch 'dev' into sync_2.8
maxulysse May 3, 2023
c2e38c0
Apply suggestions from code review
maxulysse May 3, 2023
04d19e4
prettier
maxulysse May 3, 2023
627facf
fix syntax + prettier
maxulysse May 3, 2023
fb49206
Merge pull request #1011 from maxulysse/sync_2.8
maxulysse May 3, 2023
c84b222
spacing in warning/error messages + collect -> first
maxulysse May 3, 2023
cb03909
spacing
maxulysse May 5, 2023
9fded3f
more info
maxulysse May 5, 2023
76b9752
update annotation usage
maxulysse May 5, 2023
79e5875
update docs
maxulysse May 5, 2023
987fce4
Merge pull request #1014 from maxulysse/annotation_genome_null
maxulysse May 5, 2023
94b15a1
increase default value for nucleotides_per_second reducing number of …
FriederikeHanssen May 6, 2023
1f935e4
Update changelog and tests
FriederikeHanssen May 6, 2023
9e07be9
[automated] Fix linting with Prettier
nf-core-bot May 6, 2023
b58feea
Update CHANGELOG.md
FriederikeHanssen May 6, 2023
dbac106
Adapt description for intervals parameter
FriederikeHanssen May 6, 2023
342b9de
Merge remote-tracking branch 'origin/reduce_interval_groups' into red…
FriederikeHanssen May 6, 2023
a36f952
Merge pull request #1015 from FriederikeHanssen/reduce_interval_groups
FriederikeHanssen May 6, 2023
c89b094
remove unnecessary substractions
maxulysse May 10, 2023
df876fe
Set a default registry outside of profile scope
maxulysse May 11, 2023
fdbfcfb
update CHANGELOG
maxulysse May 11, 2023
9401434
Merge pull request #1019 from maxulysse/patch-registry
maxulysse May 11, 2023
260e927
fix snps_resource_label and indels_resource_label
asp8200 May 14, 2023
46b20e9
Again trying to get mix operator working with known_indels_vqsr known…
asp8200 May 15, 2023
00aafa5
Trying to make sure that dbsnp_vqsr known_indels_vqsr and known_snps_…
asp8200 May 15, 2023
3dfe4d6
Fixing copy-paste mistake
asp8200 May 15, 2023
c026ee3
Updating changelog
asp8200 May 16, 2023
3117011
Merge pull request #1022 from asp8200/fix_variantrecalibrator
maxulysse May 16, 2023
52dcdc2
remove unnecessary key from the meta map
maxulysse May 17, 2023
81b6043
clean up meta map
maxulysse May 17, 2023
afe882a
Update pipeline overview
adamrtalbot May 22, 2023
5e1d8f4
Revert nextflow.config
adamrtalbot May 22, 2023
088dead
Slight change to format
adamrtalbot May 22, 2023
ee4168c
CHANGELOG
adamrtalbot May 22, 2023
cfd9a74
CHANGELOG
adamrtalbot May 22, 2023
e428d43
Change wording of the pipeline summary...summary
adamrtalbot May 22, 2023
7779dc5
Remove VCF filtering tools
adamrtalbot May 22, 2023
da58f41
Merge pull request #1031 from adamrtalbot/update_pipeline_summary_may_23
maxulysse May 22, 2023
63808c8
update all modules for correct registry usage
maxulysse May 23, 2023
a3ce6e3
update CHANGELOG
maxulysse May 23, 2023
4e8f6d5
Merge branch 'dev' into refactor
maxulysse May 23, 2023
9782871
update CHANGELOG
maxulysse May 23, 2023
5763574
patch dragmap/hashtable
maxulysse May 23, 2023
cbdaaa0
Merge pull request #1012 from maxulysse/refactor
maxulysse May 23, 2023
d550644
update some subworkflows
maxulysse May 23, 2023
2ff90c5
Merge branch 'dev' into update_modules_registry
maxulysse May 23, 2023
24c3249
fix -profile test
maxulysse May 23, 2023
e260c6b
fix deepvariant
maxulysse May 23, 2023
57fff05
fix manta germline subworkflow
maxulysse May 23, 2023
344d5f5
fix bam_convert_samtools subworkflow
maxulysse May 23, 2023
474444e
fix haplotypecaller subworkflow
maxulysse May 23, 2023
4736aa8
remove true in fastp command when trimming
maxulysse May 23, 2023
0f8324f
fix registry for local modules
maxulysse May 23, 2023
e9a1e1f
fix gatk4_md_spark
maxulysse May 24, 2023
7473344
fix deepvariant subworkflow + update md5sum in tests
maxulysse May 24, 2023
afb47d9
fix cram_merge_index_samtools
maxulysse May 24, 2023
b69e0c0
fix several subworfklows
maxulysse May 24, 2023
dce2b7b
fix joint_germline subworkflow
maxulysse May 24, 2023
ad51f69
fix mutect2 subworkflows
maxulysse May 24, 2023
bdae311
use older version of fastp
maxulysse May 24, 2023
3bc3a1d
Merge pull request #1032 from maxulysse/update_modules_registry
maxulysse May 24, 2023
e250080
remove concatenate_vcfs tests with singularity
maxulysse May 25, 2023
cc29ea3
update CHANGELOG
maxulysse May 25, 2023
9b933a1
Merge pull request #1039 from maxulysse/concatenate_singularity
FriederikeHanssen May 25, 2023
7060baa
Merge branch 'dev' into maxulysse-patch-1
maxulysse May 25, 2023
c593339
update CHANGELOG
maxulysse May 25, 2023
e5f9afa
update
maxulysse May 25, 2023
8d9b0d1
remove error strategy for manta/strelka
maxulysse May 25, 2023
1cc3797
update CHANGELOG
maxulysse May 25, 2023
f26f49b
fix dict channel issue when using --dict
maxulysse May 25, 2023
2a9c4df
Merge pull request #1040 from maxulysse/fix_dict_channel
maxulysse May 25, 2023
20d9fff
ADD: vep_custom_args
maxulysse May 25, 2023
e37f67c
fix type
maxulysse May 25, 2023
87b17b6
use proper default value
maxulysse May 25, 2023
d964012
Update nextflow_schema.json
maxulysse May 25, 2023
ccd581b
Update nextflow_schema.json
maxulysse May 25, 2023
ffb4111
Update nextflow_schema.json
maxulysse May 25, 2023
ecbb3a0
Update nextflow_schema.json
maxulysse May 25, 2023
e7e6665
Merge pull request #1041 from maxulysse/custom_vep_args
maxulysse May 26, 2023
111a872
fix typos
maxulysse May 26, 2023
da333db
Merge branch 'dev' into tests_yml
maxulysse May 26, 2023
cfd758f
update CHANGELOG
maxulysse May 26, 2023
fb7ef64
Merge pull request #1043 from maxulysse/tests_yml
maxulysse May 26, 2023
0358f26
Adds public_aws_ecr profile for using ECR hosted images.
adamrtalbot May 26, 2023
f58b9b7
CHANGELOG
adamrtalbot May 26, 2023
08a38c9
fixup
adamrtalbot May 26, 2023
618071b
Merge pull request #1045 from adamrtalbot/public_aws_ecr_profile
adamrtalbot May 26, 2023
94655d2
don't check for tumor/normal and tools distribution if annotation is …
FriederikeHanssen May 29, 2023
00ac069
switch tumor and normal counting to be in sync with samplesheet speci…
FriederikeHanssen May 29, 2023
bf4db87
bams should be bams and crams should be crams
FriederikeHanssen May 29, 2023
9b4ac53
changelog
FriederikeHanssen May 29, 2023
eb037dd
tis a function
FriederikeHanssen May 29, 2023
488bd68
Merge pull request #1048 from FriederikeHanssen/input_val
FriederikeHanssen May 29, 2023
f1deaf3
Disable GATK filters when joint calling
amizeranschi May 30, 2023
6b30ea8
Update CHANGELOG.md
amizeranschi May 30, 2023
f0d2bb6
CHORES: update FASTP
maxulysse May 31, 2023
a5dd933
remove diff file
maxulysse May 31, 2023
01b639f
update samtools/faidx
maxulysse May 31, 2023
8d01cec
Apply suggestions from code review
maxulysse May 31, 2023
6f06b77
Merge pull request #1051 from maxulysse/fastp
maxulysse May 31, 2023
3b7258e
Merge pull request #1050 from amizeranschi/amizeranschi-issue-1025
maxulysse Jun 1, 2023
62f46e4
fix pattern for fasta file
maxulysse Jun 1, 2023
1785d10
update CHANGELOG
maxulysse Jun 1, 2023
c907b16
update CHANGELOG
maxulysse Jun 1, 2023
4ffeea0
bump version to 3.2.0
maxulysse Jun 1, 2023
95c4f44
use biocontainer provided container
maxulysse Jun 1, 2023
ff45cfb
update CHANGELOG
maxulysse Jun 1, 2023
2e52dfb
Update conf/test/test_full.config
maxulysse Jun 1, 2023
b7a3b93
Merge pull request #1058 from maxulysse/registry_update
maxulysse Jun 1, 2023
8593480
Merge branch 'dev' into json_fix
maxulysse Jun 1, 2023
a9741a2
Merge branch 'dev' into maxulysse-patch-1
maxulysse Jun 1, 2023
313480b
update MANTA/STRELKA modules
maxulysse Jun 1, 2023
a5122a0
Merge pull request #1056 from maxulysse/prepare_release
maxulysse Jun 1, 2023
78b47df
Merge pull request #882 from nf-core/maxulysse-patch-1
maxulysse Jun 2, 2023
2848c6d
Merge pull request #1055 from nf-core/json_fix
maxulysse Jun 2, 2023
aca7cdc
don't publish genomicsdb files
FriederikeHanssen Jun 2, 2023
dc9ef27
why, meta map, why?
FriederikeHanssen Jun 2, 2023
f83875d
more views
FriederikeHanssen Jun 2, 2023
460938d
more views
FriederikeHanssen Jun 2, 2023
6dcd29b
use dump
FriederikeHanssen Jun 2, 2023
8637420
use dump
FriederikeHanssen Jun 2, 2023
1153ff7
backtrack [skip ci]
FriederikeHanssen Jun 2, 2023
5d05fe7
more printing [skip ci]
FriederikeHanssen Jun 2, 2023
1e6e48c
more printing [skip ci]
FriederikeHanssen Jun 2, 2023
1128d4a
don't mess with metamap separation [skip ci]
FriederikeHanssen Jun 2, 2023
69d0c5b
turn of groupKey but keep meta [skip ci]
FriederikeHanssen Jun 2, 2023
93d7b18
add ouput [skip ci]
FriederikeHanssen Jun 2, 2023
4766279
fix automatic restart
maxulysse Jun 2, 2023
0a7b08d
update CHANGELOG
maxulysse Jun 2, 2023
3633965
add ouput [skip ci]
FriederikeHanssen Jun 2, 2023
933bddb
Merge pull request #1062 from maxulysse/restart
maxulysse Jun 2, 2023
d2d0580
maybe its the fasta [skip ci]
FriederikeHanssen Jun 2, 2023
a015742
revertc changes [skip ci]
FriederikeHanssen Jun 2, 2023
eae85e7
[skip ci]
FriederikeHanssen Jun 2, 2023
6ab74d0
clean up
FriederikeHanssen Jun 2, 2023
a902307
clean up
FriederikeHanssen Jun 2, 2023
331d6c7
clean up
FriederikeHanssen Jun 2, 2023
cb090b2
fix comment
maxulysse Jun 2, 2023
5e17e25
FIX: join mismatch for annotation
maxulysse Jun 2, 2023
7c83c74
update CHANGELOG
maxulysse Jun 2, 2023
5f73731
clean up
FriederikeHanssen Jun 2, 2023
8d062ed
dumpchannel [skip ci]
FriederikeHanssen Jun 2, 2023
fca2e3f
playaround with single interval
FriederikeHanssen Jun 2, 2023
ba5a227
Merge pull request #1063 from maxulysse/mismatch_join
FriederikeHanssen Jun 2, 2023
d6f1ba6
0 and 1 are in fact not the same
FriederikeHanssen Jun 2, 2023
03f0ef5
Update changelog
FriederikeHanssen Jun 2, 2023
04a563c
Merge branch 'dev' into issue_1035
maxulysse Jun 2, 2023
42dcca3
Apply suggestions from code review
maxulysse Jun 2, 2023
da316a2
Apply suggestions from code review
maxulysse Jun 2, 2023
b8eff3d
Update lib/WorkflowMain.groovy
maxulysse Jun 2, 2023
8aab878
Update docs/usage.md
maxulysse Jun 2, 2023
e284e7c
Merge pull request #1061 from FriederikeHanssen/issue_1035
maxulysse Jun 2, 2023
42566b3
Apply suggestions from code review
maxulysse Jun 5, 2023
7d99bce
Apply suggestions from code review
maxulysse Jun 5, 2023
947a19b
remove Sarek version from images
maxulysse Jun 5, 2023
1c9c4b1
update CHANGELOG
maxulysse Jun 5, 2023
1dee8b3
update CHANGELOG
maxulysse Jun 5, 2023
dc5b2a2
fixoutput docs
FriederikeHanssen Jun 5, 2023
1a17930
Merge pull request #1070 from maxulysse/update_images
FriederikeHanssen Jun 5, 2023
04279f4
Merge pull request #1071 from FriederikeHanssen/release_fixes
maxulysse Jun 5, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 27 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "nfcore",
"image": "nfcore/gitpod:latest",
"remoteUser": "gitpod",

// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"python.defaultInterpreterPath": "/opt/conda/bin/python",
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.formatting.autopep8Path": "/opt/conda/bin/autopep8",
"python.formatting.yapfPath": "/opt/conda/bin/yapf",
"python.linting.flake8Path": "/opt/conda/bin/flake8",
"python.linting.pycodestylePath": "/opt/conda/bin/pycodestyle",
"python.linting.pydocstylePath": "/opt/conda/bin/pydocstyle",
"python.linting.pylintPath": "/opt/conda/bin/pylint"
},

// Add the IDs of extensions you want installed when the container is created.
"extensions": ["ms-python.python", "ms-python.vscode-pylance", "nf-core.nf-core-extensionpack"]
}
}
}
2 changes: 1 addition & 1 deletion .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 Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*.config linguist-language=nextflow
*.nf.test linguist-language=nextflow
modules/nf-core/** linguist-generated
subworkflows/nf-core/** linguist-generated
16 changes: 16 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,19 @@ If you are using a new feature from core Nextflow, you may bump the minimum requ
### Images and figures

For overview images and other documents we follow the nf-core [style guidelines and examples](https://nf-co.re/developers/design_guidelines).

## GitHub Codespaces

This repo includes a devcontainer configuration which will create a GitHub Codespaces for Nextflow development! This is an online developer environment that runs in your browser, complete with VSCode and a terminal.

To get started:

- Open the repo in [Codespaces](https://github.com/nf-core/sarek/codespaces)
- Tools installed
- nf-core
- Nextflow

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. 21.10.3)_
* Nextflow version _(eg. 22.10.1)_
* 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/sarek _(eg. 1.1, 1.5, 1.8.2)_
3 changes: 2 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/sare

- [ ] 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/sarek/tree/master/.github/CONTRIBUTING.md)- [ ] If necessary, also make a PR on the nf-core/sarek _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/sarek/tree/master/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/sarek _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>`).
- [ ] Usage Documentation in `docs/usage.md` is updated.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ 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@v1
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
Expand All @@ -25,7 +25,7 @@ jobs:
{
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/sarek/results-${{ github.sha }}/somatic_test"
}
profiles: test_full,aws_tower
profiles: test_full,public_aws_tower
- uses: actions/upload-artifact@v3
with:
name: Tower debug log file
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/awsfulltest_germline.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: nf-core AWS full size tests somatic
name: nf-core AWS full size tests germline
# This workflow is triggered on published releases.
# It can be additionally triggered manually with GitHub actions workflow dispatch button.
# It runs the -profile 'test_full' on AWS batch
Expand All @@ -8,14 +8,14 @@ on:
types: [published]
workflow_dispatch:
jobs:
run-tower-somatic:
run-tower-germline:
name: Run AWS full tests
if: github.repository == 'nf-core/sarek'
runs-on: ubuntu-latest
steps:
# Launch workflow using Tower CLI tool action
- name: Launch workflow via tower
uses: nf-core/tower-action@v3
uses: seqeralabs/action-tower-launch@v1
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
Expand All @@ -25,4 +25,8 @@ jobs:
{
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/sarek/results-${{ github.sha }}/germline_test"
}
profiles: test_full_somatic,aws_tower
profiles: test_full_germline,aws_tower
- uses: actions/upload-artifact@v3
with:
name: Tower debug log file
path: tower_action_*.log
4 changes: 2 additions & 2 deletions .github/workflows/awstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ 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@v1
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
Expand All @@ -22,7 +22,7 @@ jobs:
{
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/sarek/results-test-${{ github.sha }}"
}
profiles: test,aws_tower
profiles: test,public_aws_tower
- uses: actions/upload-artifact@v3
with:
name: Tower debug log file
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Check PRs
if: github.repository == 'nf-core/sarek'
run: |
{ [[ ${{github.event.pull_request.head.repo.full_name }} == nf-core/sarek ]] && [[ $GITHUB_HEAD_REF = "dev" ]]; } || [[ $GITHUB_HEAD_REF == "patch" ]]
{ [[ ${{github.event.pull_request.head.repo.full_name }} == nf-core/sarek ]] && [[ $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
Expand Down
44 changes: 36 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,26 +23,54 @@ jobs:
fail-fast: false
matrix:
NXF_VER:
- "21.10.3"
- "22.10.1"
- "latest-everything"
test:
- "default"
profile: ["docker", "singularity", "conda"]
exclude:
- NXF_VER: "latest-everything"
profile: "conda"
profile: ["docker", "singularity"]
# profile: ["docker", "singularity", "conda"]
env:
NXF_ANSI_LOG: false
TEST_DATA_BASE: "${{ github.workspace }}/test-datasets"
steps:
- name: Check out pipeline code
uses: actions/checkout@v3

- name: Hash Github Workspace
id: hash_workspace
run: |
echo "digest=$(echo sarek3_${{ github.workspace }} | md5sum | cut -c 1-25)" >> $GITHUB_OUTPUT

- name: Cache test data
id: cache-testdata
uses: actions/cache@v3
with:
path: test-datasets/
key: ${{ steps.hash_workspace.outputs.digest }}

- name: Check out test data
if: steps.cache-testdata.outputs.cache-hit != 'true'
uses: actions/checkout@v3
with:
repository: nf-core/test-datasets
ref: sarek3
path: test-datasets/

- name: Replace remote paths in samplesheets
run: |
for f in tests/csv/3.0/*csv; do
sed -i "s=https://raw.githubusercontent.com/nf-core/test-datasets/modules/=${{ github.workspace }}/test-datasets/=g" $f
echo "========== $f ============"
cat $f
echo "========================================"
done;

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
Expand All @@ -52,15 +80,15 @@ jobs:
- name: Install Python dependencies
run: python -m pip install --upgrade pip pytest-workflow

- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: /usr/local/bin/nextflow
key: ${{ runner.os }}
restore-keys: |
${{ runner.os }}-nextflow-

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

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@v7
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 }}"
6 changes: 3 additions & 3 deletions .github/workflows/fix-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.nf_core_bot_auth_token }}

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3

- name: Install Prettier
run: npm install -g prettier @prettier/plugin-php
Expand All @@ -34,9 +34,9 @@ jobs:
id: prettier_status
run: |
if prettier --check ${GITHUB_WORKSPACE}; then
echo "::set-output name=result::pass"
echo "result=pass" >> $GITHUB_OUTPUT
else
echo "::set-output name=result::fail"
echo "result=fail" >> $GITHUB_OUTPUT
fi

- name: Run 'prettier --write'
Expand Down
20 changes: 11 additions & 9 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ name: nf-core linting
# that the code meets the nf-core guidelines.
on:
push:
branches:
- dev
pull_request:
release:
types: [published]
Expand All @@ -12,9 +14,9 @@ jobs:
EditorConfig:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3

- name: Install editorconfig-checker
run: npm install -g editorconfig-checker
Expand All @@ -25,9 +27,9 @@ jobs:
Prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3

- name: Install Prettier
run: npm install -g prettier
Expand All @@ -38,7 +40,7 @@ jobs:
PythonBlack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Check code lints with Black
uses: psf/black@stable
Expand Down Expand Up @@ -69,14 +71,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check out pipeline code
uses: actions/checkout@v2
uses: actions/checkout@v3

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

- uses: actions/setup-python@v3
- uses: actions/setup-python@v4
with:
python-version: "3.7"
python-version: "3.8"
architecture: "x64"

- name: Install dependencies
Expand All @@ -97,7 +99,7 @@ jobs:

- name: Upload linting log file artifact
if: ${{ always() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
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 @@ -18,7 +18,7 @@ jobs:

- name: Get PR number
id: pr_number
run: echo "::set-output name=pr_number::$(cat linting-logs/PR_number.txt)"
run: echo "pr_number=$(cat linting-logs/PR_number.txt)" >> $GITHUB_OUTPUT

- name: Post PR comment
uses: marocchino/sticky-pull-request-comment@v2
Expand Down