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

Dev => Master 2.3.0 #185

Open
wants to merge 266 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
266 commits
Select commit Hold shift + click to select a range
2c99fcc
build: Give up and use biocontainers
edmundmiller Mar 16, 2024
1419c9e
style: Add \'s
edmundmiller Mar 16, 2024
cbcdf6e
fix(dreg_prep): Use task.cpus
edmundmiller Mar 16, 2024
e6a297d
refactor(dreg_prep): Use sort instead of sortBed
edmundmiller Mar 16, 2024
b110704
fix(dreg_prep): Make it a process low
edmundmiller Mar 16, 2024
899ac94
feat: Start DREG_PREP Subworkflow
edmundmiller Mar 18, 2024
43194a8
build: nf-core subworkflows install fastq_align_star
edmundmiller Apr 25, 2024
7161b14
feat: Add STAR Alignment
edmundmiller Apr 25, 2024
6d27d26
build: nf-core modules install star/genomegenerate
edmundmiller Apr 25, 2024
9916891
feat: Add basic STAR index generation
edmundmiller Apr 25, 2024
df6c876
fix: Copy over config from rnaseq
edmundmiller Apr 25, 2024
95187c4
ci: Use detect-nf-test-changes
edmundmiller Apr 25, 2024
749d703
test: Use testsDir "."
edmundmiller Apr 25, 2024
ca68e9b
test: Write basic STAR test
edmundmiller Apr 25, 2024
9940414
fix: Make sure the gtf is unzipped
edmundmiller Apr 27, 2024
3d4db1d
docs: Add info about the sample column concatinating group and replic…
edmundmiller May 7, 2024
c49e9d7
refactor: Pass bais to transcript identification for PINTS
edmundmiller Jul 1, 2024
2aeb303
feat: Bump CHM13 fasta
edmundmiller Jul 1, 2024
63f5074
fix: Update CHM13
edmundmiller Jul 8, 2024
4bd6a11
chore: Update CHANGELOG
edmundmiller Jul 17, 2024
c47db7e
build: Add params.human-pandgenomics_base
edmundmiller Jul 17, 2024
9561941
Merge pull request #142 from nf-core/STAR
edmundmiller Jul 17, 2024
25f8d5d
Template update for nf-core/tools version 2.14.0
nf-core-bot May 8, 2024
5522aab
Template update for nf-core/tools version 2.14.1
nf-core-bot May 9, 2024
25d8803
style: Try to fix linting
edmundmiller Jul 20, 2024
0280009
build: Remove extra "groseq" workflow
edmundmiller Jul 20, 2024
47ba2f4
chore: nf-core modules update
edmundmiller Jul 20, 2024
64acae7
fix: Catch up with module updates
edmundmiller Jul 20, 2024
ed8510f
chore: nf-core modules update subworkflow
edmundmiller Jul 20, 2024
45455b6
ci: Bump detect-nf-test-changes to 0.0.3
edmundmiller Jul 21, 2024
f41ddfd
style: Fix CI triggers
edmundmiller Jul 21, 2024
9226907
style: Minimum pipeline NF version
edmundmiller Jul 21, 2024
1582d2b
style: Ignore ci.yml
edmundmiller Jul 22, 2024
f5ae7ff
chore: nf-core subworkflows update
edmundmiller Jul 22, 2024
2801dea
style: Remove stray comment update
edmundmiller Jul 22, 2024
cc8cc7e
test: Update snapshot for GitHub actions
edmundmiller Jul 22, 2024
0319bc1
test: Skip preseq in BWA test
edmundmiller Jul 22, 2024
9954adf
Merge pull request #147 from nf-core/update-modules
edmundmiller Jul 22, 2024
93c5d37
chore: Add citations
edmundmiller Jul 23, 2024
f5f9620
Merge pull request #149 from nf-core/doi
edmundmiller Jul 24, 2024
73aad31
chore: Update naming
edmundmiller Jul 30, 2024
bce004d
chore(homer): Fix errors about unexpected input tuple size
edmundmiller Jul 30, 2024
6592199
Merge pull request #151 from nf-core/homer-inputs
edmundmiller Aug 1, 2024
e5037b7
build: Add nft-bam
edmundmiller Jul 30, 2024
4297d9c
build: Bump nft-bam version
edmundmiller Jul 31, 2024
f3f3070
test: Write first bam test
edmundmiller Jul 31, 2024
b9d0394
test: Refactor default test
edmundmiller Jul 31, 2024
5e9a6c1
test: Refactor all the tests
edmundmiller Jul 31, 2024
0a2d003
docs: Update HOMER docs
edmundmiller Aug 3, 2024
8b6cfc6
test: Use small_samplesheet
edmundmiller Aug 3, 2024
04d4162
test: Fix non-deterministic tests
edmundmiller Aug 4, 2024
98d646b
Merge pull request #152
edmundmiller Aug 5, 2024
f6f0f70
Merge pull request #154
edmundmiller Aug 6, 2024
ce4ed8c
build: nf-core modules install bam_rseqc
edmundmiller Aug 1, 2024
bd7de60
refactor: Use bam_rseqc subworkflow
edmundmiller Aug 1, 2024
15e0ff8
Merge pull request #155
edmundmiller Aug 6, 2024
7da2238
ci: Copy Sharding example
edmundmiller Aug 6, 2024
ea077fb
ci: Add changed since
edmundmiller Aug 6, 2024
862ae74
ci: Add profile
edmundmiller Aug 6, 2024
c8cf90b
ci: Only run on latest-stable
edmundmiller Aug 6, 2024
1fa4f62
style: Make it more readable
edmundmiller Aug 6, 2024
d869e07
ci: Only run pipeline tests for now
edmundmiller Aug 6, 2024
8581a64
ci: Use nf-core/setup-nf-test
edmundmiller Aug 7, 2024
2326219
Merge pull request #157
edmundmiller Aug 7, 2024
d12d1c8
ci: Fix env variable
edmundmiller Aug 7, 2024
1dc2a91
Add comment boxes for sections
edmundmiller Aug 1, 2024
82498a4
refactor: Clean up publishing of preprocessing and prepare genome
edmundmiller Aug 1, 2024
1c6090a
refactor: Clean up alignment and post-processing publishing
edmundmiller Aug 1, 2024
f21ebd2
refactor: Clean up publishing of Quality Control
edmundmiller Aug 1, 2024
176dff7
refactor: Finish coverage graphs publishing
edmundmiller Aug 1, 2024
3596137
refactor: Finish quantification publishing
edmundmiller Aug 1, 2024
d166808
refactor: Clean up transcript identification publishing
edmundmiller Aug 1, 2024
9631fd6
style: Cleanup
edmundmiller Aug 1, 2024
7b73b4a
test: Add triggers
edmundmiller Aug 8, 2024
f6ee047
ci: Remove fail-fast
edmundmiller Aug 8, 2024
5e91c40
test: Update expected paths
edmundmiller Aug 8, 2024
2d049ff
test: Add UTILS functions from function guy
edmundmiller Aug 10, 2024
5f0c3b1
test: Add back in bam tests
edmundmiller Aug 10, 2024
6fb83a5
test: Update the rest of the tests for new output
edmundmiller Aug 10, 2024
ebeb042
test: Fix non-deterministic versions and bams
edmundmiller Aug 12, 2024
b35668b
Merge pull request #156 from nf-core/cleanup-output
edmundmiller Aug 12, 2024
e31b032
fix: Add fasta channel to GFFREAD
edmundmiller Aug 30, 2024
d95e6e5
test: Add test for GFF files
edmundmiller Aug 30, 2024
9d233a9
test: Add a test for using a gzipped gff file
edmundmiller Aug 30, 2024
e227436
fix: Pass meta map to fix error
edmundmiller Aug 31, 2024
49f9b85
fix: Should run with only a gff file
edmundmiller Aug 31, 2024
531378a
test: Add a note about a flaky test
edmundmiller Sep 11, 2024
5b222ff
Merge pull request #162
edmundmiller Sep 11, 2024
dea83ae
style: Make version snapshots pretty
edmundmiller Sep 12, 2024
3b08285
test: Give up on flaky test
edmundmiller Sep 12, 2024
fd747f1
Merge pull request #163
edmundmiller Sep 13, 2024
aadd8c3
fix: Update bwamem2 to use 28.B of memory per byte of fasta
edmundmiller Sep 10, 2024
dfb9562
chore: Set expected memory for bwa index
edmundmiller Sep 10, 2024
b7e3271
chore: Add hisat2 hg19 build
edmundmiller Sep 12, 2024
5cf681d
style: Clean up groovy formatting
edmundmiller Sep 11, 2024
14fdbb8
Template update for nf-core/tools version 3.0.0
nf-core-bot Oct 8, 2024
b4ac8c5
Template update for nf-core/tools version 3.0.1
nf-core-bot Oct 9, 2024
a9ae47a
Template update for nf-core/tools version 3.0.2
nf-core-bot Oct 11, 2024
f61aac0
Merge pull request #166 from nf-core/bwamemory
edmundmiller Oct 15, 2024
2cfe373
chore: Use assertAll in all tests
edmundmiller Oct 13, 2024
9e945e1
fix(multiqc): Update groHMM plot fn
edmundmiller Oct 14, 2024
a86ea18
fix: Remove custom FastQC section
edmundmiller Oct 14, 2024
252d59d
chore(multiqc): Copy RNA-seq report order
edmundmiller Oct 14, 2024
64a51c2
chore: Add test profile as default to nf-test
edmundmiller Oct 14, 2024
a989636
chore: Update Changelog
edmundmiller Oct 20, 2024
7ef0ecd
fix: Remove Access to undefined parameter `forwardStranded` warnings
edmundmiller Oct 13, 2024
f458d8b
Update CHANGELOG
edmundmiller Oct 15, 2024
f84692e
Merge pull request #170 from nf-core/fix-forward-stranded
edmundmiller Oct 21, 2024
af25b3f
Merge pull request #171 from nf-core/hot-fixes
edmundmiller Oct 21, 2024
1df35bd
style: Run styler
edmundmiller Sep 12, 2024
f7ddbb6
test: Write grohmm tests
edmundmiller Sep 13, 2024
21ba6f7
fix(grohmm): bam => bams
edmundmiller Sep 11, 2024
39265aa
fix(grohmm): Link up tuning files and samples
edmundmiller Sep 12, 2024
f431c73
refactor(grohmm): Add notes of brainstorming
edmundmiller Sep 13, 2024
727fdd1
feat: Add grohmm min and max tuning params
edmundmiller Sep 14, 2024
bb59488
fix: of => fromList
edmundmiller Sep 15, 2024
ab20315
refactor(grohmm): Use parameter tuning split
edmundmiller Sep 15, 2024
6e0b9a8
fix(grohmm): Use windowAnalysis
edmundmiller Sep 15, 2024
114136c
refactor: Setup transcript calling
edmundmiller Sep 15, 2024
d72402b
build: Build a seperate grohmm conda package
edmundmiller Sep 18, 2024
ce1c512
chore: Add working
edmundmiller Sep 18, 2024
6ba858f
build(grohmm): Add Seqera containers
edmundmiller Sep 19, 2024
46646f0
test(grohmm): Add chr7 gtf
edmundmiller Sep 19, 2024
2ad3b9c
test: Setup tests for grohmm
edmundmiller Sep 23, 2024
65d16d0
chore(grohmm): Add example tuning evals from tutorial
edmundmiller Sep 23, 2024
e221791
fix(grohmm): Try removing any genes from "random" Chromosome
edmundmiller Sep 23, 2024
0691cba
test(grohmm): Use kgChr7 gtf
edmundmiller Sep 23, 2024
692e688
test: Try it with refGene again
edmundmiller Sep 24, 2024
d965491
fix(grohmm): Set memory.limit
edmundmiller Sep 24, 2024
013978d
fix(grohmm): Remove keytype
edmundmiller Sep 24, 2024
af3cba8
refactor(grohmm): Get jobs running for every set of possibilities
edmundmiller Sep 24, 2024
a5e2bcc
test(grohmm): Test the whole subworkflow
edmundmiller Sep 24, 2024
7807899
fix(grohmm): Give up on taking a tuning file
edmundmiller Sep 24, 2024
d67acde
test(grohmm): Fix how the channel is created to avoid exhausting it
edmundmiller Sep 24, 2024
09212f9
fix(grohmm): Get transcript calling running
edmundmiller Sep 24, 2024
d2e4065
fix(grohmm): Clean up tuning file to match
edmundmiller Sep 25, 2024
2286b7a
fix(grohmm): Update groHMM with fix
edmundmiller Sep 25, 2024
9388a21
Add consensus bed as output for testing
edmundmiller Oct 17, 2024
b7567c8
test(grohmm): Update all the snapshots
edmundmiller Sep 25, 2024
baa008b
refactor(grohmm): Use each input
edmundmiller Sep 26, 2024
d9e94aa
feat(grohmm): Add Native MultiQC support
edmundmiller Sep 27, 2024
a535c8c
fix(grohmm): Update labels for parametertuning
edmundmiller Sep 28, 2024
2f1c81c
chore: Add a note about the subworkflow functionality
edmundmiller Sep 30, 2024
cd9151e
chore: oras => https
edmundmiller Oct 6, 2024
26626fa
refactor(grohmm): Use each input
edmundmiller Sep 26, 2024
9272060
test(grohmm): Write a failing test
edmundmiller Oct 7, 2024
3d5cf85
fix(grohmm): Update to work with CHM13
edmundmiller Oct 4, 2024
b8548a3
refactor: Replace jpg with png
edmundmiller Oct 4, 2024
0c7a9ba
test: Remove skip_tuning test
edmundmiller Oct 9, 2024
0958778
test: Bump snapshot
edmundmiller Oct 9, 2024
d17d9df
Update CHANGELOG
edmundmiller Oct 15, 2024
3c947b0
docs: Update groHMM docs
edmundmiller Oct 15, 2024
2b2b90f
fix(grohmm): Try calling no more than 10 cores
edmundmiller Oct 16, 2024
e101553
chore: Add a custom makeConsensusAnnotations function
edmundmiller Oct 18, 2024
3028ae1
Try creating a custom makeConsensusAnnotations and setup test
edmundmiller Oct 18, 2024
d4ac91f
Get custom running
edmundmiller Oct 18, 2024
3444c5b
Start over
edmundmiller Oct 18, 2024
508452b
refactor: Split into chunks
edmundmiller Oct 18, 2024
b538a16
More tests
edmundmiller Oct 19, 2024
ef677b1
fix(grohmm): Support gxf
edmundmiller Oct 19, 2024
afbb7b6
fix(chm13): Prevent some errors during transcriptcalling
edmundmiller Oct 21, 2024
5c6b24a
style(grohmm): Clean up
edmundmiller Oct 21, 2024
9c65113
chore: Move test data to test-datasets repo
edmundmiller Oct 22, 2024
bb65227
Merge pull request #165 from nf-core/grohmm-overhaul
edmundmiller Oct 23, 2024
5bdce2e
fixup! style(grohmm): Clean up
edmundmiller Oct 25, 2024
2209e68
fix(pints): Bump up memory
edmundmiller Sep 28, 2024
269ba9c
refactor(pints): Scatter gather by chromosome
edmundmiller Sep 30, 2024
678ec38
fix: Hack out a toy example
edmundmiller Oct 20, 2024
6cf0afa
fix: Get bed2saf working
edmundmiller Oct 20, 2024
6e756ea
style: Move transcript_identification into it's own dir
edmundmiller Oct 20, 2024
663cbd8
test: Update copro UMI settings
edmundmiller Oct 21, 2024
3dc061b
fix(pints): Avoid running on chrY
edmundmiller Oct 21, 2024
5bc32ec
chore: nf-core modules update pints/caller
edmundmiller Oct 21, 2024
204a608
fix: PINTS needs more resources
edmundmiller Oct 22, 2024
f68eb76
fix(chm13): Skip _random fasta entries
edmundmiller Oct 23, 2024
d74b4e8
fix(pints): Use contains to filter out
edmundmiller Oct 24, 2024
29b003f
chore: Make notes of things to test
edmundmiller Oct 24, 2024
708b73f
fix: Add chrUn to skip
edmundmiller Oct 28, 2024
060aa75
fix: Remove EBV
edmundmiller Oct 30, 2024
0d654bf
fix: Skip chrM
edmundmiller Oct 31, 2024
a3dc20f
docs: Add PINTS docs
edmundmiller Nov 7, 2024
bef9eef
refactor: Clean up the filters to run once
edmundmiller Nov 7, 2024
f075a6c
refactor(PINTS): Use combine instead of each
edmundmiller Nov 7, 2024
fe259ca
chore: Specify arity for bams in PINTS
edmundmiller Nov 7, 2024
8c5c2f8
chore: Update changelog
edmundmiller Nov 7, 2024
dac9111
test: flatten => toSortedList to make the order of beds consistant fo…
edmundmiller Nov 8, 2024
136a9ca
fix(pints): Refactor to merge groups based on issue
edmundmiller Nov 8, 2024
55861cd
style: Updates from code-review
edmundmiller Nov 9, 2024
210b2fc
Merge pull request #174 from nf-core/PINTS-scatter-gather
edmundmiller Nov 9, 2024
9c0487a
feat(homer): Add uniqmap generation
edmundmiller Nov 14, 2024
22463a3
fix(homer): Split fasta
edmundmiller Nov 15, 2024
1b006b3
fix(homer): Flip the read_length and parallel_sequences
edmundmiller Nov 15, 2024
e5d9d9f
fix(homer): Setup for a full run
edmundmiller Nov 15, 2024
cb95feb
feat(homer): Add a hacky uniqmap download
edmundmiller Nov 15, 2024
58a8977
refactor: Move uniqmap generation to references
edmundmiller Nov 16, 2024
1231e94
chore: nf-core modules patch homer/findpeaks
edmundmiller Nov 21, 2024
a07d0ff
fix(homer): Set uniqmap to off by default
edmundmiller Nov 21, 2024
e15e004
chore(homer): Add other supported uniq-maps
edmundmiller Nov 21, 2024
5f46a47
docs(HOMER): Update HOMER documentation and turn off download by default
edmundmiller Nov 21, 2024
b991a83
docs: Add mention of Functional-Genomics-Lab/homer-uniqmap-nf
edmundmiller Nov 22, 2024
38b36b3
style: Run prettier
edmundmiller Nov 22, 2024
9f5a2cc
chore: Update CHANGELOG
edmundmiller Nov 22, 2024
739109a
chore: Remove second Fixed
edmundmiller Nov 22, 2024
1af617e
fix: Update prefix if using uniqmap
edmundmiller Nov 23, 2024
21376f3
chore: Bump homer/groseq => homer_groseq
edmundmiller Nov 26, 2024
e1e7f92
Merge pull request #175 from nf-core/homer-uniqmap
edmundmiller Nov 26, 2024
c9a38ed
fix(grohmm): Turn off publishing for parameter tuning
edmundmiller Dec 1, 2024
1d1aae5
refactor: Remove deprecated each channels
edmundmiller Dec 1, 2024
46964b2
chore: Update changelog
edmundmiller Dec 1, 2024
f071b81
Merge pull request #178 from nf-core/grohmm-publishing
edmundmiller Dec 2, 2024
901f3e1
chore: Remove old template
edmundmiller Dec 3, 2024
0d1727b
Merge pull request #179 from nf-core/remove-lib
edmundmiller Dec 8, 2024
c12ab1d
test: Use nft-utils removeNextflowVersion
edmundmiller Dec 15, 2024
2a7e769
chore: Bump nft-bam
edmundmiller Dec 15, 2024
5bff846
test: Switch to nft-utils
edmundmiller Dec 15, 2024
6403b85
test: Convert all tests to nft-utils
edmundmiller Dec 15, 2024
05f81e6
test: Get more aggressive with the ignores
edmundmiller Dec 15, 2024
5404d64
test: Skip bam checks
edmundmiller Dec 16, 2024
2713cfc
test: Remove plots
edmundmiller Dec 17, 2024
3d34f55
test: Give up on Dragmap testing
edmundmiller Dec 18, 2024
3c0ebae
test: Update unstable files
edmundmiller Dec 18, 2024
72aa5f1
ci: Hardcode total shards and bump nf-test
edmundmiller Dec 19, 2024
d4ad53b
test: Ignore MultiQC plots because of OSX ARM
edmundmiller Dec 19, 2024
6b4fbf5
test: Ignore intersect.beds
edmundmiller Dec 19, 2024
c85ed67
test: Skip filtered beds and unpublish saf
edmundmiller Dec 19, 2024
828cad2
test: Remove Star logs
edmundmiller Dec 20, 2024
6f6af11
test: Maybe this was causing some deterministic issue
edmundmiller Dec 20, 2024
6329b2c
test: Fix ignore samtools
edmundmiller Dec 21, 2024
3b9ee15
test: That's why STAR is outputting samtools
edmundmiller Dec 21, 2024
bb5a3a8
Merge pull request #182 from nf-core/nft-utils
edmundmiller Dec 21, 2024
5b21392
test(#57): Add uniqmap test
edmundmiller Nov 26, 2024
96a9f4d
chore: nf-core subworkflows update homer_groseq
edmundmiller Dec 21, 2024
2d19d95
Merge pull request #177 from nf-core/homer-uniqmap
edmundmiller Dec 21, 2024
c0d2709
chore: Fix config selectors
edmundmiller Oct 22, 2024
723e873
fix: Remove Transcriptome quant from STAR
edmundmiller Dec 21, 2024
7425043
Merge pull request #173 from nf-core/fix-config-selectors
edmundmiller Dec 21, 2024
bfcd97c
Template update for nf-core/tools version 3.1.0
nf-core-bot Dec 12, 2024
7a4e356
Template update for nf-core/tools version 3.1.1
nf-core-bot Dec 20, 2024
ba48eb2
chore: Fix pipeline => nascent
edmundmiller Dec 21, 2024
e6b3ecd
style: First pass with lsp
edmundmiller Nov 4, 2024
ae6518e
Merge pull request #180 from nf-core/lsp-formatting
edmundmiller Dec 22, 2024
1bda499
chore: Add new contributors section
edmundmiller Dec 22, 2024
0cb4601
chore: Capture Template updates
edmundmiller Dec 22, 2024
d20685a
chore: Bump version to 2.3.0
edmundmiller Dec 22, 2024
7d33c65
Merge pull request #184 from nf-core/2.3.0-release
edmundmiller Dec 23, 2024
9fe1db2
chore: Bump deeptools/bamcoverage
edmundmiller Dec 23, 2024
a9b12ce
style: Load pipeline-specific nf-core configs
edmundmiller Dec 23, 2024
83c2c8a
build: Lock down python version in PINTS
edmundmiller Dec 23, 2024
d6afd86
test: Ignore grohmm output
edmundmiller Dec 23, 2024
7d9ce8a
chore: Bump fastq_align_hisat2
edmundmiller Dec 23, 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
23 changes: 16 additions & 7 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ trim_trailing_whitespace = true
indent_size = 4
indent_style = space

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

# These files are edited and tested upstream in nf-core/modules
Expand All @@ -18,15 +18,24 @@ 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]
# ignore python and markdown
[*.{py,md}]
indent_style = unset

