-
Notifications
You must be signed in to change notification settings - Fork 49
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
Add RoseTTAFold-All-Atom #220
base: dev
Are you sure you want to change the base?
Add RoseTTAFold-All-Atom #220
Conversation
…eate-katana-config Create Katana config
…d-labels-to-gpu-processes Add labels to GPU processes
…d-labels-to-gpu-processes Add GPU Compute label
…d-labels-to-gpu-processes Remove GPU Compute label from CPU pipeline
modified: conf/dbs.config modified: modules/local/run_alphafold2.nf Added variable links in dbs.config and run_alphafold2.nf
…tabase Updated database links
…d-testing-files Add testing files
…uster tooling is incomlete
Sync master branch
…d-dbs-variables-to-msa-pipeline Make pipeline work on UNSW Katana
…d of hardcoded values
…dated variable names
…enearte_report.py for visualisation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -53,7 +55,7 @@ nextflow run nf-core/proteinfold \ | |||
--outdir <OUTDIR> | |||
``` | |||
|
|||
The pipeline takes care of downloading the databases and parameters required by AlphaFold2, Colabfold or ESMFold. In case you have already downloaded the required files, you can skip this step by providing the path to the databases using the corresponding parameter [`--alphafold2_db`], [`--colabfold_db`] or [`--esmfold_db`]. Please refer to the [usage documentation](https://nf-co.re/proteinfold/usage) to check the directory structure you need to provide for each of the databases. | |||
The pipeline takes care of downloading the databases and parameters required by AlphaFold2, Colabfold or ESMFold. In case you have already downloaded the required files, you can skip this step by providing the path to the databases using the corresponding parameter [`--alphafold2_db`], [`--colabfold_db`], [`--esmfold_db`] or ['--rosettafold_all_atom_db']. Please refer to the [usage documentation](https://nf-co.re/proteinfold/usage) to check the directory structure you need to provide for each of the databases. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pipeline takes care of downloading the databases and parameters required by AlphaFold2, Colabfold or ESMFold. In case you have already downloaded the required files, you can skip this step by providing the path to the databases using the corresponding parameter [`--alphafold2_db`], [`--colabfold_db`], [`--esmfold_db`] or ['--rosettafold_all_atom_db']. Please refer to the [usage documentation](https://nf-co.re/proteinfold/usage) to check the directory structure you need to provide for each of the databases. | |
The pipeline takes care of downloading the databases and parameters required by AlphaFold2, Colabfold, ESMFold or RoseTTAFold-All-Atom. In case you have already downloaded the required files, you can skip this step by providing the path to the databases using the corresponding parameter [`--alphafold2_db`], [`--colabfold_db`], [`--esmfold_db`] or ['--rosettafold_all_atom_db']. Please refer to the [usage documentation](https://nf-co.re/proteinfold/usage) to check the directory structure you must provide for each database. |
ext.prefix = File name prefix for output files. | ||
---------------------------------------------------------------------------------------- | ||
*/ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aren't we missing here the declaration to set the path to save the downloaded DBs and parameters? e.g. for af2:
proteinfold/conf/modules_alphafold2.config
Lines 18 to 23 in 1af71b4
withName: 'GUNZIP|COMBINE_UNIPROT|DOWNLOAD_PDBMMCIF|ARIA2_PDB_SEQRES' { | |
publishDir = [ | |
path: {"${params.outdir}/DBs/alphafold2/${params.alphafold2_mode}"}, | |
mode: 'symlink', | |
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }, | |
] |
process { | ||
withName: 'RUN_ROSETTAFOLD_ALL_ATOM' { | ||
container = '/srv/scratch/sbf-pipelines/proteinfold/singularity/rosettafold_all_atom.sif' | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
process { | |
withName: 'RUN_ROSETTAFOLD_ALL_ATOM' { | |
container = '/srv/scratch/sbf-pipelines/proteinfold/singularity/rosettafold_all_atom.sif' | |
} | |
} | |
process { | |
withName: 'RUN_ROSETTAFOLD_ALL_ATOM' { | |
container = 'biocontainers/gawk:5.1.0' | |
} |
@@ -0,0 +1,41 @@ | |||
Bootstrap: docker |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the rest of modes, we are just providing the Dockerfiles
and not the singularity definitions as we are not making them public. For consistency, we would need to create all the singularity definitions or delete this one. I would do the latter but we can discuss it if you think otherwise.
|
||
LABEL Author="[email protected]" \ | ||
title="nfcore/proteinfold_rosettafold_all_atom" \ | ||
Version="0.9.0" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Version="0.9.0" \ | |
Version="1.2.0dev" \ |
@@ -214,6 +229,7 @@ profiles { | |||
apptainer { | |||
apptainer.enabled = true | |||
apptainer.autoMounts = true | |||
if (params.use_gpu) { apptainer.runOptions = '--nv' } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will make the Nextflow language server happy
if (params.use_gpu) { apptainer.runOptions = '--nv' } | |
params.use_gpu ? '--nv' : apptainer.runOptions |
@@ -80,7 +80,6 @@ | |||
}, | |||
"full_dbs": { | |||
"type": "boolean", | |||
"default": false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is set to false
by default isn't it?
Line 21 in 16fd780
full_dbs = false // true full_dbs, false reduced_dbs |
"default": false, | |
"default": false, |
@@ -675,5 +688,42 @@ | |||
{ | |||
"$ref": "#/$defs/generic_options" | |||
} | |||
] | |||
], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For consistency, maybe create a rosettafold_all_all_atom_dbs_and_parameters_path_options
and a rosettafold_all_all_atom_dbs_and_parameters_link_options
definitions, actually for modifying the schema you can use nf-core pipelines schema build
, see here, which provides a GUI in case it would be handy for you 😄
// | ||
// MODULE: Loaded from modules/local/ | ||
// | ||
include { RUN_ROSETTAFOLD_ALL_ATOM } from '../modules/local/run_rosettafold_all_atom' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
include { RUN_ROSETTAFOLD_ALL_ATOM } from '../modules/local/run_rosettafold_all_atom' | |
include { RUN_ROSETTAFOLD_ALL_ATOM } from '../modules/local/run_rosettafold_all_atom' |
ch_pdb = ch_pdb.mix(RUN_ROSETTAFOLD_ALL_ATOM.out.pdb) | ||
ch_versions = ch_versions.mix(RUN_ROSETTAFOLD_ALL_ATOM.out.versions) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ch_pdb = ch_pdb.mix(RUN_ROSETTAFOLD_ALL_ATOM.out.pdb) | |
ch_versions = ch_versions.mix(RUN_ROSETTAFOLD_ALL_ATOM.out.versions) | |
ch_pdb = ch_pdb.mix(RUN_ROSETTAFOLD_ALL_ATOM.out.pdb) | |
ch_versions = ch_versions.mix(RUN_ROSETTAFOLD_ALL_ATOM.out.versions) |
Adds RoseTTAFold-All-Atom as a module per #197.
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).nextflow run . -profile debug,test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).