Skip to content

rename output#200

Merged
ypriverol merged 7 commits intobigbio:devfrom
daichengxin:dev
Jun 25, 2022
Merged

rename output#200
ypriverol merged 7 commits intobigbio:devfrom
daichengxin:dev

Conversation

@daichengxin
Copy link
Collaborator

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/quantms 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).

@daichengxin daichengxin linked an issue Jun 23, 2022 that may be closed by this pull request
@daichengxin daichengxin requested review from jpfeuffer and ypriverol and removed request for ypriverol June 23, 2022 06:59
@github-actions
Copy link

github-actions bot commented Jun 23, 2022

nf-core lint overall result: Passed ✅

Posted for pipeline commit 84f3f5a

+| ✅ 146 tests passed       |+
#| ❔   3 tests were ignored |#
Details

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.4.1
  • Run at 2022-06-24 04:16:38

path "${design.baseName}_design.tsv", emit: ch_expdesign
path "${design.baseName}_config.tsv", emit: ch_config
path "${design.baseName}_openms_design.tsv", emit: ch_expdesign
path "${design.baseName}_openms_config.tsv", emit: ch_config
Copy link
Member

Choose a reason for hiding this comment

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

Why, the dataset needs to keep the design.baseName in ${design.baseName}_openms_config.tsv and ${design.baseName}_openms_design.tsv should we removed @jpfeuffer @daichengxin ? leave it something like:

  • openms_design.tsv
  • openms_config.tsv

Copy link
Collaborator

Choose a reason for hiding this comment

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

If you have multiple runs, you will never know which is which. Definitely keep the original name there.

Copy link
Collaborator

Choose a reason for hiding this comment

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

I would not call the config "openms config". The config is only for nextflow to fill the meta channel.

Copy link
Member

Choose a reason for hiding this comment

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

If you have multiple runs, you will never know which is which. Definitely keep the original name there.

We have for the other files now no run_name for example for the msstats, for the triqler etc.

In the pipeline we don't allow running multiple experimental design, only one. Then the analysis always correspond to one.

For conssistency if we move to the appraoch ${design.baseName} whe should do it for all the outputs msstats, triqler, openms design, pmultiqc, etc.

script:
def args = task.ext.args ?: ''
def disable_pmultqic = params.enable_pmultiqc ? "" : "--disable_plugin"
def disable_pmultqic = (params.enable_pmultiqc) && (params.export_mztab) ? "" : "--disable_plugin"
Copy link
Collaborator

Choose a reason for hiding this comment

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

Spelling! disable_pmultiqc

Co-authored-by: Julianus Pfeuffer <pfeuffer@informatik.uni-tuebingen.de>
@ypriverol
Copy link
Member

ypriverol commented Jun 23, 2022

@daichengxin can you changed to:

{design.baseName}_msstats_in.csv
${design.baseName}_msstats_out.csv
${design.baseName}_triqler_in.tsv
${design.baseName}_openms_design.tsv
${design.baseName}_config.tsv

${design.baseName}_openms.mzTab output of openms after quant.
${design.baseName}_msstats.mzTab output of msstats after quantification and injection of the quant values
${design.baseName}_diann.mzTab output of diann mztab conversion.

@ypriverol ypriverol requested review from jpfeuffer and ypriverol and removed request for jpfeuffer June 24, 2022 14:53
path "${design.baseName}_design.tsv", emit: ch_expdesign
path "${design.baseName}_config.tsv", emit: ch_config
path "${design.baseName}_openms_design.tsv", emit: ch_expdesign
path "${design.baseName}_openms_config.tsv", emit: ch_config
Copy link
Member

Choose a reason for hiding this comment

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

If you have multiple runs, you will never know which is which. Definitely keep the original name there.

We have for the other files now no run_name for example for the msstats, for the triqler etc.

In the pipeline we don't allow running multiple experimental design, only one. Then the analysis always correspond to one.

For conssistency if we move to the appraoch ${design.baseName} whe should do it for all the outputs msstats, triqler, openms design, pmultiqc, etc.

@ypriverol ypriverol merged commit c65c405 into bigbio:dev Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Follow EXACT same naming rules in all branches

3 participants