Skip to content

refactor DIA-NN step 1 - #169

Merged
ypriverol merged 12 commits into
bigbio:diannfrom
daichengxin:diann
May 3, 2022
Merged

ypriverol merged 12 commits into
bigbio:diannfrom
daichengxin:diann

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 2, 2022 •

Copy link
Copy Markdown

nf-core lint overall result: Passed ✅ ⚠️

Posted for pipeline commit bb696c3

+| ✅ 143 tests passed       |+
#| ❔   3 tests were ignored |#
!| ❗   1 tests had warnings |!
Details

❗ Test warnings:

❔ Tests ignored:

✅ Tests passed:

Run details

  • nf-core/tools version 2.3.2
  • Run at 2022-05-02 10:52:30

@ypriverol

Copy link
Copy Markdown
Contributor

@vdemichev This is the command for the library generation we will be using.

diann   `cat library_config.cfg` \\
            --fasta ${fasta} \\
            --fasta-search \\
            ${min_pr_mz} \\
            ${max_pr_mz} \\
            ${min_fr_mz} \\
            ${max_fr_mz} \\
            --missed-cleavages $params.allowed_missed_cleavages \\
            --min-pep-len $params.min_peptide_length \\
            --max-pep-len $params.max_peptide_length \\
            --min-pr-charge $params.min_precursor_charge \\
            --max-pr-charge $params.max_precursor_charge \\
            --var-mods $params.max_mods \\
            --threads ${task.cpus} \\
            --predictor \\
            --verbose $params.diann_debug \\
            --gen-spec-lib \\
            |& tee diann.log

@ypriverol

Copy link
Copy Markdown
Contributor

@daichengxin maybe you can put in the conf/dia_test the maximun number of modifications to 2. to speed up the process.

@vdemichev

vdemichev commented May 2, 2022 •

Copy link
Copy Markdown

@vdemichev This is the command for the library generation we will be using.

@ypriverol Also specification of the actual variable modifications in addition to this?

@ypriverol

Copy link
Copy Markdown
Contributor

@vdemichev This is the command for the library generation we will be using.

diann   `cat library_config.cfg` \\
            --fasta ${fasta} \\
            --fasta-search \\
            ${min_pr_mz} \\
            ${max_pr_mz} \\
            ${min_fr_mz} \\
            ${max_fr_mz} \\
            --missed-cleavages $params.allowed_missed_cleavages \\
            --min-pep-len $params.min_peptide_length \\
            --max-pep-len $params.max_peptide_length \\
            --min-pr-charge $params.min_precursor_charge \\
            --max-pr-charge $params.max_precursor_charge \\
            --var-mods $params.max_mods \\
            --threads ${task.cpus} \\
            --predictor \\
            --verbose $params.diann_debug \\
            --gen-spec-lib \\
            |& tee diann.log

@vdemichev we use something called SDRF from HUPO-PSI that containers the annotations of the modifications, check an example for this CI/CD here: https://github.com/nf-core/test-datasets/blob/quantms/testdata/dia_ci/PXD026600.sdrf.tsv this is parse and converted into the library_config.cfg file that is pass by command to diann.

Other parameters can be seen here https://github.com/bigbio/quantms/blob/dev/nextflow.config.

@ypriverol
ypriverol merged commit 186e2d5 into bigbio:diann May 3, 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.

3 participants