Skip to content

add name of each ID step - #176

Merged
ypriverol merged 17 commits into
bigbio:devfrom
daichengxin:dev
May 6, 2022
Merged

ypriverol merged 17 commits into
bigbio:devfrom
daichengxin:dev

Conversation

@daichengxin

Copy link
Copy Markdown
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).

@github-actions

github-actions Bot commented May 4, 2022 •

Copy link
Copy Markdown

nf-core lint overall result: Passed ✅

Posted for pipeline commit 8361c38

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

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.3.2
  • Run at 2022-05-05 17:56:14

@daichengxin daichengxin linked an issue May 4, 2022 that may be closed by this pull request
@daichengxin
daichengxin requested a review from jpfeuffer May 4, 2022 02:55
@jpfeuffer

jpfeuffer commented May 4, 2022 •

Copy link
Copy Markdown
Collaborator

Very nice. Can we maybe call the output of msstats also after the input SDRF/experimental design?
E.g. pxd000123.mztab
pxd00123_msstats_in.csv

And in the msstats step
pxd000123_msstats_out.csv

If the input was pxd000123.sdrf.tsv

@daichengxin

Copy link
Copy Markdown
Collaborator Author

You mean when run the msstats step, pxd000123_msstats_out.csv is displayed, right? Because the current msstats doesn't need the sdrf file, it doesn't seem to be able to tag. I probably didn't get what you meant. 😢

@ypriverol

Copy link
Copy Markdown
Contributor

I guess the name of the output should be based on the sdrf file name. I guess this is the suggestion from @jpfeuffer .

@jpfeuffer

Copy link
Copy Markdown
Collaborator

But if you name the output from ProteomicsLFQ etc based on the experimental design you can also parse that in msstats.

@jpfeuffer

Copy link
Copy Markdown
Collaborator

If the input to msstats is called pxd123_msstats_in.csv then you can just name the output pxd123_msstats_out.csv

@daichengxin

Copy link
Copy Markdown
Collaborator Author

sorry, Currently msstats does not require an experimental design file or sdrf. So the names of the following outputs need to be dynamically adjusted?

output:
path "out.mzTab", emit: out_mztab
path "out.consensusXML", emit: out_consensusXML
path "out_msstats.csv", emit: out_msstats optional true

MSstatsConverter \\
-in ${consensusXML} \\
-in_design ${exp_file} \\
-method ${quant_method} \\
-out out_msstats.csv \\

@jpfeuffer

jpfeuffer commented May 4, 2022 •

Copy link
Copy Markdown
Collaborator

Yes Just use the input names of the exp_design. Yes, dynamically. In PLFQ and MSStatsconverter. Then use those names in Msstats

@jpfeuffer
jpfeuffer requested a review from ypriverol May 5, 2022 19:21
@ypriverol
ypriverol merged commit 6b54ba3 into bigbio:dev May 6, 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.

Have better IDs for every step

3 participants