Uh oh!
There was an error while loading. Please reload this page.
Fix processed data exporter + add more export options - #47
Draft
epbrenner wants to merge 2 commits into
Draft
Conversation
Allows exportProcessedData function to handle dynamic HMMER data using the manifest, removed old mention of domains, and added in a helper and exportProcessedData parameter to export a dyad feature table mapping all features linked to that dyad as a little bonus.
Updated stale documentation throughout, changed a parameter name (Total_proteins -> total_proteins), wired @AbhirupaGhosh's dyad exporter into `runDataProcessing()`, and added `exportProcessedData()` into `runDataProcessing()`.
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 freeto 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.
Updated
exportProcessedData()to use the new manifest JSON to fetch HMMER databases that were run and produce appropriate output tables, added dyad export functionality toexportProcessedData(), addedbuildDyadFeatureMap()to defaultrunDataProcessing()workflow and added option to invokeexportProcessedData()as part of the workflow.Updated some old, crusty function definitions throughout.
To-do:
Regenerate documentation properly
Test on other hardware for export functionality
Find ways to break it
To test:
prepareGenomes("Staphylococcus argenteus")or your favorite bug
runDataProcessing("data/Staphylococcus_argenteus/Sar.duckdb"), export_tabular_data = TRUE, hmmer_databases = c("COG, DefenseCas"))Check out those tables
exportProcessedData("data/Staphylococcus_argenteus/Sar.duckdb", export_formats = ("tsv", "parquet"), export_dyads = TRUE, amr_phenotype_mode = "append")And all the other wacky variants you can dream up.