# ignore python
[*.{py}]
indent_style = unset
# ignore ro-crate metadata files
[**/ro-crate-metadata.json]
insert_final_newline = unset

# Follow tidyverse style for R
[*.{R,Rmd}]
indent_size = 2
38 changes: 20 additions & 18 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# nf-core/nascent: Contributing Guidelines
# `nf-core/nascent`: Contributing Guidelines

Hi there!
Many thanks for taking an interest in improving nf-core/nascent.
Expand All @@ -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/nascent then the best place to ask is on the nf-core Slack [#nascent](https://nfcore.slack.com/channels/nascent) channel ([join our Slack here](https://nf-co.re/join/slack)).
:::
> [!NOTE]
> If you need help using or modifying nf-core/nascent then the best place to ask is on the nf-core Slack [#nascent](https://nfcore.slack.com/channels/nascent) channel ([join our Slack here](https://nf-co.re/join/slack)).

## Contribution workflow

Expand All @@ -20,15 +19,18 @@ If you'd like to write some code for nf-core/nascent, the standard workflow is a
1. Check that there isn't already an issue about your idea in the [nf-core/nascent issues](https://github.com/nf-core/nascent/issues) to avoid duplicating work. If there isn't one already, please create one so that others know you're working on this
2. [Fork](https://help.github.com/en/github/getting-started-with-github/fork-a-repo) the [nf-core/nascent repository](https://github.com/nf-core/nascent) to your GitHub account
3. Make the necessary changes / additions within your forked repository following [Pipeline conventions](#pipeline-contribution-conventions)
4. Use `nf-core schema build` and add any new parameters to the pipeline JSON schema (requires [nf-core tools](https://github.com/nf-core/tools) >= 1.10).
4. Use `nf-core pipelines schema build` and add any new parameters to the pipeline JSON schema (requires [nf-core tools](https://github.com/nf-core/tools) >= 1.10).
5. Submit a Pull Request against the `dev` branch and wait for the code to be reviewed and merged

If you're not used to this workflow with git, you can start with some [docs from GitHub](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests) or even their [excellent `git` resources](https://try.github.io/).

## 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 All @@ -38,7 +40,7 @@ There are typically two types of tests that run:
### Lint tests

`nf-core` has a [set of guidelines](https://nf-co.re/developers/guidelines) which all pipelines must adhere to.
To enforce these and ensure that all pipelines stay in sync, we have developed a helper tool which runs checks on the pipeline code. This is in the [nf-core/tools repository](https://github.com/nf-core/tools) and once installed can be run locally with the `nf-core lint <pipeline-directory>` command.
To enforce these and ensure that all pipelines stay in sync, we have developed a helper tool which runs checks on the pipeline code. This is in the [nf-core/tools repository](https://github.com/nf-core/tools) and once installed can be run locally with the `nf-core pipelines lint <pipeline-directory>` command.

If any failures or warnings are encountered, please follow the listed URL for more documentation.

Expand All @@ -53,27 +55,27 @@ These tests are run both with the latest available version of `Nextflow` and als

:warning: Only in the unlikely and regretful event of a release happening with a bug.

- On your own fork, make a new branch `patch` based on `upstream/master`.
- On your own fork, make a new branch `patch` based on `upstream/main` or `upstream/master`.
- Fix the bug, and bump version (X.Y.Z+1).
- A PR should be made on `master` from patch to directly this particular bug.
- Open a pull-request from `patch` to `main`/`master` with the changes.

## Getting help

For further information/help, please consult the [nf-core/nascent documentation](https://nf-co.re/nascent/usage) and don't hesitate to get in touch on the nf-core Slack [#nascent](https://nfcore.slack.com/channels/nascent) channel ([join our Slack here](https://nf-co.re/join/slack)).

## Pipeline contribution conventions

To make the nf-core/nascent code and processing logic more understandable for new contributors and to ensure quality, we semi-standardise the way the code and other contributions are written.
To make the `nf-core/nascent` code and processing logic more understandable for new contributors and to ensure quality, we semi-standardise the way the code and other contributions are written.

### Adding a new step

If you wish to contribute a new step, please use the following coding standards:

1. Define the corresponding input channel into your new process from the expected previous process channel
1. Define the corresponding input channel into your new process from the expected previous process channel.
2. Write the process block (see below).
3. Define the output channel if needed (see below).
4. Add any new parameters to `nextflow.config` with a default (see below).
5. Add any new parameters to `nextflow_schema.json` with help text (via the `nf-core schema build` tool).
5. Add any new parameters to `nextflow_schema.json` with help text (via the `nf-core pipelines schema build` tool).
6. Add sanity checks and validation for all relevant parameters.
7. Perform local tests to validate that the new code works as expected.
8. If applicable, add a new test command in `.github/workflow/ci.yml`.
Expand All @@ -82,15 +84,15 @@ If you wish to contribute a new step, please use the following coding standards:

### Default values

Parameters should be initialised / defined with default values in `nextflow.config` under the `params` scope.
Parameters should be initialised / defined with default values within the `params` scope in `nextflow.config`.

Once there, use `nf-core schema build` to add to `nextflow_schema.json`.
Once there, use `nf-core pipelines schema build` to add to `nextflow_schema.json`.

### Default processes resource requirements

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.
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/main/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 All @@ -101,7 +103,7 @@ Please use the following naming schemes, to make it easy to understand what is g

### Nextflow version bumping

If you are using a new feature from core Nextflow, you may bump the minimum required version of nextflow in the pipeline with: `nf-core bump-version --nextflow . [min-nf-version]`
If you are using a new feature from core Nextflow, you may bump the minimum required version of nextflow in the pipeline with: `nf-core pipelines bump-version --nextflow . [min-nf-version]`

### Images and figures

Expand Down
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ body:

- [nf-core website: troubleshooting](https://nf-co.re/usage/troubleshooting)
- [nf-core/nascent pipeline documentation](https://nf-co.re/nascent/usage)

- type: textarea
id: description
attributes:
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 @@ -17,7 +17,7 @@ Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/nasc
- [ ] 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/nascent/tree/master/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/nascent _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] Make sure your code lints (`nf-core lint`).
- [ ] Make sure your code lints (`nf-core pipelines lint`).
- [ ] Ensure the test suite passes (`nextflow run . -profile test,docker --outdir <OUTDIR>`).
- [ ] Check for unexpected warnings in debug mode (`nextflow run . -profile debug,test,docker --outdir <OUTDIR>`).
- [ ] Usage Documentation in `docs/usage.md` is updated.
Expand Down
48 changes: 39 additions & 9 deletions .github/workflows/awsfulltest.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,49 @@
name: nf-core AWS full size tests
# This workflow is triggered on published releases.
# This workflow is triggered on PRs opened against the main/master branch.
# 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]
pull_request:
branches:
- main
- master
workflow_dispatch:
pull_request_review:
types: [submitted]

jobs:
run-tower:
run-platform:
name: Run AWS full tests
if: github.repository == 'nf-core/nascent'
# run only if the PR is approved by at least 2 reviewers and against the master branch or manually triggered
if: github.repository == 'nf-core/nascent' && github.event.review.state == 'approved' && github.event.pull_request.base.ref == 'master' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Launch workflow via tower
- name: Get PR reviews
uses: octokit/[email protected]
if: github.event_name != 'workflow_dispatch'
id: check_approvals
continue-on-error: true
with:
route: GET /repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews?per_page=100
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Check for approvals
if: ${{ failure() && github.event_name != 'workflow_dispatch' }}
run: |
echo "No review approvals found. At least 2 approvals are required to run this action automatically."
exit 1

- name: Check for enough approvals (>=2)
id: test_variables
if: github.event_name != 'workflow_dispatch'
run: |
JSON_RESPONSE='${{ steps.check_approvals.outputs.data }}'
CURRENT_APPROVALS_COUNT=$(echo $JSON_RESPONSE | jq -c '[.[] | select(.state | contains("APPROVED")) ] | length')
test $CURRENT_APPROVALS_COUNT -ge 2 || exit 1 # At least 2 approvals are required

- name: Launch workflow via Seqera Platform
uses: seqeralabs/action-tower-launch@v2
with:
workspace_id: ${{ secrets.TOWER_WORKSPACE_ID }}
Expand All @@ -30,7 +60,7 @@ jobs:

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

- uses: actions/upload-artifact@v4
with:
name: Tower debug log file
name: Seqera Platform debug log file
path: |
tower_action_*.log
tower_action_*.json
seqera_platform_action_*.log
seqera_platform_action_*.json
20 changes: 11 additions & 9 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
name: nf-core branch protection
# This workflow is triggered on PRs to master branch on the repository
# It fails when someone tries to make a PR against the nf-core `master` branch instead of `dev`
# This workflow is triggered on PRs to `main`/`master` branch on the repository
# It fails when someone tries to make a PR against the nf-core `main`/`master` branch instead of `dev`
on:
pull_request_target:
branches: [master]
branches:
- main
- master

jobs:
test:
runs-on: ubuntu-latest
steps:
# PRs to the nf-core repo master branch are only ok if coming from the nf-core repo `dev` or any `patch` branches
# PRs to the nf-core repo main/master branch are only ok if coming from the nf-core repo `dev` or any `patch` branches
- name: Check PRs
if: github.repository == 'nf-core/nascent'
run: |
Expand All @@ -19,10 +21,10 @@ 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:
## This PR is against the `${{github.event.pull_request.base.ref}}` branch :x:

* Do not close this PR
* Click _Edit_ and change the `base` to `dev`
Expand All @@ -32,9 +34,9 @@ jobs:

Hi @${{ github.event.pull_request.user.login }},

It looks like this pull-request is has been made against the [${{github.event.pull_request.head.repo.full_name }}](https://github.com/${{github.event.pull_request.head.repo.full_name }}) `master` branch.
The `master` branch on nf-core repositories should always contain code from the latest release.
Because of this, PRs to `master` are only allowed if they come from the [${{github.event.pull_request.head.repo.full_name }}](https://github.com/${{github.event.pull_request.head.repo.full_name }}) `dev` branch.
It looks like this pull-request is has been made against the [${{github.event.pull_request.head.repo.full_name }}](https://github.com/${{github.event.pull_request.head.repo.full_name }}) ${{github.event.pull_request.base.ref}} branch.
The ${{github.event.pull_request.base.ref}} branch on nf-core repositories should always contain code from the latest release.
Because of this, PRs to ${{github.event.pull_request.base.ref}} are only allowed if they come from the [${{github.event.pull_request.head.repo.full_name }}](https://github.com/${{github.event.pull_request.head.repo.full_name }}) `dev` branch.

You do not need to close this PR, you can change the target branch to `dev` by clicking the _"Edit"_ button at the top of this page.
Note that even after this, the test will continue to show as failing until you push a new commit.
Expand Down
Loading
Loading