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

Rearrange quant and prepare for release 2.5.0 #280

Merged
merged 61 commits into from
Oct 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
a58c7ed
refactor naming
jonasscheid Aug 18, 2023
da5ab1f
more naming changes
jonasscheid Aug 18, 2023
5f13484
more namings
jonasscheid Aug 18, 2023
5784677
Restructure quant part 1
jonasscheid Aug 18, 2023
71cf0f9
Add post-alignment merger for featurefinder
jonasscheid Aug 18, 2023
ce8b6b7
adjust such that quant_fdr can be used
jonasscheid Sep 4, 2023
cb0dca8
restructure quant such that map alignment comes after percolator
jonasscheid Sep 17, 2023
a9cfc37
Update to openms 3.0.0
jonasscheid Sep 18, 2023
4021716
replace dev container with mulled container on quay
jonasscheid Sep 18, 2023
c26ddf4
Depricate old rt prediction
jonasscheid Sep 18, 2023
9488a4b
depricate openms rt prediction
jonasscheid Sep 18, 2023
d43c040
depricate openms rt prediction
jonasscheid Sep 18, 2023
b0ff42b
remove fastq image in docs
jonasscheid Sep 18, 2023
791258d
adjust ffid settings
jonasscheid Sep 19, 2023
ab0e4fd
Update publishing files
jonasscheid Sep 20, 2023
8e5ae21
Add scoreswitcher for quant and optional filefilter
jonasscheid Sep 20, 2023
35c1919
cosmetics
jonasscheid Sep 20, 2023
2967a5b
Adjust publihsed files
jonasscheid Sep 20, 2023
8c9c92d
filefilter optional in schema
jonasscheid Sep 20, 2023
c3e01cb
updated docs
jonasscheid Sep 20, 2023
c600bf4
bump version
jonasscheid Sep 20, 2023
386788b
bump openms conda version
jonasscheid Sep 20, 2023
c0d83a6
linting
jonasscheid Sep 20, 2023
46835a9
merge dev into feature branch, fix conflict
jonasscheid Sep 20, 2023
4ceb045
update changelog
jonasscheid Sep 20, 2023
e48f525
remove fastqc
jonasscheid Sep 20, 2023
0b43c85
fix typo
jonasscheid Sep 20, 2023
2e81e78
update citations
jonasscheid Sep 20, 2023
565d0fd
fix lint
jonasscheid Sep 20, 2023
61b58e8
fix typo
jonasscheid Sep 20, 2023
72ca114
fix citation
jonasscheid Sep 20, 2023
3eecfbf
fix wrong channel elements in ionannotator and cleanup
jonasscheid Sep 21, 2023
7bcd973
fix ionannotator input for mzml files
jonasscheid Sep 21, 2023
195694d
Template update for nf-core/tools version 2.10
nf-core-bot Sep 25, 2023
5940636
harmonize exporter modules between id and quant
jonasscheid Sep 27, 2023
12b2e1a
add requested comment
jonasscheid Sep 27, 2023
fad924e
cosmetics
jonasscheid Sep 27, 2023
bf62f77
adjust filenaming in maptransformer
jonasscheid Sep 27, 2023
75d9eed
Refactor grouping
jonasscheid Sep 28, 2023
d2ce44e
Encapsulate quant in subworkflow
jonasscheid Sep 28, 2023
83d6063
Add test profi
jonasscheid Sep 28, 2023
d55446a
prettier
jonasscheid Sep 28, 2023
370e957
adjust ci
jonasscheid Sep 28, 2023
24d7597
add test profiles to nextflow.config
jonasscheid Sep 28, 2023
33425a8
styling
jonasscheid Sep 28, 2023
1c5bf30
add ionannotator test
jonasscheid Sep 28, 2023
04bc8f3
merge template updaet
jonasscheid Oct 2, 2023
4137f91
addd subwayplot
jonasscheid Oct 2, 2023
fa5ec53
update changelog
jonasscheid Oct 2, 2023
f30e857
fix nfcore linting
jonasscheid Oct 2, 2023
91dff6b
set white background of subway plot
jonasscheid Oct 2, 2023
ad742b9
limit mem for ci
jonasscheid Oct 2, 2023
6baac65
limit cpus for ci
jonasscheid Oct 2, 2023
dd66c39
spectrum batch size limit on ci tests to prevent crashing workflows
jonasscheid Oct 3, 2023
d59e1f4
Update pyopenms to latest version in ionannotator
jonasscheid Oct 3, 2023
07b9713
increase speed of ci test
jonasscheid Oct 3, 2023
86c740c
typo
jonasscheid Oct 3, 2023
3b0d487
remove unused dependency
jonasscheid Oct 3, 2023
758e8f2
speed up ci quant and fulltest
jonasscheid Oct 3, 2023
cff9bc9
Add comments to subworkflows
jonasscheid Oct 3, 2023
d59d2e5
update changelog
jonasscheid Oct 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "nfcore",
"image": "nfcore/gitpod:latest",
"remoteUser": "gitpod",
"runArgs": ["--privileged"],

