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 name of each ID step #176

Merged
merged 17 commits into from
May 6, 2022
Merged

add name of each ID step #176

merged 17 commits into from
May 6, 2022

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

@github-actions
Copy link

github-actions bot commented May 4, 2022

nf-core lint overall result: Passed ✅

Posted for pipeline commit 8361c38

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

❔ 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
Copy link
Collaborator

jpfeuffer commented May 4, 2022

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
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
Member

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
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
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
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
Copy link
Collaborator

jpfeuffer commented May 4, 2022

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Have better IDs for every step
3 participants