27 fix feature separate composite score grid search from aqs benchmark and add instanexus optimize cli#28
Merged
Conversation
…_combination Replace AQS weights (0.35/0.25/0.25/0.15) with the Composite Score formula as defined in Reverenna et al., bioRxiv 2025: 0.5 * coverage + 0.3 * N50 + 0.1 * (1 - scaffolds_count) + 0.1 * max_length Additional fixes: - add max_length to evaluate_combination return dict - fix FileNotFoundError when output_folder='' via tempfile.TemporaryDirectory - fix numpy int64 JSON serialization with .item() - add _build_instanexus_command for ready-to-run CLI output
Add optimize.py as a thin entry point delegating to grid_search.main(). Register instanexus-optimize in [project.scripts] and add scikit-learn>=1.3 as a core dependency (required by MinMaxScaler in the grid search).
…utilities Integrate two genuinely new functions from utils.py into analyze_optimization.py: - combine_json_to_csv: walks output dirs, merges JSON stats into a single CSV - plot_coverages_from_runs: barplots of contig/scaffold coverage across runs
9 tasks
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.
No description provided.