// Configure tool-specific properties.
"customizations": {
Expand Down
4 changes: 3 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ Please use the pre-filled template to save time.
However, don't be put off by this template - other more general issues and suggestions are welcome!
Contributions to the code are even more welcome ;)

> If you need help using or modifying nf-core/mhcquant then the best place to ask is on the nf-core Slack [#mhcquant](https://nfcore.slack.com/channels/mhcquant) channel ([join our Slack here](https://nf-co.re/join/slack)).
:::info
If you need help using or modifying nf-core/mhcquant then the best place to ask is on the nf-core Slack [#mhcquant](https://nfcore.slack.com/channels/mhcquant) channel ([join our Slack here](https://nf-co.re/join/slack)).
:::

## Contribution workflow

Expand Down
42 changes: 26 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,37 @@ jobs:

- name: Run pipeline with test data
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --spectrum_batch_size 5000 --outdir ./results
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --outdir ./results

test_additional_params:
name: Run pipeline with additional params
# Only run on push if this is the nf-core dev branch (merged PRs)
if: "${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/mhcquant') }}"
profile:
name: Run profile tests
if: ${{ github.event_name != 'push' || (github.event_name == 'push' && github.repository == 'nf-core/mhcquant') }}
runs-on: ubuntu-latest
env:
NXF_VER: ${{ matrix.nxf_ver }}
NXF_ANSI_LOG: false
strategy:
matrix:
NXF_VER:
- "23.04.0"
- "latest-everything"
include:
# Test pipeline minimum Nextflow version
- NXF_VER: "23.04.0"
NXF_EDGE: ""
# Test latest edge release of Nextflow
- NXF_VER: ""
NXF_EDGE: "1"
tests: ["test_deeplc", "test_ms2pip", "test_ionannotator", "test_quant", "test_full"]
steps:
- name: Check out pipeline code
uses: actions/checkout@v3

uses: actions/checkout@v2
- name: Install Nextflow
uses: nf-core/setup-nextflow@v1
with:
version: "${{ matrix.NXF_VER }}"

- name: Run pipeline with additional params
env:
NXF_VER: ${{ matrix.NXF_VER }}
# Uncomment only if the edge release is more recent than the latest stable release
# See https://github.com/nextflow-io/nextflow/issues/2467
# NXF_EDGE: ${{ matrix.NXF_EDGE }}
run: |
wget -qO- get.nextflow.io | bash
sudo mv nextflow /usr/local/bin/
- name: Run pipeline with profile ${{ matrix.tests }}
run: |
nextflow run ${GITHUB_WORKSPACE} -profile test,docker --predict_class_1 --predict_class_2 --predict_RT --spectrum_batch_size 2000 --use_deeplc --use_ms2pip --outdir ./results
nextflow run ${GITHUB_WORKSPACE} -profile ${{ matrix.tests }},docker --max_memory '6.GB' --max_cpus 2 --spectrum_batch_size 5000 --outdir ./results
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: "3.8"
python-version: "3.11"
architecture: "x64"

- name: Install dependencies
Expand Down
68 changes: 68 additions & 0 deletions .github/workflows/release-announcments.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: release-announcements
# Automatic release toot and tweet anouncements
on:
release:
types: [published]
workflow_dispatch:

jobs:
toot:
runs-on: ubuntu-latest
steps:
- uses: rzr/fediverse-action@master
with:
access-token: ${{ secrets.MASTODON_ACCESS_TOKEN }}
host: "mstdn.science" # custom host if not "mastodon.social" (default)
# GitHub event payload
# https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#release
message: |
Pipeline release! ${{ github.repository }} v${{ github.event.release.tag_name }} - ${{ github.event.release.name }}!

Please see the changelog: ${{ github.event.release.html_url }}

send-tweet:
runs-on: ubuntu-latest

steps:
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install dependencies
run: pip install tweepy==4.14.0
- name: Send tweet
shell: python
run: |
import os
import tweepy

client = tweepy.Client(
access_token=os.getenv("TWITTER_ACCESS_TOKEN"),
access_token_secret=os.getenv("TWITTER_ACCESS_TOKEN_SECRET"),
consumer_key=os.getenv("TWITTER_CONSUMER_KEY"),
consumer_secret=os.getenv("TWITTER_CONSUMER_SECRET"),
)
tweet = os.getenv("TWEET")
client.create_tweet(text=tweet)
env:
TWEET: |
Pipeline release! ${{ github.repository }} v${{ github.event.release.tag_name }} - ${{ github.event.release.name }}!

Please see the changelog: ${{ github.event.release.html_url }}
TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }}
TWITTER_CONSUMER_SECRET: ${{ secrets.TWITTER_CONSUMER_SECRET }}
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}

