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.0.0 #528

Merged
merged 581 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
581 commits
Select commit Hold shift + click to select a range
a2e6812
Merge pull request #470 from genomic-medicine-sweden/fixes
jemten Jan 10, 2024
7fc6df5
Merge branch 'dev' into add-retroseq-to-pipeline
jemten Jan 10, 2024
9c178a1
bring back a few lines that was commented out
jemten Jan 10, 2024
30c8b83
add bwa
ramprasadn Jan 11, 2024
88a8e46
update config
ramprasadn Jan 11, 2024
130a968
Merge branch 'dev' of github.com:nf-core/raredisease into bwamem
ramprasadn Jan 11, 2024
b0d1f1f
update docs
ramprasadn Jan 11, 2024
0d24dbf
fix lint
ramprasadn Jan 11, 2024
0809a40
Change hardcoded platform value to params.platform
alkc Jan 11, 2024
a8b62e9
Update Changelog
alkc Jan 11, 2024
829282e
review suggestions and switch fai to chromsizes
ramprasadn Jan 11, 2024
d07e61a
Merge branch 'dev' of github.com:nf-core/raredisease into found_by
ramprasadn Jan 11, 2024
a64bd13
Update lib/WorkflowRaredisease.groovy
jemten Jan 11, 2024
9564c64
add meta2 and meta3 to retroseq_call meta.yml
jemten Jan 11, 2024
9bc4827
adds schema for svdb query inputs
jemten Jan 11, 2024
01a8313
Document order of chr in refrence genome
jemten Jan 11, 2024
97be745
review suggestion
ramprasadn Jan 11, 2024
1b3c094
Merge pull request #471 from genomic-medicine-sweden/found_by
ramprasadn Jan 11, 2024
f1146d0
Merge branch 'dev' into svdb_query_schema
ramprasadn Jan 11, 2024
d07ddd6
Merge branch 'dev' into fix-hardcoded-platform
ramprasadn Jan 12, 2024
e5734fc
Merge pull request #475 from alkc/fix-hardcoded-platform
ramprasadn Jan 12, 2024
4b548af
Merge branch 'dev' into svdb_query_schema
jemten Jan 12, 2024
d18570a
Merge pull request #476 from genomic-medicine-sweden/svdb_query_schema
jemten Jan 12, 2024
cbd9a24
Merge branch 'dev' into bwamem
ramprasadn Jan 12, 2024
d99a8d9
Merge branch 'dev' into add-retroseq-to-pipeline
jemten Jan 12, 2024
e1963fb
Fix for getting chr sizes when fai is given
jemten Jan 12, 2024
7dea02a
Merge pull request #474 from genomic-medicine-sweden/bwamem
ramprasadn Jan 12, 2024
615039f
Merge branch 'dev' into fixing_order
ramprasadn Jan 15, 2024
425863d
updating usage
jemten Jan 15, 2024
71a25b2
Merge branch 'dev' into add-retroseq-to-pipeline
jemten Jan 15, 2024
2dbd6ea
Merge pull request #479 from genomic-medicine-sweden/fixing_order
jemten Jan 15, 2024
967b7de
Merge branch 'dev' into add-retroseq-to-pipeline
jemten Jan 15, 2024
4158741
Merge pull request #440 from genomic-medicine-sweden/add-retroseq-to-…
ramprasadn Jan 15, 2024
1aed730
fix number of me channels
jemten Jan 16, 2024
e671a81
Merge pull request #481 from nf-core/fix_me_calling_size
jemten Jan 16, 2024
088a94d
update vep
ramprasadn Jan 16, 2024
9434630
update usage
ramprasadn Jan 16, 2024
6ca6fcd
Merge branch 'dev' of github.com:nf-core/raredisease into vep_update
ramprasadn Jan 16, 2024
dc4e176
update changelog
ramprasadn Jan 16, 2024
de9ff79
fix lint error
ramprasadn Jan 16, 2024
3ee9fed
fix lint error
ramprasadn Jan 16, 2024
0986785
adding mobil element annotation
jemten Jan 18, 2024
338186d
adding test data and updating parameter name
jemten Jan 18, 2024
5ed33f6
update changelog and add skip option
jemten Jan 18, 2024
33fb5e0
prettier on changelog
jemten Jan 18, 2024
252bb25
prettier on devcontainer.jsonwq
jemten Jan 18, 2024
3b096e3
updating documentation
jemten Jan 18, 2024
d14976b
Apply suggestions from code review
jemten Jan 19, 2024
d36de29
Merge pull request #483 from genomic-medicine-sweden/me_anno
jemten Jan 19, 2024
50ab4a4
Merge branch 'dev' of github.com:nf-core/raredisease into vep_update
ramprasadn Jan 20, 2024
76fb0d4
merge me
ramprasadn Jan 20, 2024
8b14cd9
add rtgtools
ramprasadn Jan 20, 2024
da1855f
vcfeval
ramprasadn Jan 21, 2024
2559c22
add format
ramprasadn Jan 21, 2024
681885d
rtg format
ramprasadn Jan 21, 2024
e64f431
add sdf
ramprasadn Jan 21, 2024
4c6851e
update module
ramprasadn Jan 22, 2024
ab36f9b
refactoring clinical research split
jemten Jan 22, 2024
a1e1950
update changelogwq
jemten Jan 22, 2024
1b1d6a1
review suggestions
ramprasadn Jan 22, 2024
f1b75d4
Apply suggestions from code review
ramprasadn Jan 22, 2024
c397a04
Merge pull request #482 from genomic-medicine-sweden/vep_update
jemten Jan 22, 2024
a8122a5
Merge branch 'dev' of github.com:genomic-medicine-sweden/raredisease …
jemten Jan 22, 2024
101a1cf
Merge branch 'dev' into rtgtools
jemten Jan 24, 2024
778c54e
review suggestions + updates
ramprasadn Jan 24, 2024
1b7ba7f
add versions
ramprasadn Jan 24, 2024
74200cb
Merge branch 'rtgtools' of github.com:genomic-medicine-sweden/raredis…
ramprasadn Jan 24, 2024
db3d45a
fix error
ramprasadn Jan 24, 2024
2427ddc
modules updaate
ramprasadn Jan 24, 2024
539a739
Merge pull request #484 from genomic-medicine-sweden/rtgtools
ramprasadn Jan 25, 2024
2598092
modify RG construction
ramprasadn Jan 25, 2024
f086c5b
Merge branch 'dev' into changeplatform
ramprasadn Jan 25, 2024
106ad82
Merge pull request #487 from genomic-medicine-sweden/changeplatform
ramprasadn Jan 25, 2024
04079e0
update modules
ramprasadn Jan 25, 2024
cb91dc8
Merge branch 'dev' of github.com:nf-core/raredisease into update_modules
ramprasadn Jan 25, 2024
38340ba
update subworkflows
ramprasadn Jan 25, 2024
2b76d6b
fix lint
ramprasadn Jan 25, 2024
d198637
Merge branch 'dev' of github.com:genomic-medicine-sweden/raredisease …
jemten Jan 25, 2024
c9d8960
updates output documentation
jemten Jan 25, 2024
2f03e77
Merge branch 'dev' into filter_vep_fix
jemten Jan 25, 2024
9c7d04e
fixing review comments
jemten Jan 25, 2024
d244293
Merge pull request #485 from genomic-medicine-sweden/filter_vep_fix
jemten Jan 26, 2024
76390a0
Merge branch 'dev' into update_modules
jemten Jan 26, 2024
2be203d
Merge pull request #488 from genomic-medicine-sweden/update_modules
ramprasadn Jan 26, 2024
e6973d7
update schema
ramprasadn Jan 27, 2024
2ec7cf1
refactor
ramprasadn Jan 29, 2024
a78b52c
fix vepvep configs
Jan 29, 2024
e6e7519
Merge branch 'dev' into vep_pli_update
Lucpen Jan 29, 2024
0467013
Template update for nf-core/tools version 2.12
nf-core-bot Jan 29, 2024
17860c9
fix input channel for vcf2cytosure subworkflow
jemten Jan 29, 2024
1fb1d91
add genomecov
ramprasadn Jan 29, 2024
d886841
Merge branch 'minor-fixes' into subsample_mt
ramprasadn Jan 30, 2024
8c32fe1
add subsample_mt
ramprasadn Jan 30, 2024
ef10010
Merge branch 'TEMPLATE' of github.com:nf-core/raredisease into templa…
ramprasadn Jan 30, 2024
b434944
fix few lint errors
ramprasadn Jan 30, 2024
d3942a5
Apply suggestions from code review
Lucpen Jan 30, 2024
24afea9
Apply suggestions from code review
Lucpen Jan 30, 2024
0a44420
fix pre-commit
ramprasadn Jan 30, 2024
bbc94c0
update expansionhunter
ramprasadn Jan 30, 2024
ea5d372
cnvnator patch
ramprasadn Jan 31, 2024
ed71e16
update changelog
ramprasadn Jan 31, 2024
6140c3c
remove stageinmode
ramprasadn Jan 31, 2024
2869cc5
update stub
ramprasadn Jan 31, 2024
839f430
Merge pull request #501 from genomic-medicine-sweden/template_branch
jemten Jan 31, 2024
85efaa5
Merge branch 'dev' into vep_pli_update
jemten Jan 31, 2024
0e7fce4
Merge branch 'dev' into fix_input_vcf2cytosure
jemten Jan 31, 2024
772c610
update cadd config
ramprasadn Jan 31, 2024
4874b05
Merge branch 'dev' of github.com:nf-core/raredisease into minor-fixes
ramprasadn Jan 31, 2024
c1bbb9c
Merge pull request #491 from genomic-medicine-sweden/vep_pli_update
jemten Jan 31, 2024
217780b
fix case_channel construction
ramprasadn Jan 31, 2024
74458c1
Merge branch 'dev' into minor-fixes
ramprasadn Jan 31, 2024
45ad1d8
Merge pull request #490 from genomic-medicine-sweden/minor-fixes
ramprasadn Jan 31, 2024
80adbbb
Merge branch 'dev' into fix_input_vcf2cytosure
ramprasadn Jan 31, 2024
dc369a1
Merge branch 'dev' of github.com:nf-core/raredisease into expansionhu…
ramprasadn Jan 31, 2024
682d6ed
Merge pull request #500 from nf-core/fix_input_vcf2cytosure
ramprasadn Jan 31, 2024
c530f9d
Merge branch 'dev' into cnvnator-test
ramprasadn Jan 31, 2024
6c1962d
Merge pull request #503 from genomic-medicine-sweden/cnvnator-test
ramprasadn Jan 31, 2024
8f8f41d
review suggestion
ramprasadn Jan 31, 2024
a4b5ee1
Merge branch 'dev' of github.com:nf-core/raredisease into expansionhu…
ramprasadn Jan 31, 2024
3e0b193
Merge pull request #502 from genomic-medicine-sweden/expansionhunter
ramprasadn Jan 31, 2024
a6093f4
update docs
ramprasadn Jan 31, 2024
267c4f6
Merge branch 'dev' into expansionhunter
ramprasadn Jan 31, 2024
0beb846
Merge pull request #504 from genomic-medicine-sweden/expansionhunter
ramprasadn Jan 31, 2024
a51428a
chromograph viz
ramprasadn Jan 31, 2024
88b1035
local module
ramprasadn Jan 31, 2024
1a3db63
update changelog
ramprasadn Jan 31, 2024
4a2daef
Merge branch 'dev' of github.com:nf-core/raredisease into subsample_mt
ramprasadn Jan 31, 2024
06c211f
Update CHANGELOG.md
ramprasadn Feb 1, 2024
9f72dc4
Update modules/local/add_varcallername_to_bed.nf
ramprasadn Feb 1, 2024
bed0a9a
update modules
ramprasadn Feb 1, 2024
faf45a3
update modules
ramprasadn Feb 1, 2024
f85072b
Merge pull request #505 from genomic-medicine-sweden/varcallerbed
ramprasadn Feb 1, 2024
3251b57
Merge branch 'dev' into modules_update
ramprasadn Feb 1, 2024
32c518d
Merge pull request #506 from genomic-medicine-sweden/modules_update
ramprasadn Feb 1, 2024
ff858d7
update chromograph
ramprasadn Feb 1, 2024
0b18299
Merge branch 'dev' into chromograph_viz
ramprasadn Feb 1, 2024
ad9ee32
Merge branch 'dev' of github.com:nf-core/raredisease into subsample_mt
ramprasadn Feb 1, 2024
f814060
add subsample
ramprasadn Feb 2, 2024
c05325a
fix return
ramprasadn Feb 2, 2024
4aa778d
add params
ramprasadn Feb 2, 2024
05be462
update conditional
ramprasadn Feb 2, 2024
a722bc1
update changelog
ramprasadn Feb 2, 2024
1f4368d
update changelog
ramprasadn Feb 2, 2024
b1f0c84
update output docs
ramprasadn Feb 2, 2024
4942bde
Merge pull request #507 from genomic-medicine-sweden/chromograph_viz
ramprasadn Feb 2, 2024
0273a37
chromograph viz
ramprasadn Jan 31, 2024
8e39cb8
update chromograph
ramprasadn Feb 1, 2024
c18ee8e
update changelog
ramprasadn Feb 2, 2024
e50e30c
update output docs
ramprasadn Feb 2, 2024
a9c3d9c
update changelog
ramprasadn Feb 2, 2024
fca0ac6
review suggestions
ramprasadn Feb 2, 2024
e5679bb
Merge branch 'dev' into subsample_mt
ramprasadn Feb 2, 2024
cf6c313
fix lint error
ramprasadn Feb 2, 2024
561bdcc
Merge pull request #508 from genomic-medicine-sweden/subsample_mt
ramprasadn Feb 2, 2024
73729cf
add two params
ramprasadn Feb 2, 2024
1ea4ba1
update changelog and docs
ramprasadn Feb 2, 2024
66194d6
prettier
ramprasadn Feb 2, 2024
c7fe536
remove whitespace
ramprasadn Feb 2, 2024
083cf77
add vep_filters_scout_fmt
ramprasadn Feb 4, 2024
ceff48f
add subsample skip to configs
ramprasadn Feb 4, 2024
7da3f2d
update file path
ramprasadn Feb 4, 2024
41349cf
Free space step in ci.yaml
ramprasadn Feb 4, 2024
bc1c856
Merge pull request #510 from genomic-medicine-sweden/feat/twovarconseq
ramprasadn Feb 5, 2024
16710f8
Merge branch 'dev' of github.com:nf-core/raredisease into filtervep-o…
ramprasadn Feb 5, 2024
8d120cd
add rhocall_viz
ramprasadn Feb 5, 2024
6e4ee90
output docs
ramprasadn Feb 5, 2024
fb2529f
add bcftools view
ramprasadn Feb 6, 2024
70edfa3
add rhocall_viz
ramprasadn Feb 6, 2024
a0d17cd
Merge branch 'dev' into rhocall_viz
ramprasadn Feb 6, 2024
41221fd
Update CHANGELOG.md
ramprasadn Feb 7, 2024
f6d4d6b
Update nextflow_schema.json
ramprasadn Feb 7, 2024
e8ac075
Merge pull request #511 from genomic-medicine-sweden/filtervep-options
ramprasadn Feb 7, 2024
d187765
Merge branch 'dev' into rhocall_viz
ramprasadn Feb 7, 2024
dd2dd7e
fix errors
ramprasadn Feb 7, 2024
8178f32
update config
ramprasadn Feb 7, 2024
c2237fe
Merge pull request #512 from genomic-medicine-sweden/rhocall_viz
ramprasadn Feb 8, 2024
f10869b
alignment
ramprasadn Feb 11, 2024
04af72a
call sv
ramprasadn Feb 12, 2024
55edd59
updating gens subworkflow
jemten Feb 13, 2024
0abbb65
fixing linting
jemten Feb 13, 2024
12c5382
splited gens_pon in gens_pon_male and gens_pon_female
jemten Feb 13, 2024
63bcbc1
fix publishing of gens outfiles
jemten Feb 13, 2024
a91c4b4
Add error message when trying to run gens with conda
jemten Feb 13, 2024
8e0935e
add usage
jemten Feb 13, 2024
8812ea7
adding gens output description
jemten Feb 13, 2024
0793a2c
add citation
jemten Feb 13, 2024
48cf0b3
aligning comments
jemten Feb 14, 2024
27f0aae
Merge pull request #515 from genomic-medicine-sweden/gens_update
jemten Feb 14, 2024
b4808d5
standardized output file names
ramprasadn Feb 14, 2024
6309213
Merge branch 'dev' of github.com:nf-core/raredisease into rename_outputs
ramprasadn Feb 14, 2024
2d3982c
update mt_delsuffix
ramprasadn Feb 16, 2024
62d5ae7
update docs
ramprasadn Feb 16, 2024
3099751
review suggestions
ramprasadn Feb 16, 2024
6e04808
Merge pull request #516 from genomic-medicine-sweden/rename_outputs
ramprasadn Feb 16, 2024
39a1400
Template update for nf-core/tools version 2.13
nf-core-bot Feb 20, 2024
e1d37e0
Merge branch 'nf-core-template-merge-2.13' of github.com:nf-core/rare…
ramprasadn Feb 20, 2024
0e10aec
update modules.json
ramprasadn Feb 20, 2024
b8b151d
move function to utils
ramprasadn Feb 21, 2024
72b6fc4
update ci
ramprasadn Feb 21, 2024
071951a
Merge pull request #518 from genomic-medicine-sweden/template-update
ramprasadn Feb 21, 2024
9a751d6
vcf2cytosure rename samples
ramprasadn Feb 28, 2024
1d3b525
update config
ramprasadn Feb 28, 2024
6c0a241
add rename_align_files
ramprasadn Feb 28, 2024
82fbae9
chromograph autozyg
ramprasadn Feb 29, 2024
e44865e
add args
ramprasadn Feb 29, 2024
9151e48
Merge pull request #524 from genomic-medicine-sweden/split-multiallel…
ramprasadn Feb 29, 2024
e280515
Merge branch 'dev' into autozyg
ramprasadn Feb 29, 2024
7bf014f
Merge pull request #523 from genomic-medicine-sweden/autozyg
ramprasadn Feb 29, 2024
34c2cfd
Merge branch 'dev' into smncopynumber-update
ramprasadn Feb 29, 2024
7e004ad
Merge pull request #522 from genomic-medicine-sweden/smncopynumber-up…
ramprasadn Feb 29, 2024
ae3307b
Template update for nf-core/tools version 2.13.1
nf-core-bot Feb 29, 2024
752ad5e
Merge branch 'dev' of github.com:nf-core/raredisease into vcf2cytosur…
ramprasadn Feb 29, 2024
a7ef5c9
review suggestion
ramprasadn Mar 1, 2024
56b9dc8
Merge branch 'dev' into nf-core-template-merge-2.13.1
ramprasadn Mar 1, 2024
7edad86
update files unchanged
ramprasadn Mar 1, 2024
653623c
Merge pull request #525 from nf-core/nf-core-template-merge-2.13.1
ramprasadn Mar 1, 2024
4f088f3
Merge branch 'dev' into vcf2cytosurerename
ramprasadn Mar 1, 2024
4f02eb0
Merge pull request #521 from genomic-medicine-sweden/vcf2cytosurerename
ramprasadn Mar 1, 2024
ccfa0aa
modules update
ramprasadn Mar 4, 2024
d0b184f
address warnings
ramprasadn Mar 4, 2024
595de0e
update zenodo
ramprasadn Mar 4, 2024
9b7e402
fix lint
ramprasadn Mar 4, 2024
fffc702
module update
ramprasadn Mar 4, 2024
d28ae5d
Merge pull request #526 from genomic-medicine-sweden/modules_update
ramprasadn Mar 4, 2024
22ee340
bump version
ramprasadn Mar 4, 2024
2c449af
update changelog
ramprasadn Mar 5, 2024
7ff5140
Update CHANGELOG.md
ramprasadn Mar 5, 2024
d3d4733
Merge pull request #527 from genomic-medicine-sweden/release-prep
ramprasadn Mar 5, 2024
e556cd7
test
ramprasadn Mar 5, 2024
d18a68a
change test branch
ramprasadn Mar 5, 2024
5d794d7
Update download_pipeline.yml
ramprasadn Mar 6, 2024
c387ac1
Merge pull request #529 from nf-core/test-download
ramprasadn Mar 6, 2024
0aeb546
review suggestions
ramprasadn Mar 7, 2024
e65e635
schema update
ramprasadn Mar 7, 2024
f06a9ac
fix typo
ramprasadn Mar 7, 2024
37d0f00
update customfunctions
ramprasadn Mar 7, 2024
51b4c52
update changelog
ramprasadn Mar 7, 2024
9f1d5bf
update config
ramprasadn Mar 7, 2024
43d3076
fix errors
ramprasadn Mar 7, 2024
48e8cf0
update maps
ramprasadn Mar 7, 2024
1353e06
fix?
ramprasadn Mar 11, 2024
c1d7666
fix lint
ramprasadn Mar 11, 2024
bc8c70b
Merge pull request #530 from genomic-medicine-sweden/parameter-resolu…
ramprasadn Mar 12, 2024
dc7610f
fix reduce_input
ramprasadn Mar 12, 2024
7b40c58
remove TODO
ramprasadn Mar 12, 2024
4f198f2
citations
ramprasadn Mar 13, 2024
8b75be3
remove getGenomeAttributes from subworkflow
ramprasadn Mar 13, 2024
f11aff2
add peddy
ramprasadn Mar 14, 2024
f607fae
fix s3 issue
ramprasadn Mar 14, 2024
b7af9ff
review suggestions
ramprasadn Mar 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 2 additions & 9 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,15 @@
"name": "nfcore",
"image": "nfcore/gitpod:latest",
"remoteUser": "gitpod",
"runArgs": ["--privileged"],

