Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
335 commits
Select commit Hold shift + click to select a range
659794a
Update dmscore.nf
BenjaminWehnert1008 May 2, 2025
ba955d2
Update aaseq.nf
BenjaminWehnert1008 May 2, 2025
38c6d3a
Update aaseq.nf
BenjaminWehnert1008 May 2, 2025
7347161
Update aaseq.nf
BenjaminWehnert1008 May 2, 2025
8248af9
Update aaseq.nf
BenjaminWehnert1008 May 2, 2025
c6b5f8a
Update aaseq.nf
BenjaminWehnert1008 May 2, 2025
5c3c1a7
Update aaseq.nf
BenjaminWehnert1008 May 2, 2025
a2d4c46
Update dmscore.nf
BenjaminWehnert1008 May 6, 2025
9239de8
possible mutations module
BenjaminWehnert1008 May 6, 2025
15c422f
move possible mutations script
BenjaminWehnert1008 May 6, 2025
bf0f293
Update possiblemutations.nf
BenjaminWehnert1008 May 6, 2025
599f5b1
Update dmscore.nf
BenjaminWehnert1008 May 6, 2025
18d9883
Update possiblemutations.nf
BenjaminWehnert1008 May 6, 2025
548dd7d
restructure folders
BenjaminWehnert1008 May 6, 2025
b4aa379
Update dmscore.nf
BenjaminWehnert1008 May 6, 2025
7c201fe
Update possiblemutations.nf
BenjaminWehnert1008 May 7, 2025
fd9406a
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
cf99caf
Update possiblemutations.nf
BenjaminWehnert1008 May 7, 2025
13a8e64
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
17f9a6c
Update possiblemutations.nf
BenjaminWehnert1008 May 7, 2025
8419034
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
043384c
Update possiblemutations.nf
BenjaminWehnert1008 May 7, 2025
2c0d4a3
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
6002317
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
89fcc69
Update possiblemutations.nf
BenjaminWehnert1008 May 7, 2025
273cbb6
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
34a0853
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
9041601
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
298ff18
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
5adbeb4
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
f55191d
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
0dc0891
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
4d81bac
Update possiblemutations.nf
BenjaminWehnert1008 May 7, 2025
0f2d905
Update possiblemutations.nf
BenjaminWehnert1008 May 7, 2025
431278b
Update aaseq.nf
BenjaminWehnert1008 May 7, 2025
4047a3c
Update possiblemutations.nf
BenjaminWehnert1008 May 7, 2025
ddf66e1
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
cd91875
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
c1f4641
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
7326ed1
Update nextflow_schema.json
BenjaminWehnert1008 May 7, 2025
ae9928c
Update nextflow_schema.json
BenjaminWehnert1008 May 7, 2025
2dc910a
Update nextflow_schema.json
BenjaminWehnert1008 May 7, 2025
04a19f3
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
1800f68
Update possiblemutations.nf
BenjaminWehnert1008 May 7, 2025
5eb97d1
Update aaseq.nf
BenjaminWehnert1008 May 7, 2025
1438b13
Update modules.config
BenjaminWehnert1008 May 7, 2025
7e428ac
Update modules.config
BenjaminWehnert1008 May 7, 2025
0dec1e4
Update modules.config
BenjaminWehnert1008 May 7, 2025
e7bd7bc
Update modules.config
BenjaminWehnert1008 May 7, 2025
413085d
Update modules.config
BenjaminWehnert1008 May 7, 2025
0cda733
Update modules.config
BenjaminWehnert1008 May 7, 2025
4d7ccd0
Update modules.config
BenjaminWehnert1008 May 7, 2025
25525a0
process gatk script
BenjaminWehnert1008 May 7, 2025
14396c4
Update processgatk.nf
BenjaminWehnert1008 May 7, 2025
c748de5
Update processgatk.nf
BenjaminWehnert1008 May 7, 2025
aec5216
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
1c26e14
Update modules.config
BenjaminWehnert1008 May 7, 2025
da2ed35
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
588e669
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
2ba8f36
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
7d23610
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
9bc05d7
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
ca8af1c
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
10007ed
Update saturationmutagenesis.nf
BenjaminWehnert1008 May 7, 2025
90d2735
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
0a6c391
Update dmscore.nf
BenjaminWehnert1008 May 7, 2025
e34671a
Update saturationmutagenesis.nf
BenjaminWehnert1008 May 7, 2025
f9c4d0c
Update saturationmutagenesis.nf
BenjaminWehnert1008 May 7, 2025
5489d95
Update saturationmutagenesis.nf
BenjaminWehnert1008 May 7, 2025
1c5bb4f
Update dmscore.nf
BenjaminWehnert1008 May 8, 2025
a8539f5
Update visualization.nf
BenjaminWehnert1008 May 8, 2025
658fca2
Update dmscore.nf
BenjaminWehnert1008 May 8, 2025
7f981ad
Update dmscore.nf
BenjaminWehnert1008 May 8, 2025
4f9f7b9
Update dmscore.nf
BenjaminWehnert1008 May 8, 2025
420319a
Update visualization.nf
BenjaminWehnert1008 May 8, 2025
0a084c7
Update modules.config
BenjaminWehnert1008 May 8, 2025
d49f694
Update dmscore.nf
BenjaminWehnert1008 May 8, 2025
3d3a8c9
Update visualization.nf
BenjaminWehnert1008 May 9, 2025
3f7e6e1
Update modules.config
BenjaminWehnert1008 May 9, 2025
9851e09
Update dmscore.nf
BenjaminWehnert1008 May 9, 2025
8fd57eb
Update dmscore.nf
BenjaminWehnert1008 May 9, 2025
0ae331e
Update visualization.nf
BenjaminWehnert1008 May 9, 2025
7d9f84a
Update dmscore.nf
BenjaminWehnert1008 May 9, 2025
6835f6a
Update modules.config
BenjaminWehnert1008 May 9, 2025
c7d93f2
Update visualization.nf
BenjaminWehnert1008 May 9, 2025
bc962ff
Update modules.config
BenjaminWehnert1008 May 9, 2025
286f0db
Update dmscore.nf
BenjaminWehnert1008 May 9, 2025
1cf11a7
Update dmscore.nf
BenjaminWehnert1008 May 9, 2025
bce6750
Update modules.config
BenjaminWehnert1008 May 9, 2025
670204c
Update visualization.nf
BenjaminWehnert1008 May 9, 2025
4c9957d
Update dmscore.nf
BenjaminWehnert1008 May 9, 2025
182728b
Update modules.config
BenjaminWehnert1008 May 9, 2025
d4fcba3
Update visualization.nf
BenjaminWehnert1008 May 9, 2025
06fa544
Update dmscore.nf
BenjaminWehnert1008 May 9, 2025
b68948d
Update modules.config
BenjaminWehnert1008 May 9, 2025
672da83
Update visualization.nf
BenjaminWehnert1008 May 9, 2025
44f8ae2
Update dmscore.nf
BenjaminWehnert1008 May 9, 2025
9895f02
Update dmscore.nf
BenjaminWehnert1008 May 9, 2025
600635e
gatk to dimsum
BenjaminWehnert1008 May 9, 2025
6ad8e74
Update gatktodimsum.nf
BenjaminWehnert1008 May 9, 2025
1156f2d
Update dmscore.nf
BenjaminWehnert1008 May 9, 2025
51e8e91
Update modules.config
BenjaminWehnert1008 May 9, 2025
51f497e
Update dmscore.nf
BenjaminWehnert1008 May 9, 2025
930e9b4
Update dmscore.nf
BenjaminWehnert1008 May 9, 2025
23e325b
Update dmscore.nf
BenjaminWehnert1008 May 9, 2025
fdb6365
Update dmscore.nf
BenjaminWehnert1008 May 9, 2025
78402d0
Update nextflow_schema.json
BenjaminWehnert1008 May 9, 2025
45174d5
Update nextflow_schema.json
BenjaminWehnert1008 May 9, 2025
8e13785
Update nextflow.config to implement local memory and CPU requirements
BenjaminWehnert1008 Jul 2, 2025
c47b3bb
Update nextflow.config to add slurm config
BenjaminWehnert1008 Jul 2, 2025
a031260
Update nextflow.config
BenjaminWehnert1008 Jul 2, 2025
8b75011
Update nextflow.config
BenjaminWehnert1008 Jul 2, 2025
30080a1
Update nextflow.config
BenjaminWehnert1008 Jul 2, 2025
c42043d
Update possiblemutations.nf
BenjaminWehnert1008 Jul 21, 2025
6ce8e7f
Update aaseq.nf
BenjaminWehnert1008 Jul 21, 2025
a78e3dd
Update processgatk.nf
BenjaminWehnert1008 Jul 21, 2025
b7c4f11
Update gatktodimsum.nf
BenjaminWehnert1008 Jul 21, 2025
289786a
Update visualization.nf
BenjaminWehnert1008 Jul 21, 2025
b51e522
Update visualization.nf
BenjaminWehnert1008 Jul 21, 2025
f691dd4
Update README.md
MaximilianStammnitz Jul 28, 2025
1055964
Update README.md
MaximilianStammnitz Jul 28, 2025
669b696
Update README.md
MaximilianStammnitz Jul 28, 2025
432e664
Update README.md
MaximilianStammnitz Jul 28, 2025
60b01e2
Update README.md
MaximilianStammnitz Jul 28, 2025
615577c
Update README.md
MaximilianStammnitz Jul 28, 2025
9af440c
Update README.md
MaximilianStammnitz Jul 28, 2025
2e653db
Update README.md
MaximilianStammnitz Jul 28, 2025
6e1d70e
Update README.md
MaximilianStammnitz Jul 28, 2025
c275288
Update README.md
MaximilianStammnitz Jul 28, 2025
4f86643
Update README.md
MaximilianStammnitz Jul 28, 2025
178a4fa
Update README.md
MaximilianStammnitz Jul 28, 2025
fb8f30d
Update README.md
MaximilianStammnitz Jul 28, 2025
a3bffb7
Update README.md
MaximilianStammnitz Jul 28, 2025
e825bef
Update README.md
MaximilianStammnitz Jul 28, 2025
4e4a4ae
Update README.md
MaximilianStammnitz Jul 28, 2025
83d4e39
Update README.md
MaximilianStammnitz Jul 28, 2025
9c5b4a6
Update README.md
MaximilianStammnitz Jul 28, 2025
de38f6d
Update README.md
MaximilianStammnitz Jul 28, 2025
12d2f4b
Update README.md
MaximilianStammnitz Jul 28, 2025
506ef1c
Update README.md
MaximilianStammnitz Jul 28, 2025
0907c5a
Merge pull request #2 from MaximilianStammnitz/dev
BenjaminWehnert1008 Jul 29, 2025
874c7b6
Update README.md
MaximilianStammnitz Aug 7, 2025
524e26e
Update README.md
MaximilianStammnitz Aug 7, 2025
beebdea
Update README.md
MaximilianStammnitz Aug 8, 2025
4db09be
first part for multiple samples processing
BenjaminWehnert1008 Aug 25, 2025
ab07dd2
second part for multiple samples processing
BenjaminWehnert1008 Aug 27, 2025
6dd6255
third part for multiple samples processing
BenjaminWehnert1008 Aug 27, 2025
ba59f7c
Create pipeline_steps.md
MaximilianStammnitz Aug 27, 2025
bc60896
Update pipeline_steps.md
MaximilianStammnitz Aug 27, 2025
5b55919
lowcpu profile
BenjaminWehnert1008 Aug 27, 2025
8a950ff
launch from outside the folder
BenjaminWehnert1008 Aug 27, 2025
cb2624a
Update pipeline_steps.md
MaximilianStammnitz Aug 27, 2025
80794fb
Update pipeline_steps.md
MaximilianStammnitz Aug 27, 2025
74d5e47
Add files via upload
MaximilianStammnitz Aug 27, 2025
535a0d6
Update README.md
MaximilianStammnitz Aug 27, 2025
2d4dad5
Update pipeline_steps.md
MaximilianStammnitz Aug 27, 2025
1126e41
Update pipeline_steps.md
MaximilianStammnitz Aug 27, 2025
147a7f7
Merge pull request #3 from MaximilianStammnitz/dev
BenjaminWehnert1008 Aug 28, 2025
b25ec26
Update README.md
MaximilianStammnitz Aug 28, 2025
37d4e92
Update pipeline_steps.md
MaximilianStammnitz Aug 28, 2025
d272cfe
multi-sample processing finalised
BenjaminWehnert1008 Aug 28, 2025
6b84cdc
Update CONTRIBUTING.md
MaximilianStammnitz Aug 28, 2025
3e0696e
Update LICENSE
MaximilianStammnitz Aug 28, 2025
83d6e64
Update .nf-core.yml
MaximilianStammnitz Aug 28, 2025
d71c2ad
new name
BenjaminWehnert1008 Aug 28, 2025
7c4b2f7
Template update for nf-core/tools version 3.1.2
BenjaminWehnert1008 Aug 28, 2025
5a252c8
Merge TEMPLATE after rename; keep template CI and my pipeline settings
BenjaminWehnert1008 Aug 28, 2025
bffbedc
Merge pull request #5 from BenjaminWehnert1008/rename-sync-merge
BenjaminWehnert1008 Aug 28, 2025
48afda9
Merge branch 'dev' into dev
BenjaminWehnert1008 Aug 28, 2025
7b59765
Merge pull request #4 from MaximilianStammnitz/dev
BenjaminWehnert1008 Aug 28, 2025
868cc8f
finishing renaming process
BenjaminWehnert1008 Aug 28, 2025
0709ceb
make complete caching (-resume) possible
BenjaminWehnert1008 Aug 28, 2025
4d9325d
Update README.md
MaximilianStammnitz Aug 28, 2025
0230915
Update README.md
MaximilianStammnitz Aug 28, 2025
077bc6b
Update README.md
MaximilianStammnitz Aug 28, 2025
0fae26e
Update README.md
MaximilianStammnitz Aug 28, 2025
2fc4a34
Update pipeline_steps.md
MaximilianStammnitz Sep 3, 2025
e1dd342
merging counts for DiMSum input
BenjaminWehnert1008 Sep 9, 2025
6249a11
Merge pull request #6 from MaximilianStammnitz/dev
BenjaminWehnert1008 Sep 9, 2025
db9c0a9
experimental design file for dimsum
BenjaminWehnert1008 Sep 9, 2025
57c041f
catch high-count 2nt syn variant
BenjaminWehnert1008 Sep 12, 2025
65a861e
dimsum (No Docker container -> only use on cluster)
BenjaminWehnert1008 Sep 12, 2025
a344d90
Update nextflow.config
MaximilianStammnitz Sep 14, 2025
58b22f0
call of wt_seq
BenjaminWehnert1008 Sep 14, 2025
99ad792
Update nextflow.config
BenjaminWehnert1008 Sep 14, 2025
4a4e090
Update modules.config
BenjaminWehnert1008 Sep 14, 2025
527865d
Merge branch 'BenjaminWehnert1008:dev' into dev
MaximilianStammnitz Sep 15, 2025
f3e3146
Update dimsum_experimentalDesign.R
MaximilianStammnitz Sep 15, 2025
1ffecbd
Merge pull request #8 from MaximilianStammnitz/dev
BenjaminWehnert1008 Sep 15, 2025
f685000
Update run_dimsum.nf
MaximilianStammnitz Sep 15, 2025
4fbb8f4
Update run_dimsum.nf
MaximilianStammnitz Sep 15, 2025
9285b15
Update run_dimsum.nf
MaximilianStammnitz Sep 15, 2025
6407aa0
Update run_dimsum.nf
MaximilianStammnitz Sep 21, 2025
955be99
Update pipeline_steps.md
MaximilianStammnitz Oct 27, 2025
9a434c6
Update pipeline_steps.md
MaximilianStammnitz Oct 27, 2025
2504375
Update README.md
MaximilianStammnitz Oct 27, 2025
49f1551
Merge pull request #9 from MaximilianStammnitz/dev
BenjaminWehnert1008 Oct 28, 2025
5b20a24
update folder structure from dimsum to fitness for modules, scripts, …
BenjaminWehnert1008 Oct 30, 2025
89161eb
Update deepmutscan.nf
BenjaminWehnert1008 Oct 30, 2025
a3d999d
new default fitness calculation
BenjaminWehnert1008 Oct 30, 2025
6e1e2ea
Resolve merge conflict in workflows/deepmutscan.nf
BenjaminWehnert1008 Oct 30, 2025
de284cb
make dimsum conditional to --fitness true
BenjaminWehnert1008 Oct 30, 2025
3709de1
automated compatibility warning when using DiMSum
BenjaminWehnert1008 Oct 30, 2025
d1fcb34
added base R fitness correlation plots
BenjaminWehnert1008 Oct 31, 2025
781963e
fitness heatmap with correct amino acid order
BenjaminWehnert1008 Nov 3, 2025
39ce619
Add files via upload
MaximilianStammnitz Nov 3, 2025
6c15247
Update counts_heatmap.R
MaximilianStammnitz Nov 3, 2025
ab17ed0
Update counts_per_cov_heatmap.R
MaximilianStammnitz Nov 3, 2025
ced474e
Update fitness_heatmap.R
MaximilianStammnitz Nov 3, 2025
6be248c
Merge pull request #11 from MaximilianStammnitz/dev
BenjaminWehnert1008 Nov 3, 2025
059df71
new structure of output folders
BenjaminWehnert1008 Nov 3, 2025
b89726a
Update README.md
MaximilianStammnitz Nov 6, 2025
636d84f
Update pipeline_steps.md
MaximilianStammnitz Nov 6, 2025
3217b2f
Update samplesheet.csv
MaximilianStammnitz Nov 6, 2025
dfb4e01
Update samplesheet.csv
MaximilianStammnitz Nov 6, 2025
eac51b0
Update samplesheet.csv
MaximilianStammnitz Nov 6, 2025
d0a22af
Merge pull request #12 from MaximilianStammnitz/dev
BenjaminWehnert1008 Nov 6, 2025
61a60c5
Update README.md
MaximilianStammnitz Nov 6, 2025
cf02d89
Update README.md
MaximilianStammnitz Nov 7, 2025
9b7ec45
Update README.md
MaximilianStammnitz Nov 7, 2025
386461a
Merge pull request #13 from MaximilianStammnitz/dev
BenjaminWehnert1008 Nov 7, 2025
1ad0fd9
automatic changes
BenjaminWehnert1008 Nov 9, 2025
e114b45
further linting fixes
BenjaminWehnert1008 Nov 9, 2025
32b3e9c
edited Required flags
BenjaminWehnert1008 Nov 9, 2025
f2c605f
linting in main.nf
BenjaminWehnert1008 Nov 9, 2025
c2c99d6
linting
BenjaminWehnert1008 Nov 9, 2025
853ae9c
Create README.md
MaximilianStammnitz Nov 10, 2025
538c758
Added test data directly to the repo
MaximilianStammnitz Nov 10, 2025
89cd497
bumping the version to 1.0.0
BenjaminWehnert1008 Nov 10, 2025
1c4c6dd
Merge pull request #14 from MaximilianStammnitz/dev
BenjaminWehnert1008 Nov 10, 2025
e8a7965
Update README.md
MaximilianStammnitz Nov 11, 2025
50f0dd3
Update README.md
MaximilianStammnitz Nov 11, 2025
c006745
Update README.md
MaximilianStammnitz Nov 11, 2025
47c49ff
Update usage.md
MaximilianStammnitz Nov 11, 2025
f489dc2
Update README.md
MaximilianStammnitz Nov 11, 2025
8bf954a
Update usage.md
MaximilianStammnitz Nov 11, 2025
e0dc19b
Update output.md
MaximilianStammnitz Nov 11, 2025
f58c080
[automated] Fix code linting
nf-core-bot Nov 11, 2025
2084ba5
Template update for nf-core/tools version 3.4.1
nf-core-bot Nov 11, 2025
dec9ccb
Update docs/output.md
MaximilianStammnitz Nov 12, 2025
c914254
Update docs/output.md
MaximilianStammnitz Nov 12, 2025
7591612
Update docs/usage.md
MaximilianStammnitz Nov 12, 2025
e87b806
Update README.md
MaximilianStammnitz Nov 12, 2025
178fc85
Update README.md
MaximilianStammnitz Nov 12, 2025
c9482ec
Merge pull request #15 from MaximilianStammnitz/dev
MaximilianStammnitz Nov 12, 2025
e71d014
Merge branch 'dev' of github.com:nf-core/deepmutscan into nf-core-tem…
mashehu Nov 13, 2025
f21d00c
fix linting using `pre-commit run --all-files`
mashehu Nov 13, 2025
15e1902
fix ro-crate linting error
mashehu Nov 13, 2025
c4a7470
fix nextflow version
mashehu Nov 13, 2025
4825e8b
Merge pull request #16 from nf-core/nf-core-template-merge-3.4.1
mashehu Nov 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"name": "nfcore",
"image": "nfcore/gitpod:latest",
"remoteUser": "gitpod",
"runArgs": ["--privileged"],
"image": "nfcore/devcontainer:latest",

