Skip to content

Add build_only_index flag#935

Merged
maxulysse merged 7 commits intonf-core:devfrom
maxulysse:build_only_index
Feb 7, 2023
Merged

Add build_only_index flag#935
maxulysse merged 7 commits intonf-core:devfrom
maxulysse:build_only_index

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 |#
Details

❔ Tests ignored:

✅ Tests passed:

Run details

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

Copy link
Contributor

@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!


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

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
Contributor

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


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
Contributor

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
Contributor

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