// 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"
"python.defaultInterpreterPath": "/opt/conda/bin/python"
},

// Add the IDs of extensions you want installed when the container is created.
Expand Down
15 changes: 14 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
9 changes: 8 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ 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 ;)

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

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

## Tests

You have the option to test your changes locally by running the pipeline. For receiving warnings about process selectors and other `debug` information, it is recommended to use the debug profile. Execute all the tests with the following command:

```bash
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 @@ -85,7 +92,7 @@ Once there, use `nf-core schema build` to add to `nextflow_schema.json`.

Sensible defaults for process resource requirements (CPUs / memory / time) for a process should be defined in `conf/base.config`. These should generally be specified generic with `withLabel:` selectors so they can be shared across multiple processes/steps of the pipeline. A nf-core standard set of labels that should be followed where possible can be seen in the [nf-core pipeline template](https://github.com/nf-core/tools/blob/master/nf_core/pipeline-template/conf/base.config), which has the default process as a single core-process, and then different levels of multi-core configurations for increasingly large memory requirements defined with standardised labels.

The process resources can be passed on to the tool dynamically within the process with the `${task.cpu}` and `${task.memory}` variables in the `script:` block.
The process resources can be passed on to the tool dynamically within the process with the `${task.cpus}` and `${task.memory}` variables in the `script:` block.

### Naming schemes

Expand Down
1 change: 1 addition & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/rare
- [ ] Make sure your code lints (`nf-core lint`).
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
- [ ] Ensure the test suite passes (`nextflow run . -profile test_one_sample,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
2 changes: 1 addition & 1 deletion .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
}
profiles: test_full

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Tower debug log file
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/awstest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
}
profiles: test

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: Tower debug log file
path: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
# 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
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,16 @@ jobs:
- "-profile test_one_sample,docker"
steps:
- name: Check out pipeline code
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