// 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"
},
"remoteUser": "root",
"privileged": true,

// Add the IDs of extensions you want installed when the container is created.
"extensions": ["ms-python.python", "ms-python.vscode-pylance", "nf-core.nf-core-extensionpack"]
}
"remoteEnv": {
// Workspace path on the host for mounting with docker-outside-of-docker
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}"
},

"onCreateCommand": "./.devcontainer/setup.sh",

"hostRequirements": {
"cpus": 4,
"memory": "16gb",
"storage": "32gb"
}
}
13 changes: 13 additions & 0 deletions .devcontainer/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env bash

# Customise the terminal command prompt
echo "export PROMPT_DIRTRIM=2" >> $HOME/.bashrc
echo "export PS1='\[\e[3;36m\]\w ->\[\e[0m\\] '" >> $HOME/.bashrc
export PROMPT_DIRTRIM=2
export PS1='\[\e[3;36m\]\w ->\[\e[0m\\] '

# Update Nextflow
nextflow self-update

# Update welcome message
echo "Welcome to the nf-core/deepmutscan devcontainer!" > /usr/local/etc/vscode-dev-containers/first-run-notice.txt
37 changes: 0 additions & 37 deletions .editorconfig

This file was deleted.

22 changes: 11 additions & 11 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# `nf-core/dmscore`: Contributing Guidelines
# `nf-core/deepmutscan`: Contributing Guidelines

