Conversation
Adding a very simple dev script that creates .rda files out of our .tsv mapping data. Replaced a few places where the only raw TSV data was used instead of the internal datasets. Removed some S. epi files of uncertain origin. Not sure where those came from, honestly.
Updating scripts to use BiocFileCache throughout. Updating manifest for better handoff to amRml. Updating HMMER databases to use BiocFileCache and be saved as resources.
Wee `devtools::document(".")` updates, and adding BiocFileCache to Imports.
Error in `.runHmmerJob()`: ! unused argument (total_proteins = total_proteins) So if make the change, the error is not showing up. But I still don't know the logic.
Without this, clean_drug/drug_class/drug_abbr/class_abbr/cleaned_bvbrc_countries only resolve under devtools::load_all(); a real installed-package library() call throws object 'clean_drug' not found, which breaks runDataProcessing().
eboyer221
requested changes
Sep 15, 2026
Good catch Emily! Can replicate that `checkDataAvailability()` fails with this absent. Co-authored-by: Emily Boyer <130874527+eboyer221@users.noreply.github.com>
CPU resource detection was faulty on HPC. Added parallelly as an Import, and updated to use the recommended future CPU detection method, parallelly::availableCores(). This should behave better to avoid oversubscription on any system, and generally handle CPU requests more carefully.
Contributor
If something happened while downloading I would suggest having a check if it fails to press, go back and download at least once again. |
Abhirupa noted that HMMER DBs can corrupt on download or press, and get stuck in the mysterious BFC cache somewhere with no easy way to fix them. This adds a simple function to delete databases. Enjoy.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
BiocFileCachefor better handling of manifests and databases..tsvfiles instead of.rdaobjects.amRml.prepareGenomes("Staphylococcus argenteus")runDataProcessing("data/Staphylococcus_argenteus/Sar.duckdb")This will probably take a while, as it will download the HMMER databases freshly into your BiocFileCache data directory. The manifest
.jsonshould also have fun new things recorded, including a status message foramRmlto read.