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

Added Minimap2 alignment #1459

Closed
wants to merge 257 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
257 commits
Select commit Hold shift + click to select a range
06b7847
Template update for nf-core/tools version 2.13
Apr 25, 2024
6b4f962
fix dead link
allaway Feb 7, 2024
6e45cfc
add back dropped parens
allaway Feb 7, 2024
b737293
updating to samtools v1.19.2 in SAMTOOLS_VIEW
asp8200 Feb 15, 2024
ed29b16
updating to samtools v1.19.2 in SAMTOOLS_STATS
asp8200 Feb 15, 2024
ed04f9d
updating to samtools v1.19.2 in samtools mpileup
asp8200 Feb 15, 2024
6ec96e6
fasta_fai should be a single entity
maxulysse Feb 13, 2024
1e29564
use baseName over simpleName to keep the dot
maxulysse Feb 13, 2024
af0d2f7
forgot some conf files
maxulysse Feb 13, 2024
8998b9f
update CHANGELOG
maxulysse Feb 13, 2024
575882c
fix simpleName to baseName in subworkflows too
maxulysse Feb 14, 2024
7c5c968
this is fixed by another PR
Apr 25, 2024
9502d44
Updating nf-module with samtools-view
asp8200 Feb 15, 2024
102d94a
Temporarily exclude nf-test of samtools/mpileup
asp8200 Feb 15, 2024
c41f27d
updating to samtools v1.19.2 in samtools merge module
asp8200 Feb 15, 2024
3edee57
updating to samtools v1.19.2 in samtools index module
asp8200 Feb 16, 2024
41b2e70
updating to samtools v1.19.2 in samtools faidx module
asp8200 Feb 16, 2024
f8b4415
updating to samtools v1.19.2 in samtools convert module
asp8200 Feb 16, 2024
88b652e
Adding meta to input channels fasta and fai for calls to SAMTOOLS_CON…
asp8200 Feb 16, 2024
01283bf
updating to samtools v1.19.2 in samtools collatefastq module
asp8200 Feb 16, 2024
56057c1
updating to samtools v1.19.2 in samtools bam2fq module
asp8200 Feb 16, 2024
a01664a
Update test.config
maxulysse Feb 15, 2024
eef144c
update triggered tests
maxulysse Feb 16, 2024
eed3d8f
forgot join_germline
maxulysse Feb 16, 2024
163412e
update CHANGELOG
maxulysse Feb 16, 2024
22fa02e
Updating changelog
asp8200 Feb 16, 2024
e9b4181
Update CHANGELOG.md
asp8200 Feb 16, 2024
18dfb45
Adding samtools-update to Dependencies table
asp8200 Feb 16, 2024
b85121a
Updating module SVDB_MERGE to samtools v1.19.2
asp8200 Feb 16, 2024
032f7b4
Trying to fix test
asp8200 Feb 16, 2024
05c24cc
again
asp8200 Feb 16, 2024
3e7d40f
again
asp8200 Feb 16, 2024
746e42d
Fixing path to test data
asp8200 Feb 16, 2024
66b54cd
Trying to re-establish suffix in names of output from SVDB_MERGE
asp8200 Feb 19, 2024
96a0aea
Updating module SAMBLASTER to samtools v1.19.2
asp8200 Feb 19, 2024
a7b67bb
Updating svdb/merge
asp8200 Feb 19, 2024
d50ed41
Updating module BWA_MEM to samtools v1.19.2
asp8200 Feb 19, 2024
4491723
Updating module BWAMEM2/MEM to samtools v1.19.2
asp8200 Feb 19, 2024
e6f5d88
Updating CNVKIT/ANTITARGET
asp8200 Feb 19, 2024
0b6756b
Fixing path to test data
asp8200 Feb 19, 2024
eb28809
Fixing more paths to testdata
asp8200 Feb 19, 2024
9462061
Temporarily disabling nf-test bwamem2/mem
asp8200 Feb 20, 2024
adb0af9
Removing redundant samtools from environment.yml for cnvkit/genemetri…
asp8200 Feb 20, 2024
153f311
Updating module CNVKIT_BATCH to samtools v1.19.2
asp8200 Feb 20, 2024
a50da17
Updating to samtools v1.19.2 in module DRAGMAP_ALIGN
asp8200 Feb 20, 2024
53f953c
Updating changelog
asp8200 Feb 20, 2024
c9eecd9
Where is Edmund?
maxulysse Feb 19, 2024
b02a228
ignore test
maxulysse Feb 21, 2024
928110d
Update ci.yml
maxulysse Feb 15, 2024
0cfae15
trigger CI-tests for joint_germline
asp8200 Feb 22, 2024
e587040
Removing temporary tags
asp8200 Feb 22, 2024
e5a1457
Adjusting docker.runOptions to accommodate for GATK Spark
asp8200 Feb 22, 2024
e45ff6e
Adding temporary tags to trigger tests
asp8200 Feb 22, 2024
3a13533
Update nextflow.config
maxulysse Feb 23, 2024
03e26a3
Update nextflow.config
maxulysse Feb 23, 2024
bf72d74
Apply suggestions from code review
maxulysse Feb 23, 2024
f27ccb1
Update CHANGELOG.md
maxulysse Feb 23, 2024
47b3b58
updating gatk/haplotypecaller
asp8200 Feb 22, 2024
bad47e6
Temporarily disabling nf-test for gatk/haplotypecaller
asp8200 Feb 22, 2024
45c6ec4
Temporarily disabling nf-test for gatk4/haplotypecaller
asp8200 Feb 22, 2024
65e90cd
updating gatk4/applybqsr and gatk4/applyvqsr
asp8200 Feb 22, 2024
430e30f
Removing redundant input-channel dbsnp_vqsr from BAM_VARIANT_CALLING_…
asp8200 Feb 22, 2024
8fa23a9
updating gatk4/baserecalibrator
asp8200 Feb 22, 2024
c61f931
Temporarily disabling nf-test for gatk4/baserecalibrator
asp8200 Feb 22, 2024
b490d02
updating gatk4/calculatecontamination
asp8200 Feb 22, 2024
9c453ab
updating gatk4/cnnscorevariants
asp8200 Feb 22, 2024
0e540ff
updating gatk4/createsequencedictionary
asp8200 Feb 22, 2024
a384a0c
updating gatk4/estimatelibrarycomplexity
asp8200 Feb 22, 2024
86b75aa
updating gatk4/filtermutectcalls
asp8200 Feb 22, 2024
d6d04cc
updating gatk4/filtervarianttranches
asp8200 Feb 22, 2024
5b75acc
updating gatk4/gatherbqsrreports
asp8200 Feb 22, 2024
812c52f
updating gatk4/gatherpileupsummaries
asp8200 Feb 22, 2024
5a45cff
updating gatk4/genomicsdbimport
asp8200 Feb 22, 2024
01dc64e
Temporarily disabling nf-test for gatk4/genomicsdbimport
asp8200 Feb 22, 2024
d6ad928
updating md5sum for mutect2.filtered.vcf.gz.filteringStats.tsv
asp8200 Feb 22, 2024
c66c95e
updating gatk4/genotypegvcfs
asp8200 Feb 22, 2024
4b393c2
updating gatk4/getpileupsummaries
asp8200 Feb 22, 2024
30971e7
updating gatk4/intervallisttobed
asp8200 Feb 22, 2024
845945c
updating gatk4/learnreadorientationmodel
asp8200 Feb 22, 2024
ef9d632
updating gatk4/markduplicates
asp8200 Feb 22, 2024
9085a0a
Temporarily disabling nf-test for gatk4/markduplicates
asp8200 Feb 22, 2024
b54fa99
updating gatk4/mergemutectstats
asp8200 Feb 22, 2024
8a378b2
updating gatk4/mergevcfs
asp8200 Feb 22, 2024
f2f41a4
Temporarily disabling nf-test for gatk4/mergevcfs
asp8200 Feb 22, 2024
ecb96d7
updating gatk4/mutect2
asp8200 Feb 22, 2024
a17e2ee
updating gatk4/variantrecalibrator
asp8200 Feb 22, 2024
4408325
Updating changelog
asp8200 Feb 22, 2024
723075d
Updating changelog
asp8200 Feb 22, 2024
a4c68c4
Adding meta in certain input-channels in call to BAM_VARIANT_CALLING_…
asp8200 Feb 23, 2024
302f30f
Removing meta in certain input-channels in call to GATK4_HAPLOTYPECALLER
asp8200 Feb 23, 2024
7fc51c5
Update bwa/index
asp8200 Feb 27, 2024
aca6463
Update bwa/mem
asp8200 Feb 27, 2024
e7dc286
Update cat/cat
asp8200 Feb 27, 2024
a11bc16
Update cat/fastq
asp8200 Feb 27, 2024
95644f4
Update dragmap/align
asp8200 Feb 27, 2024
c625489
Update gatk4/applybqsr
asp8200 Feb 27, 2024
38c1a73
Update gatk4/baserecalibrator
asp8200 Feb 27, 2024
2cf9809
Update untar
asp8200 Feb 27, 2024
44ebcd3
Update gatk4/markduplicates
asp8200 Feb 27, 2024
27d0985
Update gatk4/genomicsdbimport
asp8200 Feb 27, 2024
4f1354c
Update gatk4/mergevcfs
asp8200 Feb 27, 2024
4716d28
Adding docker.userEmulation
asp8200 Feb 27, 2024
2463547
Adding extra options to docker.runOptions. (Needed now that docker.us…
asp8200 Feb 27, 2024
d9e8793
triggering pytest of gatk4spark
asp8200 Feb 28, 2024
5b60798
Removing redundant runoptions
asp8200 Feb 28, 2024
3b33d32
Removing temporary tag
asp8200 Feb 28, 2024
8da602f
Updating changelog
asp8200 Feb 28, 2024
14cf2a5
No docker runOptions for Spark
asp8200 Feb 28, 2024
696a9b0
trigger pytests of GATK Spark
asp8200 Feb 28, 2024
72300d2
Updating CHANGELOG.md
asp8200 Feb 28, 2024
951727a
Template update for nf-core/tools version 2.13.1
Apr 25, 2024
6b4f4a3
Make -a the default for bcftools concat.
MatthiasZepper Feb 22, 2024
0376770
Addressed assess_significance error when running controlfreec, update…
nschcolnicov Feb 2, 2024
ade2e83
Fixed substring match value
nschcolnicov Feb 2, 2024
64e2ee6
Removed normal files from assess_significance
nschcolnicov Feb 9, 2024
0a2910a
Reverted change in assess_significance module config
nschcolnicov Feb 9, 2024
3f053f3
Removed unnecesary comment
nschcolnicov Feb 9, 2024
7f3a71b
Updated makegraph to makegraph2
nschcolnicov Feb 15, 2024
1533cf5
Testing changes to dev branch
nschcolnicov Feb 22, 2024
60f3927
Addressed PR comments
nschcolnicov Feb 23, 2024
736c706
Fixed input channel name
nschcolnicov Feb 23, 2024
1f33ba1
Updated subworkflow code
nschcolnicov Feb 23, 2024
070bfb1
Update subworkflows/local/bam_variant_calling_somatic_controlfreec/ma…
nschcolnicov Feb 23, 2024
b33dad9
Update subworkflows/local/bam_variant_calling_somatic_controlfreec/ma…
nschcolnicov Feb 23, 2024
cc3a4a9
Removed extra space
nschcolnicov Feb 23, 2024
e8c67e8
fix linting
maxulysse Mar 1, 2024
57cb33b
Update .github/PULL_REQUEST_TEMPLATE.md
maxulysse Mar 1, 2024
0793c6c
Update .github/PULL_REQUEST_TEMPLATE.md
maxulysse Mar 1, 2024
70e5f03
Removing temporary tag for triggering pytests for GATK-spark
asp8200 Mar 1, 2024
c078675
Using containerOptions for GATK Spark modules
asp8200 Mar 4, 2024
b3ca0a3
Trigger CI-test of joint-germline
asp8200 Mar 4, 2024
c0a1ea7
Using process.containerOptions instead of docker.runOptions
Apr 25, 2024
3efd1bb
Do not set containerOptions in module
asp8200 Mar 7, 2024
ada5ef4
Getting rid of the dummy variable params.docker_enabled. Clearing con…
asp8200 Mar 8, 2024
ce5977d
Removing temporary tag
Apr 25, 2024
1e824a2
Replacing local module BUILD_INTERVALS with nf-core mdule GAWK
asp8200 Mar 18, 2024
30f4e04
installing nf-core module gawk
asp8200 Mar 18, 2024
8d6c0f2
Removing local module build_intervals
asp8200 Mar 18, 2024
1fff31f
initialize params from the genome map
maxulysse Feb 23, 2024
aa08014
add modules_testdata_base_path
maxulysse Feb 23, 2024
3467fd8
proper usage of logo
Apr 25, 2024
bb0e8be
exclude tests
maxulysse Feb 23, 2024
0b4bb37
sort tests exclusion
maxulysse Feb 23, 2024
be9cdfc
why is this file still there
maxulysse Feb 23, 2024
ae41a5d
remove more lib
Apr 25, 2024
b102edf
small reorganization
Apr 25, 2024
05c810f
all should work
Apr 25, 2024
1674d8a
small code polish
Apr 25, 2024
80bbd36
update CHANGELOG
Apr 25, 2024
5c71f7b
Adding .collect() to Channel.fromPath(params.fasta) and Channel.fromP…
asp8200 Mar 12, 2024
459d9fd
fix getGenomeAttribute
Apr 25, 2024
55d194a
remove duplication
Apr 25, 2024
47537bb
refactor: chmod +x on main.nf
maxulysse Apr 3, 2024
893166d
Adding .collect() in the construction of the channels dict and fasta_fai
asp8200 Mar 21, 2024
87fe486
Adding ascat_loci_gc in input definition for SAMPLESHEET_TO_CHANNEL
asp8200 Mar 21, 2024
2ef6856
Adding params.ascat_loci_gc in call to SAMPLESHEET_TO_CHANNEL
asp8200 Mar 21, 2024
e9e7ae4
refactor: no need for params to be ignored
maxulysse Apr 3, 2024
2dbed2a
fix: restore proper aligner usage
Apr 25, 2024
9c37634
prettier
Apr 25, 2024
ed2accd
prettier
Apr 25, 2024
18ffcc3
feat(modules): update all modules
maxulysse Apr 5, 2024
797d8da
feat(modules): patch bcftools/annotate
maxulysse Apr 5, 2024
a73fccf
proper usage of new bwamem module
maxulysse Apr 5, 2024
34367ba
fix dragmap_align usage
Apr 25, 2024
2ec36e0
properly patch controlfreec/assesssignificance
maxulysse Apr 5, 2024
2e32054
patch dragmap/hashtable
maxulysse Apr 5, 2024
3944d6d
update CHANGELOG
maxulysse Apr 5, 2024
d9db789
fix freebayes usage
maxulysse Apr 5, 2024
0c0a272
update CHANGELOG
maxulysse Apr 5, 2024
b49a88f
fix samtools/convert usage
maxulysse Apr 5, 2024
fe2f07b
update snapshots
maxulysse Apr 5, 2024
bb648ea
update ci skip list
maxulysse Apr 5, 2024
1417326
update diff for controlfreec/assesssignificance
maxulysse Apr 5, 2024
d9da123
fix(spark): add a spark profile to set up the docker runOptions
Apr 25, 2024
c34fc13
update CHANGELOG + code polish
Apr 25, 2024
2b70427
update dragmap/hashtable
maxulysse Apr 5, 2024
528170f
update samtools/faidx tests
maxulysse Apr 5, 2024
483f325
freebayes: fix channels
maxulysse Apr 8, 2024
b80c651
Removing option -stub from nf-cmd in the test of pipeline-download
asp8200 Mar 14, 2024
c76317e
Updating changelog
asp8200 Mar 14, 2024
8cd428b
exlude some tags from CI
maxulysse Apr 8, 2024
8e35175
fasta and dependant indexes have meta maps
Apr 25, 2024
e7a7df8
fasta and dependant indexes have meta maps
Apr 25, 2024
d695dea
fasta and dependant indexes have meta maps
Apr 25, 2024
fbffc1d
simplify channels' meta
maxulysse Apr 8, 2024
baa2bb6
update channels' meta
maxulysse Apr 8, 2024
cdb94b1
update channels' meta
maxulysse Apr 8, 2024
feea868
update channels' meta
maxulysse Apr 8, 2024
0db719b
fix channels' meta for preprocessing
Apr 25, 2024
b11bbdd
more exclude tags
maxulysse Apr 9, 2024
de36625
collect
maxulysse Apr 9, 2024
11771b5
fix SUBWORKFLOW name
maxulysse Apr 9, 2024
cd5eb20
fix fasta_fai channel
maxulysse Apr 9, 2024
ddbfc86
fix channels
maxulysse Apr 9, 2024
c388439
fix channels
maxulysse Apr 9, 2024
8bcb5d2
fix md5sum
maxulysse Apr 9, 2024
a578ed9
fix channels cardinallity
maxulysse Apr 9, 2024
4038495
update mutect2 tests
maxulysse Apr 9, 2024
9fdc175
update tags to exclude
maxulysse Apr 9, 2024
eb183ff
fix channels cardinality
maxulysse Apr 9, 2024
858d874
fix channels cardinality
maxulysse Apr 9, 2024
899c83b
fix channel cardinality
maxulysse Apr 9, 2024
cabf0d2
create summary in config
maxulysse Apr 9, 2024
28d853d
fix md5sum
maxulysse Apr 9, 2024
df459e1
fix summary.html
maxulysse Apr 9, 2024
1236f7b
fix md5sum
maxulysse Apr 9, 2024
a1ae483
update md5sum
maxulysse Apr 9, 2024
86980ff
fix channel cardinality
maxulysse Apr 9, 2024
20bc1b7
code polish
maxulysse Apr 9, 2024
554bf76
Update subworkflows/local/cram_qc_mosdepth_samtools/main.nf
maxulysse Apr 9, 2024
bb4e2bf
code polish
maxulysse Apr 9, 2024
44a9d10
collect
maxulysse Apr 9, 2024
c92df2c
update md5sum
maxulysse Apr 10, 2024
4803958
fix(CI): add spark profile to all spark tests
maxulysse Apr 13, 2024
f2b881f
feat(release): prepare release 3.4.1
maxulysse Apr 12, 2024
d61a6bf
Apply suggestions from code review
maxulysse Apr 12, 2024
b0e6302
fix fasta channel for ascat
maxulysse Apr 12, 2024
5df5df5
update CHANGELOG
maxulysse Apr 12, 2024
13220b8
feat(CHANGELOG): update
maxulysse Apr 13, 2024
7c10535
Fixing fasta and fai channels for call to SENTIEON_DEDUP
asp8200 Apr 15, 2024
5c67c64
Update changelog
asp8200 Apr 15, 2024
6f28e19
feat(modules): update vep to 111.0
maxulysse Apr 15, 2024
e082a0d
feat(CHANGELOG): update
Apr 25, 2024
b5c2559
feat(igenomes): update vep cache version to 111
maxulysse Apr 15, 2024
41e32e3
ci(nf-test): update tests for ENSEMBL DOWNLOAD and VEP
maxulysse Apr 15, 2024
abd7aea
Fixing fasta and fai input channels in Sentieon workflows
asp8200 Apr 17, 2024
322f1c1
Fix tests for Sentieon workflows
asp8200 Apr 17, 2024
f50efc4
Remove unwanted space in warning
asp8200 Apr 17, 2024
8bd9f81
Update changelog
asp8200 Apr 17, 2024
2a5964c
fix(multiqc-reports): fix the channel for multiqc reports
maxulysse Apr 18, 2024
d24330b
fix(channels): fix remapping of channels
maxulysse Apr 18, 2024
27c7e0f
feat(CHANGELOG): update CHANGELOG
maxulysse Apr 18, 2024
b7cd4ca
fix(schema): add some params to validationSchemaIgnoreParams for bett…
maxulysse Apr 18, 2024
f0af70b
feat(CHANGELOG): update CHANGELOG
maxulysse Apr 18, 2024
1c9d26b
fix(vep_cache_version-snpeff_db): both params are string
maxulysse Apr 19, 2024
ed3ef37
feat(CHANGELOG): update CHANGELOG
maxulysse Apr 19, 2024
d237d8b
fix(spark): load spark profile after loading the test profiles
maxulysse Apr 19, 2024
b5e0c11
feat(CHANGELOG): update CHANGELOG
maxulysse Apr 19, 2024
f3221c4
feat(dev): bump to 3.5.0dev and restart dev on dev branch
maxulysse Apr 22, 2024
b5d6530
feat(nf-prov): pin nf-prov to 1.2.2
maxulysse Apr 24, 2024
60391ba
feat(CHANGELOG): update CHANGELOG
maxulysse Apr 25, 2024
15d0dde
Rename cloudtest back to awstest
Apr 25, 2024
6a2d622
Change logic of cloud tests workflow
Apr 25, 2024
90356ea
[automated] Fix linting with Prettier
Apr 25, 2024
afd37ea
Update .devcontainer/devcontainer.json
maxulysse Apr 25, 2024
a83d8fb
Rename awstest to cloudtest
adamrtalbot Apr 25, 2024
4bca8a3
add new citation
FriederikeHanssen Apr 25, 2024
ce40710
Update CHANGELOG.md
FriederikeHanssen Apr 25, 2024
2e1b535
Added minimap2 as aligner
Apr 25, 2024
3f1e168
updated usage.doc
Apr 25, 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
  •  
  •  
  •  
10 changes: 1 addition & 9 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,7 @@
"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
7 changes: 6 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@ 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
Expand Down
14 changes: 8 additions & 6 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ 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 ;)

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

