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 #3

Open
wants to merge 230 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
230 commits
Select commit Hold shift + click to select a range
b66f9a3
add gadi config
ziadbkh Apr 19, 2024
442c6ce
add visualisation
ziadbkh May 12, 2024
b7bd69f
fix tower report
ziadbkh May 12, 2024
a7a870f
add plots
ziadbkh May 12, 2024
2d349a9
add figs to report
ziadbkh May 12, 2024
7a183c8
update
ziadbkh May 13, 2024
17eef1c
add visulaisation report
ziadbkh May 20, 2024
491b355
fix split msa
ziadbkh May 20, 2024
d6b0fff
fix split esm-fold nofile channel
ziadbkh May 20, 2024
d200e82
reports-update
ziadbkh Jul 1, 2024
80ed298
add plots
ziadbkh Jul 2, 2024
f419edd
new report
ziadbkh Jul 19, 2024
7e863d5
updated alphafold template with info on the left & navigation on the …
minh-biocommons Jul 24, 2024
6af9438
adding foldseek module
ziadbkh Aug 6, 2024
2c7b861
adding some commits from nf-core repo
ziadbkh Aug 6, 2024
34d6d78
Bump to version 1.1.0dev
athbaltzis Feb 15, 2023
9d7a81d
Update CHANGELOG
athbaltzis Feb 15, 2023
7792fa4
Add accelerator directive to GPU processes
robsyme Feb 28, 2023
86b7252
Add gpu to COLABFOLD_BATCH
robsyme Feb 28, 2023
a1b8827
Accelerator null instead of zero
robsyme Mar 1, 2023
e5c629b
If statement for accelerator
robsyme Mar 1, 2023
479d97e
Changelog fix
robsyme Mar 2, 2023
415d32f
Deal with multiline fasta for colabfold multimers
athbaltzis Mar 14, 2023
5c93f6b
Update CHANGELOG
athbaltzis Mar 14, 2023
5ac8eee
Reduce pdb_mmcif excessive symlinking
athbaltzis May 2, 2023
afbb5e1
Update documentation
athbaltzis May 2, 2023
0883f72
update paths
FriederikeHanssen Mar 15, 2023
3291b16
Update modules.json
athbaltzis May 2, 2023
eb24207
Update modules.json
athbaltzis May 2, 2023
584cb3b
Make prettier happy
athbaltzis May 2, 2023
11f691c
Update CHANGELOG.md
athbaltzis May 2, 2023
4314a19
Update dbs.config
athbaltzis May 2, 2023
5ffc6dc
Template update for nf-core/tools version 2.8
nf-core-bot Apr 28, 2023
a6b913c
Run prettier
athbaltzis May 2, 2023
e73842c
Update .github/workflows/awsfulltest.yml
athbaltzis May 2, 2023
37666bf
Added changes to run with new versions of colabfold (v.1.5.2) and alp…
May 3, 2023
fe4b352
Added changes to run with new versions of colabfold (v.1.5.2) and alp…
l-mansouri May 3, 2023
365aab3
Added changes to run with new versions of colabfold (v.1.5.2) and alp…
l-mansouri May 3, 2023
282acb9
changed params name in the stub run
May 3, 2023
3b1c5a9
specified where to fetch the ubuntu docker containers
May 3, 2023
bdf53ed
changed container names to be consisten with pipeline realease version
l-mansouri May 4, 2023
9180821
updated the name of the containers to the nf-core ones
l-mansouri May 5, 2023
07f1551
updated the name of the containers to the nf-core ones
l-mansouri May 5, 2023
9e43234
updated redfundant path
l-mansouri May 5, 2023
d140de2
Update modules/local/combine_uniprot.nf
l-mansouri May 5, 2023
0cb6d86
Update modules/local/multifasta_to_csv.nf
l-mansouri May 5, 2023
8e1c52c
Create esmfold module and workflow
athbaltzis Apr 28, 2023
30aa31e
Add WorkflowEsmofld.groovy
athbaltzis May 2, 2023
1056286
Add modules_esmfold config and fix arguments
athbaltzis May 2, 2023
410a8c2
Update nextflow_schema and nextflow.config
athbaltzis May 2, 2023
b2a53d6
Create ESMFOLD workflow
athbaltzis May 2, 2023
31da64b
Add test profiles for esmfold
athbaltzis May 2, 2023
d0681b7
Add ESMFOLD workflow to the main and fix bugs
athbaltzis May 4, 2023
ae17797
Update nextflow_schema
athbaltzis May 5, 2023
7f00318
Update metromap
athbaltzis May 5, 2023
8c4110e
Update README and docs
athbaltzis May 5, 2023
2cd31b7
Add colabfold server warning
athbaltzis May 5, 2023
b4f8a16
Add Citation
athbaltzis May 5, 2023
4964fef
Fix plddt tsv and update output docs
athbaltzis May 5, 2023
9131524
Update AWS mega tests paths
athbaltzis May 5, 2023
7b361bd
Update paths to docker images
athbaltzis May 5, 2023
5c43584
Fix prettier issues
athbaltzis May 5, 2023
ac40937
Fix prettier issues
athbaltzis May 5, 2023
2ec719a
Update CHANGELOG
athbaltzis May 5, 2023
64bef2c
Update paths to containers in local modules from dockerhub to quay
athbaltzis May 6, 2023
547d2e6
Align lines
athbaltzis May 8, 2023
ae47dcf
Update README.md
athbaltzis May 8, 2023
ec1530a
Update README.md
athbaltzis May 8, 2023
6ba015a
Update CHANGELOG.md
athbaltzis May 8, 2023
e77cf26
Update README.md
athbaltzis May 8, 2023
8e19b9b
Update nextflow.config
athbaltzis May 8, 2023
527e8d1
Update workflows/esmfold.nf
athbaltzis May 8, 2023
78e7919
Update subworkflows/local/prepare_esmfold_dbs.nf
athbaltzis May 8, 2023
35c57cf
Fix prettier
athbaltzis May 8, 2023
36ea0e0
Fix indent
athbaltzis May 9, 2023
1ee3eb2
Simplify prepare_esmfold
athbaltzis May 9, 2023
0d00a2d
Update subworkflows/local/prepare_esmfold_dbs.nf
athbaltzis May 10, 2023
6d618aa
Update workflows/esmfold.nf
athbaltzis May 10, 2023
b0fbe82
Update workflows/esmfold.nf
athbaltzis May 10, 2023
aac111c
Update workflows/esmfold.nf
athbaltzis May 10, 2023
4d89545
Update conf/dbs.config
athbaltzis May 10, 2023
e123287
Update CHANGELOG
athbaltzis May 10, 2023
9953abd
Update local module
JoseEspinosa May 10, 2023
6136a07
Get rid of quay in config containers
JoseEspinosa May 10, 2023
a624aca
Update nf-core modules
JoseEspinosa May 10, 2023
bc1d04a
Fix typo
JoseEspinosa May 10, 2023
77f1172
Fix indent
JoseEspinosa May 10, 2023
c74fcff
Make changelog version order descendent
JoseEspinosa May 12, 2023
b87938a
Update changelog
JoseEspinosa May 12, 2023
cc165f1
Remove untar patch
JoseEspinosa May 12, 2023
ffb6c37
Set a default docker registry outside of profile scope
JoseEspinosa May 12, 2023
95022e0
Add dev to changelog version and document last change
JoseEspinosa May 12, 2023
bfa49e6
Change uniclust30 to uniref30 path
athbaltzis May 16, 2023
c13339f
Update CHANGELOG
athbaltzis May 16, 2023
93061b8
Update colabfold container to python 3.10 and fix bug for multimers
athbaltzis May 17, 2023
1a7a7e4
Update docker registry
athbaltzis May 17, 2023
5784c90
Revert default docker.registry
athbaltzis May 17, 2023
a326622
Update container in MMSEQS_COLABFOLDSEARCH
athbaltzis May 17, 2023
b41679e
Update container for RUN_ALPHAFOLD2 module
athbaltzis May 17, 2023
7462efb
Change file read type to any
athbaltzis May 18, 2023
a58ac04
Fix bug with filename collision
athbaltzis May 18, 2023
7bcddf6
Update RUN_ALPHAFOLD2_MSA and RUN_ALPHAFOLD2_PRED containers
athbaltzis May 18, 2023
cf12e91
Update container paths and revert type of file read for alphafold dbs
athbaltzis May 19, 2023
e0ea823
Add dockerfiles
athbaltzis May 19, 2023
d14760f
Fix linting
athbaltzis May 19, 2023
e0fcb2e
Fix linting
athbaltzis May 19, 2023
ec0d643
Fix lintint 3rd attempt
athbaltzis May 19, 2023
f656709
Fix linting 4th attempt
athbaltzis May 19, 2023
fdd53da
Update CHANGELOG
athbaltzis May 19, 2023
84911ba
Add quay.io source for singularity pulls
athbaltzis May 19, 2023
8e1ed15
Update gpu flag for colabfold
athbaltzis May 20, 2023
5472996
Update COLABFOLD_BATCH dockerfile
athbaltzis Jun 1, 2023
1da1371
Update alphafold2 full_dbs parameter description
athbaltzis Jun 1, 2023
b2398ec
Put white bg to metro map png
athbaltzis Jun 1, 2023
35a3b82
Update CHANGELOG
athbaltzis Jun 1, 2023
a8db1ce
Update colabfold output name pattern
athbaltzis Jun 2, 2023
a8fa3f8
Rename figs
athbaltzis Jun 2, 2023
e9f93a2
Update README.md
athbaltzis Jun 2, 2023
1fce394
Add singularity.registry = 'quay.io' and bump nxf version to 23.04.0
JoseEspinosa Jun 14, 2023
3bdf93d
Update nf-core containers declaration
JoseEspinosa Jun 14, 2023
4e94cc7
Fix lint and update changelog
JoseEspinosa Jun 14, 2023
e81ec47
Use nxf version 23.04.0 in ci
JoseEspinosa Jun 14, 2023
649a02d
Change double quotes for single quotes to avoid expansion
JoseEspinosa Jun 29, 2023
5b32c07
Update changelog
JoseEspinosa Jun 29, 2023
cea4bbd
Adapt command for POSIX portability
JoseEspinosa Jun 30, 2023
29a7baa
Template update for nf-core/tools version 2.9
nf-core-bot Jun 30, 2023
31a99cc
Remove old params not longer used by nf-validation
JoseEspinosa Jul 3, 2023
c1630c4
Modify methodsDescriptionText in WorkflowColabfold and WorkflowEsmfold
JoseEspinosa Jul 3, 2023
1569793
Fix lints
JoseEspinosa Jul 3, 2023
95aa040
Remove tracedir according to current template
JoseEspinosa Jul 3, 2023
4c1c004
Fix nf-core lint
JoseEspinosa Jul 11, 2023
0bf246b
Update assets/multiqc_config.yml
JoseEspinosa Jul 11, 2023
14e2581
Update assets/multiqc_config.yml
JoseEspinosa Jul 11, 2023
f9128f7
Add file-path and mimetype to schema paths
JoseEspinosa Jul 21, 2023
d18bff1
Use nf-validation plugin for parameter validation
JoseEspinosa Jul 21, 2023
0dcbb19
Add input schema
JoseEspinosa Jul 21, 2023
91a3f4b
Replace input_check by nf-validation
JoseEspinosa Jul 21, 2023
aea2e71
Make lint happy
JoseEspinosa Jul 21, 2023
293ef33
Update changelog
JoseEspinosa Jul 21, 2023
4c361dc
Remove unused validationSchemaIgnoreParams
JoseEspinosa Jul 21, 2023
d4361e6
Making lint happy
JoseEspinosa Jul 21, 2023
25c6a98
Update paths to test dbs
JoseEspinosa Sep 6, 2023
c831bb7
Update changelog
JoseEspinosa Sep 6, 2023
5ff8105
Fix indent
JoseEspinosa Sep 7, 2023
90cd40c
Update changelog
JoseEspinosa Sep 7, 2023
27f601b
Template update for nf-core/tools version 2.10
nf-core-bot Sep 25, 2023
3af16f2
Add dump_parameters to the other subworkflows
JoseEspinosa Sep 26, 2023
3eee8c7
Update changelog
JoseEspinosa Sep 26, 2023
f8e29fc
Fix zenodo link
JoseEspinosa Sep 27, 2023
0c63090
Fix "Argument list too long" issue
JoseEspinosa Sep 29, 2023
f7b7933
Fix changelog msg
JoseEspinosa Sep 29, 2023
87ff823
Format changelog
JoseEspinosa Sep 29, 2023
5f034dd
Escape properly bash command
JoseEspinosa Sep 29, 2023
47d6a01
Call gunzip by file to avoid too argument error
JoseEspinosa Oct 3, 2023
d819b6b
Template update for nf-core/tools version 2.11
nf-core-bot Dec 19, 2023
33e83d4
Template update for nf-core/tools version 2.11.1
nf-core-bot Dec 20, 2023
6be6a3a
Template update for nf-core/tools version 2.12
nf-core-bot Jan 29, 2024
bb99c6f
Make prettier happy
JoseEspinosa Jan 30, 2024
bcc489b
Make prettier happy
JoseEspinosa Jan 30, 2024
4fd56ca
Fix schema
JoseEspinosa Jan 30, 2024
f267264
[automated] Fix linting with Prettier
nf-core-bot Jan 30, 2024
f36a395
First iteration towards lib removal
JoseEspinosa Feb 29, 2024
ff6fd23
Clean alphafold2 workflow
JoseEspinosa Feb 29, 2024
369e446
Clean colabfold workflow
JoseEspinosa Feb 29, 2024
dd362f6
Clean esmfold
JoseEspinosa Feb 29, 2024
46731c3
Clean prepare_esmfold_dbs
JoseEspinosa Feb 29, 2024
62030e9
Fix stub section
JoseEspinosa Feb 29, 2024
29d6d17
Update main
JoseEspinosa Feb 29, 2024
80667ff
Update subworkflows
JoseEspinosa Feb 29, 2024
dbdbf95
Update missing subworkflows
JoseEspinosa Feb 29, 2024
e82bece
Add take to prepare subworkflow
JoseEspinosa Feb 29, 2024
7aac58b
Fix colabfold workflow
JoseEspinosa Feb 29, 2024
6487ca2
Remove prints
JoseEspinosa Feb 29, 2024
7714bcb
Remove lib folder
JoseEspinosa Feb 29, 2024
24751b5
Update changelog
JoseEspinosa Feb 29, 2024
193e454
Make lint happy
JoseEspinosa Feb 29, 2024
0634b29
Fix lint
JoseEspinosa Feb 29, 2024
d6df411
Fix lint
JoseEspinosa Feb 29, 2024
72a5ca0
Fix error
JoseEspinosa Feb 29, 2024
fd5e421
Make nf-core lint happy
JoseEspinosa Feb 29, 2024
b5c88c1
Fix changelog
JoseEspinosa Mar 1, 2024
8b76e6f
Template update for nf-core/tools version 2.13
nf-core-bot Feb 20, 2024
4645e4a
Template update for nf-core/tools version 2.13.1
nf-core-bot Feb 29, 2024
3a5899b
Remove dumpsoftwareversions from modules.json
JoseEspinosa Mar 6, 2024
5c28e8b
Remove template updated files from files unchanged
JoseEspinosa Mar 6, 2024
cfa659e
Fix error introduced by the template merge
JoseEspinosa Mar 6, 2024
d738524
Remove duplicated line
JoseEspinosa Mar 6, 2024
7637e64
Update alphafold standard container
JoseEspinosa Mar 18, 2024
1b3013b
Update dockerfile alphafold standard
JoseEspinosa Mar 19, 2024
31bb85c
Update docker image for af2 msa for testing
JoseEspinosa Mar 19, 2024
9600e3f
Update alphafold dockerfiles
JoseEspinosa Mar 20, 2024
cc670a2
Use dev image for split mode (prediction step)
JoseEspinosa Mar 20, 2024
159dc76
Add error to modules that can not use conda
JoseEspinosa Mar 22, 2024
bfe37af
Update changelog
JoseEspinosa Mar 22, 2024
323f8b6
Force value channels to run all samples
JoseEspinosa Apr 18, 2024
3154607
Nicely align comments
JoseEspinosa Apr 18, 2024
f0937ee
Update changelog
JoseEspinosa Apr 18, 2024
5c0c9a6
Include esmfold small test
JoseEspinosa Apr 2, 2024
2d363a2
Add the esmfold test to ci
JoseEspinosa Apr 2, 2024
7dc5e33
Update link parameters name in schema, nextflow config, etc.
JoseEspinosa Apr 18, 2024
edd40d9
Update subworkflows/local/prepare_alphafold2_dbs.nf
JoseEspinosa Apr 18, 2024
d300905
add gadi config
ziadbkh Apr 19, 2024
2e43664
add visualisation
ziadbkh May 12, 2024
c2c6f37
fix tower report
ziadbkh May 12, 2024
3c9ff0e
add plots
ziadbkh May 12, 2024
4652078
add figs to report
ziadbkh May 12, 2024
0261a0a
update
ziadbkh May 13, 2024
bf50d64
add visulaisation report
ziadbkh May 20, 2024
6c44732
fix split msa
ziadbkh May 20, 2024
2cf02ba
fix split esm-fold nofile channel
ziadbkh May 20, 2024
83f5c14
reports-update
ziadbkh Jul 1, 2024
2a0a824
add plots
ziadbkh Jul 2, 2024
3907a7d
new report
ziadbkh Jul 19, 2024
00266e1
updated alphafold template with info on the left & navigation on the …
minh-biocommons Jul 24, 2024
4f613c6
adding foldseek module
ziadbkh Aug 6, 2024
dcc8bc4
adding some commits from nf-core repo
ziadbkh Aug 6, 2024
0c72da3
update
ziadbkh Aug 8, 2024
703888c
few fixes for pull
ziadbkh Aug 8, 2024
fd5657c
fix readme
ziadbkh Aug 8, 2024
f4b652a
minor fixes
ziadbkh Aug 8, 2024
c350387
update & tempalte & reduce report size
minh-biocommons Aug 22, 2024
6fb8137
Merge branch 'dev' of https://github.com/AustralianBioCommons/protein…
minh-biocommons Aug 22, 2024
9893830
update proteinfold template
minh-biocommons Aug 22, 2024
ed26181
update report
Aug 26, 2024
62a97eb
update report
Aug 26, 2024
eed4b4a
update report
minh-biocommons Sep 17, 2024
91c23c3
dynamic buttons from python args
minh-biocommons Sep 17, 2024
11cdda4
update
Sep 18, 2024
5251c21
update plddt
minh-biocommons Sep 26, 2024
56cc23b
generate tsv arg
minh-biocommons Sep 26, 2024
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
47 changes: 27 additions & 20 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,27 @@
{
"name": "nfcore",
"image": "nfcore/gitpod:latest",
"remoteUser": "gitpod",
"runArgs": ["--privileged"],

// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"python.defaultInterpreterPath": "/opt/conda/bin/python"
},

