-
Notifications
You must be signed in to change notification settings - Fork 60
RF2NA: use multi-chain FASTA input and drop interactions sheet #420
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
Conversation
|
JoseEspinosa
left a comment
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.
Very nice! Only few small suggestions
| tuple val(meta), path("rf2na_input", type: "dir"), emit: prepared_input | ||
| path "versions.yml" , emit: 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.
| tuple val(meta), path("rf2na_input", type: "dir"), emit: prepared_input | |
| path "versions.yml" , emit: versions | |
| tuple val(meta), path("rf2na_input", type: "dir"), emit: rf2na_input | |
| path "versions.yml" , emit: versions |
|
|
||
| script: | ||
| """ | ||
| python3 - <<'PY' "${meta.id}" "${fasta}" |
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 using the script this way and given it is quite long, I will put it in the bin folder instead and only call it here:
fasta_to_rosettafold.py "${meta.id}" "${fasta}"
Actually, probably we should join the different scripts that perform this for different modes in a single one in bin, but this will be for a follow-up PR
| @@ -0,0 +1,4 @@ | |||
| >DNA_binding_protein type=protein | |||
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.
I have opened a PR in https://github.com/nf-core/test-datasets/tree/proteinfold to put all these files here
So please get rid of them here.
conf/test_rosettafold2na.config
Outdated
| rosettafold2na_db = "${projectDir}/assets/dummy_db_dir" | ||
| input = params.pipelines_testdata_base_path + 'proteinfold/testdata/samplesheet/v1.2/samplesheet.csv' | ||
| interactions = params.pipelines_testdata_base_path + 'proteinfold/testdata/interactions/v1.2/interactions.csv' | ||
| input = "${projectDir}/assets/examples/rosettafold2na/samplesheet.csv" |
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.
After, nf-core/test-datasets#1816 is merged, please update:
| input = "${projectDir}/assets/examples/rosettafold2na/samplesheet.csv" | |
| input = params.pipelines_testdata_base_path + 'proteinfold/testdata/samplesheet/v2.0/rna_complex.fastasamplesheet.csv' |
workflows/rosettafold2na.nf
Outdated
|
|
||
| RUN_ROSETTAFOLD2NA ( | ||
| ch_protein_interaction, | ||
| ROSETTAFOLD2NA_FASTA.out.prepared_input, |
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.
| ROSETTAFOLD2NA_FASTA.out.prepared_input, | |
| ROSETTAFOLD2NA_FASTA.out.rf2na_input, |
Merge remote-tracking branch 'upstream/dev' into feat/rf2na-fasta-input
JoseEspinosa
left a comment
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.
LGTM 🚀
Only three small suggestions about formatting issues, feel free to merge once addressed.
| @@ -0,0 +1,139 @@ | |||
| #!/usr/bin/env python3 | |||
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.
❤️
| "${task.process}": | ||
| python: \$(python3 --version | sed 's/Python //g') | ||
| END_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.
| "${task.process}": | |
| python: \$(python3 --version | sed 's/Python //g') | |
| END_VERSIONS | |
| "${task.process}": | |
| python: \$(python3 --version | sed 's/Python //g') | |
| END_VERSIONS |
PR checklist
nf-core lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).