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

Added argument for specifying NetMHCIIpan/NetMHCIIpanEL version #1181

Open
wants to merge 6 commits into
base: staging
Choose a base branch
from

Conversation

ldhtnp
Copy link
Contributor

@ldhtnp ldhtnp commented Jan 22, 2025

I added the argument --netmhc_pan_version to pvacseq, pvacbind, pvacfuse, pvacsplice, and pvacvector. The argument supports four versions: 4.0, 4.1, 4.2, and 4.3. I also added an argument that can be used to list the valid versions valid_netmhcpan_versions. Alongside the additions I had to make to get the arguments implemented, I had to modify the code used to remove the sample name and grab the method name in output_parser.py because the method name can now include a version number. Before this modification, the version number would be trimmed and dropped off of the method name resulting in issues downstream.

This is for issue #457

Copy link
Contributor

@susannasiebert susannasiebert left a comment

Choose a reason for hiding this comment

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

This looks pretty good overall. I made a few comments for suggested changes.

pvactools/lib/run_argument_parser.py Outdated Show resolved Hide resolved
pvactools/tools/pvacseq/run.py Outdated Show resolved Hide resolved
pvactools/lib/run_argument_parser.py Outdated Show resolved Hide resolved
pvactools/lib/netmhc_pan_version.py Outdated Show resolved Hide resolved
pvactools/tools/pvacseq/run.py Outdated Show resolved Hide resolved
@susannasiebert
Copy link
Contributor

Also, you'll want to add tests for your new command in the test_pvacseq|bind|vector|splice.py files. Check out how the valid_alleles and valid_algorithms are tested in there and implement similar checks. That should probably get your coverage up as well and make the coveralls check pass.

@ldhtnp ldhtnp changed the base branch from master to staging January 29, 2025 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants