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

Some fixes on top of feature/support-external-data #12

Conversation

mberacochea
Copy link
Member

No description provided.

Copy link
Contributor

@KateSakharova KateSakharova left a comment

Choose a reason for hiding this comment

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

Thank you, magician!

The assembler and amount of memory can be specified in the samplesheet now.
Fixed the bits that were not working with multiples runs per invocation of the pipeline.

This needs to be reviews and the results sanity checked.
@mberacochea mberacochea requested a review from Ge94 July 3, 2024 15:56
@mberacochea mberacochea self-assigned this Jul 3, 2024
}
else {
"single_end": true,
"assembler": assembler ?: params.assembler,
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 define default assembler to metaspades in nextflow.config? or make assembler required in samplesheet?

Copy link
Member

@Ge94 Ge94 Jul 5, 2024

Choose a reason for hiding this comment

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

I guess the assembler would still be automatically overridden by the complex rules based on metadata after FASTQC_AFTER?

Copy link
Member Author

Choose a reason for hiding this comment

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

the rule still stands:

  1. the samplesheet assembler will be the first option
  2. if there is no selected assembler, and it's single end -> megahit
  3. if there is no selected assembler, and it's paired end -> metaspades

Copy link
Contributor

Choose a reason for hiding this comment

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

In samplesheet you can skip assembler and in params you can also skip it because it is optional. So in that code you can end up without any assembler chosen.. That is my point

Copy link
Member

@Ge94 Ge94 left a comment

Choose a reason for hiding this comment

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

Code looks great, as with Kate's PR my comments are more like questions to understand if nextflow/prefect handles some use cases.

assets/schema_input.json Show resolved Hide resolved
nextflow_schema.json Outdated Show resolved Hide resolved
subworkflows/local/assembly_qc.nf Show resolved Hide resolved
modules/nf-core/megahit/main.nf Show resolved Hide resolved
@KateSakharova KateSakharova merged commit e8cc89d into feature/support-external-data Jul 8, 2024
1 check passed
@KateSakharova KateSakharova deleted the feature/support-external-data-mbc-review branch July 8, 2024 12:00
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.

3 participants