Skip to content

add DIA workflow - #112

Merged
jpfeuffer merged 11 commits into
bigbio:devfrom
daichengxin:dev
Mar 14, 2022
Merged

jpfeuffer merged 11 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).
  • 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 Mar 12, 2022 •

Copy link
Copy Markdown

nf-core lint overall result: Failed ❌

Posted for pipeline commit 67c9f31

+| ✅  95 tests passed       |+
#| ❔   5 tests were ignored |#
!| ❗   1 tests had warnings |!
-| ❌   1 tests failed       |-
Details

❌ Test failures:

  • actions_ci - '.github/workflows/ci.yml' is not triggered on expected events

❗ Test warnings:

  • schema_lint - Schema $id should be https://raw.githubusercontent.com/quantms/master/nextflow_schema.json
    Found https://raw.githubusercontent.com/nf-core/quantms/master/nextflow_schema.json

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.2
  • Run at 2022-03-14 12:56:19

@ypriverol ypriverol added this to the first release v1.0 milestone Mar 14, 2022
Comment thread assets/PXD005573.sdrf.tsv Outdated
@@ -0,0 +1,3 @@
Source Name Characteristics[organism] Characteristics[organism part] Characteristics[age] Characteristics[developmental stage] Characteristics[cell line] Characteristics[cell type] Characteristics[sex] Characteristics[disease] Characteristics[biological replicate] Material Type assay name technology type comment[proteomics data acquisition method] comment[data file] comment[file uri] comment[technical replicate] comment[fraction identifier] comment[label] comment[instrument] comment[ms1 resolutions] comment[ms2 resolutions] comment[data points per peak] comment[modification parameters] comment[modification parameters] comment[modification parameters] comment[modification parameters] comment[cleavage agent details] comment[dissociation method] comment[precursor mass tolerance] Characteristics[comment[fragment mass tolerance]] Factor Value[ms1 resolutions]
Sample 1 Homo sapiens uterus 31Y adult HeLa epithelial cell female uterine cancer 1 cell run 1 proteomic profiling by mass spectrometry NT=Data-Independent Acquisition;AC=NCIT:C161786 Fig1_MP-DIA-120min-240kMS1-18W30k_MHRM_R01.raw http://ftp.ebi.ac.uk/pride-archive/2017/10/PXD005573/Fig1_MP-DIA-120min-240kMS1-18W30k_MHRM_R01.raw 1 1 NT=label free sample;AC=MS:1002038 NT=Q Exactive HF;AC=MS:1002523 240k 30k 5dppp NT=Oxidation;MT=Variable;TA=M;AC=UNIMOD:35 NT=Carbamidomethyl;TA=C;MT=fixed;AC=UNIMOD:4 NT=Acetyl;AC=UNIMOD:1;PP=Protein N-term;MT=variable NT=Phospho;AC=UNIMOD:21;TA=S,T,Y;MT=Fixed AC=MS:1001251;NT=Trypsin not available not available not available 240k

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@daichengxin @jpfeuffer what do we do now with LFQ now. For example, now for the DIA datasets the user needs to specified the field, but if they forget to add that term then it will be analysed as LFQ. Even, if we leave the pipeline to automatic detect the type of analysis, should we leave the option available to define the type of analysis LFQ, ISO, DIA?. It will be an optional parameter but it can help to force the pipeline to run an specific type of analysis.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Now there are labelling_type and acqusition_method parameters. These parameters will have no effect when sdrf is used as input. Even if sdrf lacks the proteomics data acqusition method field, sdrf-pipelines will default to DDA and print a warning. When the experiment design file is used as input, the user needs to enter these two parameters.

@daichengxin daichengxin Mar 14, 2022 •

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Do you mean that when input sdrf and also provide these two parameters, enforce the workflow to which the parameters belong?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

It looks like parameter validation is missing, when experiment files are used as input. labelling_type will be a required parameter

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

But we can 100% determine DIA vs DDA from the mzML, no?

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

We can add an overwrite parameter but remember it is getting more and more complex this way.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can 100% determine DIA

This is complex, I have tested some of the datasets in LFQ that I need to convert outside because to mzML because:

  • TFP fails to convert to mzML, then I convert them outside, then peak picking.
  • We have datasets in PRIDE with mzML and not RAW files.
  • We have LFQ DDA experiments that are not Thermo, then the input is mzML

Then mzML is not always DIA.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We can add an overwrite parameter but remember it is getting more and more complex this way.

I fully agreed with you. This is why Im asking for this parameter to force the pipeline because the guessing and the automatic can fail to "guess" the right workflow.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

but once it is mzML you just need to check the size of the precursor isolation windows or the cycle time of MS1 scans.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This is an important point, this means that we can know if is DIA by reading one of the mzML files. Can we implement this @daichengxin

@ypriverol

Copy link
Copy Markdown
Contributor

@jpfeuffer @daichengxin the tests are passing. Why the linting validation is failing.

@jpfeuffer
jpfeuffer merged commit 6c436fe into bigbio:dev Mar 14, 2022
@jpfeuffer

Copy link
Copy Markdown
Collaborator

because we ignore the readthedocs branch. nfcore linting cannot handle this

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.

3 participants