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

Speed up augur filter #1575

Open
victorlin opened this issue Aug 9, 2024 · 0 comments
Open

Speed up augur filter #1575

victorlin opened this issue Aug 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@victorlin
Copy link
Member

victorlin commented Aug 9, 2024

Filtering and subsampling logic in augur filter is done using pandas DataFrames to represent input metadata. Due to the need to load DataFrames into memory, this has been optimized to work on large datasets (e.g. SARS-CoV-2) by loading DataFrames in chunks since the entire dataset is too large to load on a typical machine's RAM. Compared to a non-chunked approach, this is less efficient (requires multiple passes through the metadata) and less intuitive (requires workarounds and extra variables to coordinate operations across chunks).

There are two ways to tackle this. See individual issues for details:

TODO: @victorlin to add more about sequence I/O

Related issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant