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

Add build_only_index flag #935

Merged
merged 7 commits into from
Feb 7, 2023
Merged

Conversation

maxulysse
Copy link
Member

PR checklist

  • This comment contains a description of changes (with reason).
  • If you've fixed a bug or added code that should be tested, add tests!
  • If you've added a new tool - have you followed the pipeline conventions in the contribution docs- [ ] If necessary, also make a PR on the nf-core/sarek branch on the nf-core/test-datasets repository.
  • Make sure your code lints (nf-core lint).
  • Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR>).
  • Usage Documentation in docs/usage.md is updated.
  • Output Documentation in docs/output.md is updated.
  • CHANGELOG.md is updated.
  • README.md is updated (including new tool citations and authors/contributors).

@github-actions
Copy link

github-actions bot commented Feb 6, 2023

nf-core lint overall result: Passed ✅

Posted for pipeline commit c39c7b6

+| ✅ 152 tests passed       |+
#| ❔   8 tests were ignored |#

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.7.2
  • Run at 2023-02-07 07:35:44

Copy link

@matthdsm matthdsm left a comment

Choose a reason for hiding this comment

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

Some small comments and questions, but LGTM!

lib/WorkflowSarek.groovy Show resolved Hide resolved
nextflow_schema.json Outdated Show resolved Hide resolved
subworkflows/local/prepare_genome/main.nf Show resolved Hide resolved


main:
fasta = fasta.map{ fasta -> [ [ id:fasta.baseName ], fasta ] }
versions = Channel.empty()
Copy link

Choose a reason for hiding this comment

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

Why the change to versions?

Copy link
Member

Choose a reason for hiding this comment

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

Agreed? I don't think that's the (implied) 'standard'?

Copy link
Member Author

Choose a reason for hiding this comment

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

I feel like most of the stuff we have in DSL2 are channels, I think it makes more sense to prefix everything else.

Copy link

Choose a reason for hiding this comment

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

I personally like knowing at a glance what's a channel and what's a value, but that's me 🤷🏻 The other way around accomplished the same thing.

Copy link
Member

@jfy133 jfy133 Feb 7, 2023

Choose a reason for hiding this comment

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

I'm wiht @matthdsm here. I quite like the SBWF guidelines on this: https://nf-co.re/docs/contributing/subworkflows#naming-conventions points 5/6

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll have a look at it for the next sarek refactoring, and I'll ping you both for reviews

nextflow_schema.json Outdated Show resolved Hide resolved


main:
fasta = fasta.map{ fasta -> [ [ id:fasta.baseName ], fasta ] }
versions = Channel.empty()
Copy link
Member

Choose a reason for hiding this comment

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

Agreed? I don't think that's the (implied) 'standard'?

@nvnieuwk
Copy link

nvnieuwk commented Feb 7, 2023

Again the conda tests though 🤔

@maxulysse
Copy link
Member Author

Again the conda tests though thinking

conda is super flaky on GHA lately

@maxulysse maxulysse merged commit 1b1b109 into nf-core:dev Feb 7, 2023
@maxulysse maxulysse deleted the build_only_index branch February 7, 2023 08:35
@nvnieuwk
Copy link

nvnieuwk commented Feb 7, 2023

Yes it's weird...

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.

5 participants