// 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"]
}
}
}
{
"name": "nfcore",
"image": "nfcore/gitpod:latest",
"remoteUser": "gitpod",

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

// Add the IDs of extensions you want installed when the container is created.
"extensions": ["ms-python.python", "ms-python.vscode-pylance", "nf-core.nf-core-extensionpack"]
}
}
}
70 changes: 33 additions & 37 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,37 +1,33 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_size = 4
indent_style = space

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

# These files are edited and tested upstream in nf-core/modules
[/modules/nf-core/**]
charset = unset
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = unset
[/subworkflows/nf-core/**]
charset = unset
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = unset

[/assets/email*]
indent_size = unset

# ignore Readme
[README.md]
indent_style = unset

# ignore python
[*.{py,md}]
indent_style = unset
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_size = 4
indent_style = space

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

# These files are edited and tested upstream in nf-core/modules
[/modules/nf-core/**]
charset = unset
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset
indent_style = 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 python and markdown
[*.{py,md}]
indent_style = unset
8 changes: 4 additions & 4 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*.config linguist-language=nextflow
*.nf.test linguist-language=nextflow
modules/nf-core/** linguist-generated
subworkflows/nf-core/** linguist-generated
*.config linguist-language=nextflow
*.nf.test linguist-language=nextflow
modules/nf-core/** linguist-generated
subworkflows/nf-core/** linguist-generated
12 changes: 6 additions & 6 deletions .github/.dockstore.yml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Dockstore config version, not pipeline version
version: 1.2
workflows:
- subclass: nfl
primaryDescriptorPath: /nextflow.config
publish: True
# Dockstore config version, not pipeline version
version: 1.2
workflows:
- subclass: nfl
primaryDescriptorPath: /nextflow.config
publish: True
250 changes: 125 additions & 125 deletions .github/CONTRIBUTING.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,125 +1,125 @@
# nf-core/proteinfold: Contributing Guidelines

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

We try to manage the required tasks for nf-core/proteinfold 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/proteinfold then the best place to ask is on the nf-core Slack [#proteinfold](https://nfcore.slack.com/channels/proteinfold) channel ([join our Slack here](https://nf-co.re/join/slack)).

## Contribution workflow

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

1. Check that there isn't already an issue about your idea in the [nf-core/proteinfold issues](https://github.com/nf-core/proteinfold/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/proteinfold repository](https://github.com/nf-core/proteinfold) 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).
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 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.

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.

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

### Pipeline tests

Each `nf-core` pipeline should be set up with a minimal set of test-data.
`GitHub Actions` then runs the pipeline on this data to ensure that it exits successfully.
If there are any failures then the automated tests fail.
These tests are run both with the latest available version of `Nextflow` and also the minimum required version that is stated in the pipeline code.

## Patch

: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`.
- Fix the bug, and bump version (X.Y.Z+1).
- A PR should be made on `master` from patch to directly this particular bug.

## Getting help

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

## Pipeline contribution conventions

To make the nf-core/proteinfold 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
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).
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`.
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`.

### Default values

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

Once there, use `nf-core 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.

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

Please use the following naming schemes, to make it easy to understand what is going where.

- initial process channel: `ch_output_from_<process>`
- intermediate and terminal channels: `ch_<previousprocess>_for_<nextprocess>`

### 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]`

### Images and figures

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

## GitHub Codespaces

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

To get started:

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

Devcontainer specs:

- [DevContainer config](.devcontainer/devcontainer.json)
# nf-core/proteinfold: Contributing Guidelines
Hi there!
Many thanks for taking an interest in improving nf-core/proteinfold.
We try to manage the required tasks for nf-core/proteinfold 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/proteinfold then the best place to ask is on the nf-core Slack [#proteinfold](https://nfcore.slack.com/channels/proteinfold) channel ([join our Slack here](https://nf-co.re/join/slack)).
## Contribution workflow
If you'd like to write some code for nf-core/proteinfold, the standard workflow is as follows:
1. Check that there isn't already an issue about your idea in the [nf-core/proteinfold issues](https://github.com/nf-core/proteinfold/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/proteinfold repository](https://github.com/nf-core/proteinfold) 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).
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 have the option to test your changes locally by running the pipeline. For receiving warnings about process selectors and other `debug` information, it is recommended to use the debug profile. Execute all the tests with the following command:
```bash
nextflow run . --profile debug,test,docker --outdir <OUTDIR>
```
When you create a pull request with changes, [GitHub Actions](https://github.com/features/actions) will run automatic tests.
Typically, pull-requests are only fully reviewed when these tests are passing, though of course we can help out before then.
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.
If any failures or warnings are encountered, please follow the listed URL for more documentation.
### Pipeline tests
Each `nf-core` pipeline should be set up with a minimal set of test-data.
`GitHub Actions` then runs the pipeline on this data to ensure that it exits successfully.
If there are any failures then the automated tests fail.
These tests are run both with the latest available version of `Nextflow` and also the minimum required version that is stated in the pipeline code.
## Patch
: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`.
- Fix the bug, and bump version (X.Y.Z+1).
- A PR should be made on `master` from patch to directly this particular bug.
## Getting help
For further information/help, please consult the [nf-core/proteinfold documentation](https://nf-co.re/proteinfold/usage) and don't hesitate to get in touch on the nf-core Slack [#proteinfold](https://nfcore.slack.com/channels/proteinfold) channel ([join our Slack here](https://nf-co.re/join/slack)).
## Pipeline contribution conventions
To make the nf-core/proteinfold 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
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).
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`.
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`.
### Default values
Parameters should be initialised / defined with default values in `nextflow.config` under the `params` scope.
Once there, use `nf-core 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.
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
Please use the following naming schemes, to make it easy to understand what is going where.
- initial process channel: `ch_output_from_<process>`
- intermediate and terminal channels: `ch_<previousprocess>_for_<nextprocess>`
### 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]`
### Images and figures
For overview images and other documents we follow the nf-core [style guidelines and examples](https://nf-co.re/developers/design_guidelines).
## GitHub Codespaces
This repo includes a devcontainer configuration which will create a GitHub Codespaces for Nextflow development! This is an online developer environment that runs in your browser, complete with VSCode and a terminal.
To get started:
- Open the repo in [Codespaces](https://github.com/nf-core/proteinfold/codespaces)
- Tools installed
- nf-core
- Nextflow
Devcontainer specs:
- [DevContainer config](.devcontainer/devcontainer.json)
Loading
Loading