Repository navigation
MCP server, qc, plot, merge --common-rows, mcp watch; version 0.10.0 - #39
Merged
Merged
Conversation
…reading, strict QC numbers, stuck-flag test)
…ero-spread bands, provenance after import, inputs excluded from the name guard, bounded names, comma paths)
…l wrote (legume-mcp watch view; path dep until merged)
…s, --qc-mad-on-mito; legume-mcp at the merged watch view (8a11b6b)
…ict in clap; the MCP subset forwards them; legume-mcp 0.1 from crates.io
…ads past a note; lists keep their order; review fixes
…e tools, the records, watching
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.
data-beans as a set of tools an agent can use, and a view a person can watch it from. The minor bump is for the new subcommands and flags.
data-beans mcpis a stdio MCP server on legume-mcp 0.1. Every tool runs a childdata-beans, so stdout stays the protocol, a cancel kills the child, and log lines come back as progress.info,list_contents,names(regex, paged),statistics(quantiles and top entries),values(at most 100 entries).qc: a dry run, then writing the kept cells.plot: returned as a PNG image.import(records its source),subset(names, a pattern, or index ranges),subsample,split,convert,merge(common_rows).squeezeis not offered.results/<date>/runall.shandresults/INDEX.tsv; unnamed outputs go inresults/<date>/;importnotes provenance indata/README.md.data-beans mcp watch(legume-mcp'stuiview) lets a person follow a live server:sstops a call,nleaves the agent a note (it arrives with the next result),oopens a written backend in the statistics explorer;--watch-onlydrops steering.New CLI:
qc: senna's and pinto's cell QC, with the same--qc-*flags, as a summary or a filtered backend. The mito pattern defaults to(?i)^MT-.plot qcandplot stat: figures as.png,.svgor.pdf, through legume-plot.merge-backend --common-rows: keeps the rows every input has, in the first input's order.subset-rowsandsubset-columnstake index ranges (-i 0-19612,20000, cut at the matrix's end; repeats refused) and--pattern(a case-insensitive regex). Selections conflict, and are resolved before anything is copied.Shared
qc_lib(senna and pinto get these too):--qc-mad-on-genes=falseand--qc-mad-on-counts=falsenow parse; they used to be stuck on.--qc-mad-on-mito.--allow-prefixwas one, and is fixed.Tested in Rust (
cargo test):Also tried for real with Claude Code as the agent on the scVelo pancreas data (3,696 cells × 39,226 rows), through every tool. A replay of its
runall.shin a fresh copy of the project reproduced all 15 backends and 3 figures exactly.cargo fmtandcargo clippy --all-targetsare clean. The branch went through/simplifyand/code-reviewat each step.