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

Mg/bionemo noodles py o3 #435

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Conversation

malcolmgreaves
Copy link
Collaborator

(NOTE: delete these instructional lines as you fill-out this PR template)

(NOTE: _template is designed to be filled-in and used as the squashed commit message for the entire PR. Italicized text is intended to be deleted as you fill in this template. Use the text between the ---)


High level summary of changes. Try to keep this as short and informative as possible: less is more.

Describe your changes. You can be more detailed and descriptive here. If it is a code change, Be sure to answer:

  • What is changing?
  • What is the new or fixed functionality?
  • Why or when would someone want to use these changes?
  • How can someone use these changes?

Summary

High level summary of changes. Try to keep this as short and informative as possible: less is more.

Details

Describe your changes. You can be more detailed and descriptive here.

Usage

How does a user interact with the changed code?

python -m your.new.module -and -all -options

Testing

How do you prove that your code behaves the way you claim?

Tests for these changes can be run via:

pytest -v tests/your/new/or/existing/test_functions.py::test_function

(NOTE: also delete this checklist as you fill-out this PR template)

Most of the changes to files with extensions *.py, *.yaml, *.yml, Dockerfile* or requirements.txt DO REQUIRE both pytest- and jet- CI stages.

@malcolmgreaves
Copy link
Collaborator Author

NOTE: don't review yet :)

skothenhill-nv and others added 3 commits November 15, 2024 17:01
Initial commit!

- adds the PyO3 wrapper around noodles-fasta
- adds a python class that mimics the dict-like behavior of pyfaidx
- adds a long test (best used with hg38
https://hgdownload.soe.ucsc.edu/goldenPath/hg38/bigZips/), or use
whatever big reference.

Build:
```
cd sub-packages/bionemo-noodles/noodles_fasta_wrapper
maturin develop
```
This should install it into your local python environment, then you can
run the associated tests!

TODO:
- flesh out equality tests with pyfaidx
- profile performance
- get the build system working correctly
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