diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 663f575..0bc4b52 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,13 +10,21 @@ jobs: create-container: uses: ./.github/workflows/container.yml - run-all-tests: + run-all-tests-sage: needs: create-container + env: + SEARCH: sage + uses: ./.github/workflows/tests_all.yml + + run-all-tests-msgf: + needs: create-container + env: + SEARCH: msgf uses: ./.github/workflows/tests_all.yml create-release: runs-on: ubuntu-latest - needs: run-all-tests + needs: [run-all-tests-sage, run-all-tests-msgf] steps: - uses: ncipollo/release-action@v1 with: diff --git a/.github/workflows/single_test.yml b/.github/workflows/single_test.yml index 8f9f102..44ce0c2 100644 --- a/.github/workflows/single_test.yml +++ b/.github/workflows/single_test.yml @@ -20,4 +20,4 @@ jobs: uses: nf-core/setup-nextflow@v2 - name: Run single test - run: bash run_tests.sh tmt16_fast + run: bash run_tests.sh sage tmt16_fast diff --git a/.github/workflows/tests_all.yml b/.github/workflows/tests_all.yml index 8c9b75e..c08cb3e 100644 --- a/.github/workflows/tests_all.yml +++ b/.github/workflows/tests_all.yml @@ -15,7 +15,7 @@ jobs: uses: nf-core/setup-nextflow@v2 - name: Run tests - run: bash run_tests.sh tmt16 + run: bash run_tests.sh $SEARCH tmt16 test-tmt18: runs-on: ubuntu-latest @@ -27,7 +27,7 @@ jobs: uses: nf-core/setup-nextflow@v2 - name: Run tests - run: bash run_tests.sh tmt18 + run: bash run_tests.sh $SEARCH tmt18 test-labelfree: runs-on: ubuntu-latest @@ -39,7 +39,7 @@ jobs: uses: nf-core/setup-nextflow@v2 - name: Run tests - run: bash run_tests.sh labelfree + run: bash run_tests.sh $SEARCH labelfree test-lf_phos: runs-on: ubuntu-latest @@ -51,7 +51,7 @@ jobs: uses: nf-core/setup-nextflow@v2 - name: Run tests - run: bash run_tests.sh labelfree_phos + run: bash run_tests.sh $SEARCH labelfree_phos test-tims: runs-on: ubuntu-latest @@ -63,7 +63,7 @@ jobs: uses: nf-core/setup-nextflow@v2 - name: Run tests - run: bash run_tests.sh tims + run: bash run_tests.sh $SEARCH tims test-mixed-tmt: runs-on: ubuntu-latest @@ -75,4 +75,4 @@ jobs: uses: nf-core/setup-nextflow@v2 - name: Run tests - run: bash run_tests.sh tmt16_18 + run: bash run_tests.sh $SEARCH tmt16_18 diff --git a/CHANGELOG.md b/CHANGELOG.md index c2c5e1b..bfa3e4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # lehtiolab/ddamsproteomics: Changelog +## Version 3.1 [2025-02-03] +- Search engine choice of Sage / MSGF +- QC plots changes in colors, max PSM use in isobaric step, PCA for sets even when sample groups +- Tables for PSM results in report +- Possible to remove (e.g. empty) channel for specific set +- Fixed volcano plots +- Error early on incorrect totalproteome / remove channel set names +- Output ExplainedIonCurrentRatio in MSGF PSM table (msstitch to 3.17) +- OpenMS to 3.2, MSGFPlus to 2024.03.26, Percolator to 3.6.5 + + ## Version 3.0 [2024-09-19] - Rewrote in DSL2 - QC report with plotly diff --git a/README.md b/README.md index 8df41f4..5bab1dc 100644 --- a/README.md +++ b/README.md @@ -18,16 +18,16 @@ The pipeline is built using [Nextflow](https://www.nextflow.io), a workflow tool - run pipeline: ``` -nextflow run lehtiolab/ddamsproteomics --input /path/to/input_definition.txt --tdb /path/to/proteins.fa --mods 'oxidation;carbamidomethylation' -profile standard,docker +nextflow run lehtiolab/ddamsproteomics --input /path/to/input_definition.txt --sage --tdb /path/to/proteins.fa --mods 'oxidation;carbamidomethylation' -profile standard,docker ``` Or for two sample sets of isobaric data you can: ``` -nextflow run lehtiolab/ddamsproteomics --input /path/to/input_definition.txt --tdb /path/to/proteins.fa --mods 'oxidation;carbamidomethylation --isobaric 'setA:tmt10plex:126 setB:tmt10plex:127N' +nextflow run lehtiolab/ddamsproteomics --input /path/to/input_definition.txt --sage --tdb /path/to/proteins.fa --mods 'oxidation;carbamidomethylation --isobaric 'setA:tmt10plex:126 setB:tmt10plex:127N' ``` -For more elaborate examples covering fractionation, PTMs, and more, the lehtiolab/ddamsproteomics pipeline comes with documentation about the pipeline, found in the `docs/` directory: +For more elaborate examples covering fractionation, MSGF+, PTMs, and more, the lehtiolab/ddamsproteomics pipeline comes with documentation about the pipeline, found in the `docs/` directory: - [Running the pipeline](docs/usage.md) - [Output and how to interpret the results](docs/output.md) diff --git a/assets/report.html b/assets/report.html index f4c5de7..86cf1ea 100644 --- a/assets/report.html +++ b/assets/report.html @@ -28,9 +28,12 @@

{% if ptmtables.summary %}
  • PTMs
  • {% endif %} - {% if expplots.pca %} + {% if expplots.pcagroup %}
  • Expression
  • {% endif %} + {% if expplots.pcaset %} +
  • PCA
  • + {% endif %}
  • Run data
  • @@ -95,6 +98,52 @@

    {{ ftitle }}
    {% endfor %} +

    PSMs

    +
    +
    +
    IDs
    + + + + + + + + + {% for plate, scans, psms, pc in psmtables.ids %} + + + + + + + {% endfor %} + +
    Sample/plateScansPSMs% ID
    {{ plate }} {{ scans }} {{ psms }} {{ pc }}
    +
    +
    +
    Missed cleavages
    + + + + + + + + + {% for plate, mc, psms, pc in psmtables.miscleav %} + + + + + + + {% endfor %} + +
    Sample/plate# missed cleavages# PSMs% PSMs
    {{ plate }} {{ mc }} {{ psms }} {{ pc }}
    +
    +
    + {% if ptmtables.summary %}

    PTMs

    @@ -360,7 +409,7 @@
    {{ ftitle }}
    {% endif %} - {% if expplots.pca %} + {% if expplots.pcagroup %}
    {% for plotname, plottitle in expplotnames %}

    {{ plottitle }}

    @@ -397,6 +446,24 @@
    {{ ftitle }}
    {% endif %} + {% if expplots.pcaset %} +
    + {% for plotname, plottitle in pcaplotnames %} +

    {{ plottitle }}

    +
    + {% for fname, ftitle in featnames %} + {% if expplots[plotname][fname] %} +
    +
    {{ ftitle }}
    + {{ expplots[plotname][fname] }} +
    + {% endif %} + {% endfor %} +
    + {% endfor %} +
    + {% endif %} +