## Contribution workflow

Expand All @@ -27,8 +26,11 @@ 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>`.
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
nf-test test --profile debug,test,docker --verbose
```

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 @@ -90,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
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/sare
- [ ] 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>`).
- [ ] Ensure the test suite passes (`nf-test test tests/ --verbose --profile +docker`).
- [ ] 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
39 changes: 39 additions & 0 deletions .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: nf-core AWS full size tests
# 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

on:
release:
types: [published]
workflow_dispatch:
jobs:
run-tower:
name: Run AWS full tests
if: github.repository == 'nf-core/sarek'
runs-on: ubuntu-latest
steps:
- name: Launch workflow via tower
uses: seqeralabs/action-tower-launch@v2
# TODO nf-core: You can customise AWS full pipeline tests as required
# 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
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/sarek/work-${{ github.sha }}
parameters: |
{
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/sarek/results-${{ github.sha }}"
}
profiles: test_full

- uses: actions/upload-artifact@v4
with:
name: Tower debug log file
path: |
tower_action_*.log
tower_action_*.json
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@v2
uses: mshick/add-pr-comment@b8f338c590a895d50bcbfa6c5859251edc8952fc # v2
with:
message: |
## This PR is against the `master` branch :x:
Expand Down
48 changes: 45 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test
name: nf-core CI
# This workflow runs the pipeline with the minimal test dataset to check that it completes without any syntax errors
on:
pull_request:
Expand Down Expand Up @@ -52,14 +52,25 @@ jobs:
NXF_VER:
- "23.04.0"
- "latest-everything"
exclude:
- tags: "sentieon/bwamem"
- tags: "sentieon/dedup"
- tags: "sentieon/dnascope"
- tags: "sentieon/dnascope_joint_germline"
- tags: "sentieon/dnascope_skip_filter"
- tags: "sentieon/haplotyper"
- tags: "sentieon/haplotyper_joint_germline"
- tags: "sentieon/haplotyper_skip_filter"
- NXF_VER: "latest-everything"
tags: "joint_germline"
env:
NXF_ANSI_LOG: false
TEST_DATA_BASE: "${{ github.workspace }}/test-datasets"
SENTIEON_LICENSE_BASE64: ${{ secrets.SENTIEON_LICENSE_BASE64 }}

steps:
- name: Check out pipeline code
uses: actions/checkout@v4
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4

- name: Hash Github Workspace
id: hash_workspace
Expand Down Expand Up @@ -200,16 +211,47 @@ jobs:
- "23.04.0"
- "latest-everything"
exclude:
- tags: "bcftools/concat"
- tags: "bcftools/mpileup"
- tags: "bcftools/sort"
- tags: "bwa/index"
- tags: "bwa/mem"
- tags: "bwamem2/index"
- tags: "bwamem2/mem"
- tags: "cat/cat"
- tags: "cat/fastq"
- tags: "custom/dumpsoftwareversions"
- tags: "cnvkit/batch"
- tags: "deepvariant"
- tags: "dragmap/align"
- tags: "dragmap/hashtable"
- tags: "ensemblvep/download"
- tags: "ensemblvep/vep"
- tags: "fastp"
- tags: "fastqc"
- tags: "fgbio/fastqtobam"
- tags: "freebayes"
- tags: "gatk4/applybqsr"
- tags: "gatk4/baserecalibrator"
- tags: "gatk4/estimatelibrarycomplexity"
- tags: "gatk4/genomicsdbimport"
- tags: "gatk4/haplotypecaller"
- tags: "gatk4/markduplicates"
- tags: "gatk4/mergevcfs"
- tags: "gatk4/mutect2"
- tags: "gatk4spark/applybqsr"
- tags: "gatk4spark/markduplicates"
- tags: "mosdepth"
- tags: "multiqc"
- tags: "samblaster"
- tags: "samtools/mpileup"
- tags: "samtools/stats"
- tags: "snpeff/snpeff"
- tags: "strelka/germline"
- tags: "strelka/somatic"
- tags: "subworkflows/utils_nfvalidation_plugin"
- tags: "tabix/bgziptabix"
- tags: "tabix/tabix"
- tags: "tiddit/sv"
- tags: "untar"
env:
NXF_ANSI_LOG: false
Expand Down
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@v9
- 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
100 changes: 12 additions & 88 deletions .github/workflows/cloudtest.yml
Original file line number Diff line number Diff line change
@@ -1,109 +1,33 @@
name: nf-core cloud test
name: nf-core AWS test
# This workflow can be triggered manually with the GitHub actions workflow dispatch button.
# It runs the -profile 'test' on AWS batch

on:
release:
types: [created]
workflow_dispatch:
inputs:
test:
description: "-profile test (smaller)"
type: boolean
default: true
somatic:
description: "Somatic full test"
type: boolean
default: false
germline:
description: "Germline full test"
type: boolean
default: false
germline_ncbench_agilent:
description: "Germline Agilent NCBench test"
type: boolean
default: false
aws:
description: "AWS Batch"
type: boolean
default: true
azure:
description: "Azure Batch"
type: boolean
default: true

jobs:
trigger-profile-test:
run-tower:
name: Run AWS tests
if: github.repository == 'nf-core/sarek'
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- profile: test_aws
enabled: ${{ ( github.repository == 'nf-core/sarek' ) && ( github.event_name != 'workflow_dispatch' || ( inputs.test && inputs.aws ) ) }}
- profile: test_azure
enabled: ${{ ( github.repository == 'nf-core/sarek' ) && ( github.event_name != 'workflow_dispatch' || ( inputs.test && inputs.azure ) ) }}
- profile: test_full_aws
enabled: ${{ ( github.repository == 'nf-core/sarek' ) && ( github.event_name != 'workflow_dispatch' || ( inputs.somatic && inputs.aws ) ) }}
- profile: test_full_azure
enabled: ${{ ( github.repository == 'nf-core/sarek' ) && ( github.event_name != 'workflow_dispatch' || ( inputs.somatic && inputs.azure ) ) }}
- profile: test_full_germline_aws
enabled: ${{ ( github.repository == 'nf-core/sarek' ) && ( github.event_name != 'workflow_dispatch' || ( inputs.germline && inputs.aws ) ) }}
- profile: test_full_germline_azure
enabled: ${{ ( github.repository == 'nf-core/sarek' ) && ( github.event_name != 'workflow_dispatch' || ( inputs.germline && inputs.azure ) ) }}
- profile: test_full_germline_ncbench_agilent_aws
enabled: ${{ ( github.repository == 'nf-core/sarek' ) && ( github.event_name != 'workflow_dispatch' || ( inputs.germline_ncbench_agilent && inputs.aws ) ) }}

steps:
# Launch workflow on AWS Batch
- name: AWS Launch
uses: seqeralabs/action-tower-launch@v2
if: ${{ matrix.enabled && ( github.event_name != 'workflow_dispatch' || inputs.aws ) }}
with:
run_name: sarek_${{ matrix.profile }}
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/sarek/work-${{ github.sha }}/${{ matrix.profile }}
parameters: |
{
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/sarek/results-${{ github.sha }}/${{ matrix.profile }}/"
}
profiles: ${{ matrix.profile }}

- uses: actions/upload-artifact@v3
name: Save AWS Logs
if: success() || failure()
with:
name: tower-aws-${{ matrix.profile }}-log
path: |
tower_action_*.log
tower_action_*.json

# Launch workflow using Tower CLI tool action
- name: Azure Launch
- name: Launch workflow via tower
uses: seqeralabs/action-tower-launch@v2
if: ${{ matrix.enabled && ( github.event_name != 'workflow_dispatch' || inputs.azure ) }}
with:
run_name: sarek_${{ matrix.profile }}
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
access_token: ${{ secrets.TOWER_ACCESS_TOKEN }}
compute_env: ${{ secrets.TOWER_CE_AZURE_CPU }}
compute_env: ${{ secrets[matrix.compute_env] }}
revision: ${{ github.sha }}
workdir: ${{ secrets.TOWER_BUCKET_AZURE}}/sarek/work-${{ github.sha }}/${{ matrix.profile }}
workdir: s3://${{ secrets.AWS_S3_BUCKET }}/work/sarek/work-${{ github.sha }}
parameters: |
{
"hook_url": "${{ secrets.MEGATESTS_ALERTS_SLACK_HOOK_URL }}",
"outdir": "${{ secrets.TOWER_BUCKET_AZURE }}/sarek/results-${{ github.sha }}/${{ matrix.profile }}/"
"outdir": "s3://${{ secrets.AWS_S3_BUCKET }}/sarek/results-test-${{ github.sha }}"
}
profiles: ${{ matrix.profile }}
profiles: test

- uses: actions/upload-artifact@v3
name: Save Azure Logs
if: success() || failure()
- uses: actions/upload-artifact@v4
with:
name: tower-azure-${{ matrix.profile }}-log
name: Tower debug log file
path: |
tower_action_*.log
tower_action_*.json
15 changes: 10 additions & 5 deletions .github/workflows/download_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ name: Test successful pipeline download with 'nf-core download'
# - 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
Expand All @@ -25,11 +30,11 @@ jobs:
- name: Install Nextflow
uses: nf-core/setup-nextflow@v1

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

Expand All @@ -42,13 +47,13 @@ jobs:
run: |
echo "REPO_LOWERCASE=${GITHUB_REPOSITORY,,}" >> ${GITHUB_ENV}
echo "REPOTITLE_LOWERCASE=$(basename ${GITHUB_REPOSITORY,,})" >> ${GITHUB_ENV}
echo "REPO_BRANCH=${GITHUB_REF#refs/heads/}" >> ${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 }} \
nf-core download ${{ env.REPO_LOWERCASE }} \
--revision ${{ env.REPO_BRANCH }} \
--outdir ./${{ env.REPOTITLE_LOWERCASE }} \
--compress "none" \
Expand All @@ -64,4 +69,4 @@ jobs:
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
Loading