- name: Install Nextflow
uses: nf-core/setup-nextflow@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} ${{ matrix.parameters }} -stub --outdir ./results
2 changes: 1 addition & 1 deletion .github/workflows/clean-up.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v7
- 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."
Expand Down
75 changes: 75 additions & 0 deletions .github/workflows/download_pipeline.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
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@v1

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

- 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
asp8200 marked this conversation as resolved.
Show resolved Hide resolved
72 changes: 53 additions & 19 deletions .github/workflows/fix-linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
types: [created]

jobs:
deploy:
fix-linting:
# Only run if comment is on a PR with the main repo, and if it contains the magic keywords
if: >
contains(github.event.comment.html_url, '/pull/') &&
Expand All @@ -13,43 +13,77 @@ jobs:
runs-on: ubuntu-latest
steps:
# Use the @nf-core-bot token to check out so we can push later
- uses: actions/checkout@v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
token: ${{ secrets.nf_core_bot_auth_token }}

# indication that the linting is being fixed
- name: React on comment
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
with:
comment-id: ${{ github.event.comment.id }}
reactions: eyes

# Action runs on the issue comment, so we don't get the PR by default
# Use the gh cli to check out the PR
- name: Checkout Pull Request
run: gh pr checkout ${{ github.event.issue.number }}
env:
GITHUB_TOKEN: ${{ secrets.nf_core_bot_auth_token }}

- uses: actions/setup-node@v3
# Install and run pre-commit
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5
with:
python-version: 3.11

- name: Install Prettier
run: npm install -g prettier @prettier/plugin-php
- name: Install pre-commit
run: pip install pre-commit

# Check that we actually need to fix something
- name: Run 'prettier --check'
id: prettier_status
run: |
if prettier --check ${GITHUB_WORKSPACE}; then
echo "result=pass" >> $GITHUB_OUTPUT
else
echo "result=fail" >> $GITHUB_OUTPUT
fi
- name: Run pre-commit
id: pre-commit
run: pre-commit run --all-files
continue-on-error: true

- name: Run 'prettier --write'
if: steps.prettier_status.outputs.result == 'fail'
run: prettier --write ${GITHUB_WORKSPACE}
# indication that the linting has finished
- name: react if linting finished succesfully
if: steps.pre-commit.outcome == 'success'
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
with:
comment-id: ${{ github.event.comment.id }}
reactions: "+1"

- name: Commit & push changes
if: steps.prettier_status.outputs.result == 'fail'
id: commit-and-push
if: steps.pre-commit.outcome == 'failure'
run: |
git config user.email "[email protected]"
git config user.name "nf-core-bot"
git config push.default upstream
git add .
git status
git commit -m "[automated] Fix linting with Prettier"
git commit -m "[automated] Fix code linting"
git push

- name: react if linting errors were fixed
id: react-if-fixed
if: steps.commit-and-push.outcome == 'success'
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
with:
comment-id: ${{ github.event.comment.id }}
reactions: hooray

- name: react if linting errors were not fixed
if: steps.commit-and-push.outcome == 'failure'
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
with:
comment-id: ${{ github.event.comment.id }}
reactions: confused

- name: react if linting errors were not fixed
if: steps.commit-and-push.outcome == 'failure'
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4
with:
issue-number: ${{ github.event.issue.number }}
body: |
@${{ github.actor }} I tried to fix the linting errors, but it didn't work. Please fix them manually.
See [CI log](https://github.com/nf-core/raredisease/actions/runs/${{ github.run_id }}) for more details.
Loading
Loading