Bump netmhcpan version to 4.2#317
Conversation
|
Warning Newer version of the nf-core template is available. Your pipeline is using an old version of the nf-core template: 3.4.1. For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation. |
|
|
@copilot We currently dont have netmhcpan tests anymore. We did in the previous version via ci.yml ( epitopeprediction/.github/workflows/ci.yml Line 120 in 37c08f0 |
|
@jonasscheid I've opened a new pull request, #318, to work on those changes. Once the pull request is ready, I'll request review from you. |
Co-authored-by: jonasscheid <43858870+jonasscheid@users.noreply.github.com>
|
@copilot update usage section in docs/usage.md such that users only use netMHCpan-4.2bstatic.Linux.tar.gz now. No other versions are supported, since we validate the correct tarball via the checksum. Same goes for netmhcIIpan4.3e |
|
@jonasscheid I've opened a new pull request, #322, to work on those changes. Once the pull request is ready, I'll request review from you. |
Co-authored-by: jonasscheid <43858870+jonasscheid@users.noreply.github.com>
Co-authored-by: jonasscheid <43858870+jonasscheid@users.noreply.github.com>
Update usage docs to specify NetMHC 4.2bstatic and NetMHCIIpan 4.3e as only supported versions
|
@nf-core-bot fix linting |
|
Hi @jonasscheid. Big fan of your work on this so far. Just wanted to mention that this new version also include different run modes: |
|
Hi @Chiyun-Lee! That is great to know, thank you! Do you know if the 2 other modes change the output columns of netmhcpan4.2? If not users could just provide their specific mode via an extra custom.config for netmhcpan like epitopeprediction/conf/modules.config Line 99 in 4c13c15 |
Co-authored-by: jonasscheid <43858870+jonasscheid@users.noreply.github.com>
|
Here is an example of a mode 0 output: ...and one of a mode 1 output: The BA_score and BA_Rank columns disappear when running on mode 1, it seems |
Co-authored-by: jonasscheid <43858870+jonasscheid@users.noreply.github.com>
Add NetMHCpan 4.2 tests to nf-test workflow
|
@Chiyun-Lee if you join the nf-core community on Github, you could give me a review on that PR :) |
|
@nf-core-bot fix linting |
Chiyun-Lee
left a comment
There was a problem hiding this comment.
Hi @jonasscheid this looks good, though I won't be able to run it on some actual data right now.
I think it might be worth considering whether you want to add some quality of life features around the different run modes. For a project I'm currently working on, I want the results of both mode 0 and mode 1 for each peptide, so I've hacked modules/local/netmhcpan/main.nf to literally run once on mode 0, then again on mode 1, and I then join the output .xls files before emitting in output. I'm in a bit of a rush so having to make-do with this.
It's also equally worth considering whether this is just a separate enhancement PR (and leave this PR to purely bump the netmhcpan version).
Going with this point. Technically you would also need to run netmhcpan 3x to get the output of all 3 modes right? |
| - name: Install nf-test | ||
| uses: nf-core/setup-nf-test@v1 | ||
| with: | ||
| version: "${{ env.NFT_VER }}" | ||
| install-pdiff: true | ||
|
|
||
| - name: Run nf-test with NetMHCpan | ||
| continue-on-error: ${{ matrix.NXF_VER == 'latest-everything' }} | ||
| env: | ||
| NFT_WORKDIR: ${{ env.NFT_WORKDIR }} | ||
| run: | | ||
| nf-test test \ | ||
| --profile=+docker \ | ||
| --tag netmhcpan \ | ||
| --ci \ | ||
| --verbose \ | ||
| --tap=test.tap |
There was a problem hiding this comment.
why not use the actions/nf-test action directly?
There was a problem hiding this comment.
Honestly, I do not fully understand how the tests are triggered and how I could change that. The complexitiy here is that for the netmhcpan test, we need a binary that needs to be downloaded from aws and unpacked. Then this unpacked folder needs to be present in the netmhcpan CI run to let tests run properly. If you have any suggestions how to improve this, I would be very happy to know!
|
Ah Sorry @mashehu, didn't see your comments on mobile. I'm gonna look into your points, thanks! |
Co-authored-by: jonasscheid <43858870+jonasscheid@users.noreply.github.com>
PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).