Skip to content

Add --keyField parameter #13

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

olsonanl
Copy link
Contributor

Hi Bruce - what do you think of this change? I used it to map a file of NCBI genome accessions to BV-BRC data. I don't know if there's an existing mechanism to do this, but changing the key field like this seems pretty clean.
Thanks,
Bob

@bparrello
Copy link
Contributor

We have a similar need for features, and we use the p3-find-features script, so I added p3-find-genomes. This has been pushed to GitHub and will be absorbed in the currently-outstanding pull request.

The advantage is that I can restrict the key fields to those that are indexed, and turn the batching on and off on a key-by-key basis. (So, for example, if we added "genus" as a key, we'd put it in slow mode instead of batch mode.) We already have this logic for features.

@olsonanl
Copy link
Contributor Author

olsonanl commented Apr 2, 2025 via email

@olsonanl
Copy link
Contributor Author

Is there a PR somewhere for this? I'm not finding it

@bparrello
Copy link
Contributor

bparrello commented Apr 24, 2025 via email

@olsonanl
Copy link
Contributor Author

Got it - I saw that one but saw Comparative Systems and was thinking it was something else. Thanks.

That's all ready to merge?

@bparrello
Copy link
Contributor

bparrello commented Apr 28, 2025 via email

@olsonanl
Copy link
Contributor Author

olsonanl commented Apr 28, 2025 via email

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