bsky-post:
runs-on: ubuntu-latest
steps:
- uses: zentered/[email protected]
with:
post: |
Pipeline release! ${{ github.repository }} v${{ github.event.release.tag_name }} - ${{ github.event.release.name }}!

Please see the changelog: ${{ github.event.release.html_url }}
env:
BSKY_IDENTIFIER: ${{ secrets.BSKY_IDENTIFIER }}
BSKY_PASSWORD: ${{ secrets.BSKY_PASSWORD }}
#
14 changes: 9 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,34 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v2.4.2dev - [date]
## v2.5.0 - nfcore/mhcquant "Angry Bird" - 2023/10/04

### `Added`

- Support for brukers tdf format by adding tdf2mzml converter [#263](https://github.com/nf-core/mhcquant/issues/263)
- DeepLC retention time prediction
- MS2PIP peak intensity prediction
- Added OpenMS FileFilter to clean mzml after parsing to remove artifacts like empty spectra or precursors with charge 0
- Added OpenMS FileFilter to clean mzml after parsing to remove artifacts like empty spectra or precursors with charge 0 (optional)
- Made file extension check case insensitive
- Added option to provide a default comet parameters file
- Optimize resource allocations
- Template update 2.9. [#274](https://github.com/nf-core/mhcquant/pull/274)
- Template update 2.9 [#274](https://github.com/nf-core/mhcquant/pull/274)
- Improved quantification such that merged FDR-filtered runs can be quantified properly
- Template update 2.10 [#282](https://github.com/nf-core/mhcquant/pull/282)

### `Fixed`

- [#266](https://github.com/nf-core/mhcquant/pull/266) New OpenMS version 2.9.1 fixes duplicated ID bug [#250](https://github.com/nf-core/mhcquant/issues/250)
- [#266](https://github.com/nf-core/mhcquant/pull/266) New OpenMS version 3.0.0 fixes duplicated ID bug [#250](https://github.com/nf-core/mhcquant/issues/250)

### `Dependencies`

- [#266](https://github.com/nf-core/mhcquant/pull/266) Switched from OpenMS version 2.8.0 to newest version 2.9.1 [#265](https://github.com/nf-core/mhcquant/issues/265)
- [#266](https://github.com/nf-core/mhcquant/pull/266) Switched from OpenMS version 2.8.0 to newest version 3.0.0 [#265](https://github.com/nf-core/mhcquant/issues/265)
- [#266](https://github.com/nf-core/mhcquant/pull/266) Bumped ThermoRawFileParser version from 1.4.0 to 1.4.2

### `Deprecated`

- OpenMS RT prediction

## v2.4.1 nfcore/mhcquant "Young Shark" (patch) - 2023/04/04

### `Added`
Expand Down
Loading
Loading