Hi there!
Many thanks for taking an interest in improving nf-core/dmscore.
Many thanks for taking an interest in improving nf-core/deepmutscan.

We try to manage the required tasks for nf-core/dmscore using GitHub issues, you probably came to this page when creating one.
We try to manage the required tasks for nf-core/deepmutscan using GitHub issues, you probably came to this page when creating one.
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/dmscore then the best place to ask is on the nf-core Slack [#dmscore](https://nfcore.slack.com/channels/dmscore) channel ([join our Slack here](https://nf-co.re/join/slack)).
> If you need help using or modifying nf-core/deepmutscan then the best place to ask is on the nf-core Slack [#deepmutscan](https://nfcore.slack.com/channels/deepmutscan) channel ([join our Slack here](https://nf-co.re/join/slack)).

## Contribution workflow

If you'd like to write some code for nf-core/dmscore, the standard workflow is as follows:
If you'd like to write some code for nf-core/deepmutscan, the standard workflow is as follows:

1. Check that there isn't already an issue about your idea in the [nf-core/dmscore issues](https://github.com/nf-core/dmscore/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/dmscore repository](https://github.com/nf-core/dmscore) to your GitHub account
1. Check that there isn't already an issue about your idea in the [nf-core/deepmutscan issues](https://github.com/nf-core/deepmutscan/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/deepmutscan repository](https://github.com/nf-core/deepmutscan) to your GitHub account
3. Make the necessary changes / additions within your forked repository following [Pipeline conventions](#pipeline-contribution-conventions)
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
Expand Down Expand Up @@ -61,11 +61,11 @@ These tests are run both with the latest available version of `Nextflow` and als

## Getting help

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

## Pipeline contribution conventions

To make the `nf-core/dmscore` 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/deepmutscan` 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

Expand All @@ -78,7 +78,7 @@ If you wish to contribute a new step, please use the following coding standards:
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`.
8. If applicable, add a new test in the `tests` directory.
9. Update MultiQC config `assets/multiqc_config.yml` so relevant suffixes, file name clean up and module plots are in the appropriate order. If applicable, add a [MultiQC](https://https://multiqc.info/) module.
10. Add a description of the output files and if relevant any appropriate images from the MultiQC report to `docs/output.md`.

Expand Down Expand Up @@ -115,7 +115,7 @@ This repo includes a devcontainer configuration which will create a GitHub Codes

To get started:

- Open the repo in [Codespaces](https://github.com/nf-core/dmscore/codespaces)
- Open the repo in [Codespaces](https://github.com/nf-core/deepmutscan/codespaces)
- Tools installed
- nf-core
- Nextflow
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ body:
Before you post this issue, please check the documentation:

- [nf-core website: troubleshooting](https://nf-co.re/usage/troubleshooting)
- [nf-core/dmscore pipeline documentation](https://nf-co.re/dmscore/usage)
- [nf-core/deepmutscan pipeline documentation](https://nf-co.re/deepmutscan/usage)
- type: textarea
id: description
attributes:
Expand Down Expand Up @@ -46,4 +46,4 @@ body:
* Executor _(eg. slurm, local, awsbatch)_
* Container engine: _(e.g. Docker, Singularity, Conda, Podman, Shifter, Charliecloud, or Apptainer)_
* OS _(eg. CentOS Linux, macOS, Linux Mint)_
* Version of nf-core/dmscore _(eg. 1.1, 1.5, 1.8.2)_
* Version of nf-core/deepmutscan _(eg. 1.1, 1.5, 1.8.2)_
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ contact_links:
- name: Join nf-core
url: https://nf-co.re/join
about: Please join the nf-core community here
- name: "Slack #dmscore channel"
url: https://nfcore.slack.com/channels/dmscore
about: Discussion about the nf-core/dmscore pipeline
- name: "Slack #deepmutscan channel"
url: https://nfcore.slack.com/channels/deepmutscan
about: Discussion about the nf-core/deepmutscan pipeline
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Feature request
description: Suggest an idea for the nf-core/dmscore pipeline
description: Suggest an idea for the nf-core/deepmutscan pipeline
labels: enhancement
body:
- type: textarea
Expand Down
10 changes: 5 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<!--
# nf-core/dmscore pull request
# nf-core/deepmutscan pull request

Many thanks for contributing to nf-core/dmscore!
Many thanks for contributing to nf-core/deepmutscan!

Please fill in the appropriate checklist below (delete whatever is not relevant).
These are the most common things requested on pull requests (PRs).

Remember that PRs should be made against the dev branch, unless you're preparing a pipeline release.

Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/dmscore/tree/master/.github/CONTRIBUTING.md)
Learn more about contributing: [CONTRIBUTING.md](https://github.com/nf-core/deepmutscan/tree/master/.github/CONTRIBUTING.md)
-->

## PR checklist

- [ ] This comment contains a description of changes (with reason).
- [ ] If you've fixed a bug or added code that should be tested, add tests!
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/dmscore/tree/master/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/dmscore _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] If you've added a new tool - have you followed the pipeline conventions in the [contribution docs](https://github.com/nf-core/deepmutscan/tree/master/.github/CONTRIBUTING.md)
- [ ] If necessary, also make a PR on the nf-core/deepmutscan _branch_ on the [nf-core/test-datasets](https://github.com/nf-core/test-datasets) repository.
- [ ] 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>`).
Expand Down
69 changes: 69 additions & 0 deletions .github/actions/get-shards/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: "Get number of shards"
description: "Get the number of nf-test shards for the current CI job"
inputs:
max_shards:
description: "Maximum number of shards allowed"
required: true
paths:
description: "Component paths to test"
required: false
tags:
description: "Tags to pass as argument for nf-test --tag parameter"
required: false
outputs:
shard:
description: "Array of shard numbers"
value: ${{ steps.shards.outputs.shard }}
total_shards:
description: "Total number of shards"
value: ${{ steps.shards.outputs.total_shards }}
runs:
using: "composite"
steps:
- name: Install nf-test
uses: nf-core/setup-nf-test@v1
with:
version: ${{ env.NFT_VER }}
- name: Get number of shards
id: shards
shell: bash
run: |
# Run nf-test with dynamic parameter
nftest_output=$(nf-test test \
--profile +docker \
$(if [ -n "${{ inputs.tags }}" ]; then echo "--tag ${{ inputs.tags }}"; fi) \
--dry-run \
--ci \
--changed-since HEAD^) || {
echo "nf-test command failed with exit code $?"
echo "Full output: $nftest_output"
exit 1
}
echo "nf-test dry-run output: $nftest_output"

# Default values for shard and total_shards
shard="[]"
total_shards=0

# Check if there are related tests
if echo "$nftest_output" | grep -q 'No tests to execute'; then
echo "No related tests found."
else
# Extract the number of related tests
number_of_shards=$(echo "$nftest_output" | sed -n 's|.*Executed \([0-9]*\) tests.*|\1|p')
if [[ -n "$number_of_shards" && "$number_of_shards" -gt 0 ]]; then
shards_to_run=$(( $number_of_shards < ${{ inputs.max_shards }} ? $number_of_shards : ${{ inputs.max_shards }} ))
shard=$(seq 1 "$shards_to_run" | jq -R . | jq -c -s .)
total_shards="$shards_to_run"
else
echo "Unexpected output format. Falling back to default values."
fi
fi

# Write to GitHub Actions outputs
echo "shard=$shard" >> $GITHUB_OUTPUT
echo "total_shards=$total_shards" >> $GITHUB_OUTPUT

# Debugging output
echo "Final shard array: $shard"
echo "Total number of shards: $total_shards"
111 changes: 111 additions & 0 deletions .github/actions/nf-test/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
name: "nf-test Action"
description: "Runs nf-test with common setup steps"
inputs:
profile:
description: "Profile to use"
required: true
shard:
description: "Shard number for this CI job"
required: true
total_shards:
description: "Total number of test shards(NOT the total number of matrix jobs)"
required: true
paths:
description: "Test paths"
required: true
tags:
description: "Tags to pass as argument for nf-test --tag parameter"
required: false
runs:
using: "composite"
steps:
- name: Setup Nextflow
uses: nf-core/setup-nextflow@v2
with:
version: "${{ env.NXF_VERSION }}"

- name: Set up Python
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
with:
python-version: "3.14"

- name: Install nf-test
uses: nf-core/setup-nf-test@v1
with:
version: "${{ env.NFT_VER }}"
install-pdiff: true

- name: Setup apptainer
if: contains(inputs.profile, 'singularity')
uses: eWaterCycle/setup-apptainer@main

- name: Set up Singularity
if: contains(inputs.profile, 'singularity')
shell: bash
run: |
mkdir -p $NXF_SINGULARITY_CACHEDIR
mkdir -p $NXF_SINGULARITY_LIBRARYDIR

- name: Conda setup
if: contains(inputs.profile, 'conda')
uses: conda-incubator/setup-miniconda@505e6394dae86d6a5c7fbb6e3fb8938e3e863830 # v3
with:
auto-update-conda: true
conda-solver: libmamba
channels: conda-forge
channel-priority: strict
conda-remove-defaults: true

- name: Run nf-test
shell: bash
env:
NFT_WORKDIR: ${{ env.NFT_WORKDIR }}
run: |
nf-test test \
--profile=+${{ inputs.profile }} \
$(if [ -n "${{ inputs.tags }}" ]; then echo "--tag ${{ inputs.tags }}"; fi) \
--ci \
--changed-since HEAD^ \
--verbose \
--tap=test.tap \
--shard ${{ inputs.shard }}/${{ inputs.total_shards }}

# Save the absolute path of the test.tap file to the output
echo "tap_file_path=$(realpath test.tap)" >> $GITHUB_OUTPUT

- name: Generate test summary
if: always()
shell: bash
run: |
# Add header if it doesn't exist (using a token file to track this)
if [ ! -f ".summary_header" ]; then
echo "# 🚀 nf-test results" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "| Status | Test Name | Profile | Shard |" >> $GITHUB_STEP_SUMMARY
echo "|:------:|-----------|---------|-------|" >> $GITHUB_STEP_SUMMARY
touch .summary_header
fi

if [ -f test.tap ]; then
while IFS= read -r line; do
if [[ $line =~ ^ok ]]; then
test_name="${line#ok }"
# Remove the test number from the beginning
test_name="${test_name#* }"
echo "| ✅ | ${test_name} | ${{ inputs.profile }} | ${{ inputs.shard }}/${{ inputs.total_shards }} |" >> $GITHUB_STEP_SUMMARY
elif [[ $line =~ ^not\ ok ]]; then
test_name="${line#not ok }"
# Remove the test number from the beginning
test_name="${test_name#* }"
echo "| ❌ | ${test_name} | ${{ inputs.profile }} | ${{ inputs.shard }}/${{ inputs.total_shards }} |" >> $GITHUB_STEP_SUMMARY
fi
done < test.tap
else
echo "| ⚠️ | No test results found | ${{ inputs.profile }} | ${{ inputs.shard }}/${{ inputs.total_shards }} |" >> $GITHUB_STEP_SUMMARY
fi

- name: Clean up
if: always()
shell: bash
run: |
sudo rm -rf /home/ubuntu/tests/
Loading
Loading