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

Refactoring of code to remove it from main and more #213

Merged
merged 30 commits into from
Nov 15, 2024

Conversation

JoseEspinosa
Copy link
Member

@JoseEspinosa JoseEspinosa commented Nov 14, 2024

This PR contains:

  • Refactor main to move code to the post-processing subworkflow.
  • Change wave images pointing to oras to point to https.
  • Adapt modules to the nf-core folder structure.

Closes #183

PR checklist

  • This comment contains a description of changes (with reason).
  • Make sure your code lints (nf-core 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>).
  • CHANGELOG.md is updated.

Copy link

github-actions bot commented Nov 14, 2024

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 12e3525

+| ✅ 205 tests passed       |+
#| ❔   4 tests were ignored |#
!| ❗   9 tests had warnings |!

❗ Test warnings:

  • files_exist - File not found: conf/igenomes.config
  • files_exist - File not found: conf/igenomes_ignored.config
  • pipeline_todos - TODO string in usage.md: Add documentation about anything specific to running your pipeline. For general topics, please point to (and add to) the main nf-core website.
  • pipeline_todos - TODO string in main.nf: Optionally add in-text citation tools to this list.
  • pipeline_todos - TODO string in main.nf: Optionally add bibliographic entries to this list.
  • pipeline_todos - TODO string in main.nf: Only uncomment below if logic in toolCitationText/toolBibliographyText has been filled!
  • pipeline_todos - TODO string in base.config: Check the defaults for all processes
  • pipeline_todos - TODO string in base.config: Customise requirements for specific processes.
  • pipeline_todos - TODO string in methods_description_template.yml: #Update the HTML below to your preferred methods description, e.g. add publication citation for this pipeline

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 3.0.2
  • Run at 2024-11-14 12:53:28

@JoseEspinosa JoseEspinosa marked this pull request as ready for review November 14, 2024 14:56
Copy link
Contributor

@luisas luisas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - just left a minor comment!

@@ -30,11 +30,11 @@ process RUN_ALPHAFOLD2_PRED {

output:
path ("${fasta.baseName}*")
tuple val(meta), path ("${meta.id}_alphafold2.pdb"), emit: main_pdb
tuple val(meta), path ("${meta.id}_alphafold2.pdb") , emit: top_ranked_pdb
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we use here the prefix instead of meta id directly? So that the user could customize

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good spot! However I am not sure if we are using it to create the reports, will check and if not will update in a new PR 😄

@@ -30,11 +30,11 @@ process RUN_ALPHAFOLD2_PRED {

output:
path ("${fasta.baseName}*")
tuple val(meta), path ("${meta.id}_alphafold2.pdb"), emit: main_pdb
tuple val(meta), path ("${meta.id}_alphafold2.pdb") , emit: top_ranked_pdb
tuple val(meta), path ("${fasta.baseName}/ranked*pdb"), emit: pdb
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here?

@@ -29,7 +29,7 @@ process RUN_ALPHAFOLD2 {

output:
path ("${fasta.baseName}*")
tuple val(meta), path ("${meta.id}_alphafold2.pdb"), emit: main_pdb
tuple val(meta), path ("${meta.id}_alphafold2.pdb") , emit: top_ranked_pdb
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same

@JoseEspinosa JoseEspinosa merged commit 19ed119 into nf-core:dev Nov 15, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants