r/bioinformaticstools • • 12h ago

An MCP server that checks whether a quoted sentence is really in the paper, and returns the paragraph hash

0 Upvotes

Repo: https://github.com/Furox-Art/literature-evidence-mcp - PyPI literature-evidence-mcp 0.5.1, Apache-2.0, Python 3.11+.

35 MCP tools over OpenAlex, Europe PMC and Crossref with DOI deduplication and explicit provider error reporting.

The part that matters when a manuscript has been through an agent: quote checking. verify_source_quote fetches the Europe PMC JATS XML and returns the passage IDs that actually match, with section, paragraph span and the SHA-256 of that paragraph. read_fulltext records offsets and hashes the same way. check_retraction reads Crossref updated-by/update-to relations, including Retraction Watch updates where available.

Anything on an audit trail appends to a hash-chained JSONL ledger with cross-process file locking, so a review done months ago can be re-verified instead of trusted. verify_evidence_ledger detects modified rows.

Scope matters more than the feature list here: it is a bibliographic and traceability toolset, not a review engine. verify_claim checks that a literal string is present, not that the claim it supports is true.

One honest limit worth stating plainly: zero search results never mean a paper does not exist. Providers go down, rate-limit and lag.


r/bioinformaticstools • • 23h ago

A worked example for the tools crowd: CFD rebuilt exactly from its weight tables, one published factor added, beat the baseline on a hash-fixed held-out split — all artifacts public

0 Upvotes

Disclosure first: this comes from a problem board I run (Agent World — a public board where AI agents work posted problems, That's Easier), and the agent that did the work is mine. It's labelled a demonstration there. Posting here because r/bioinformatics sends tool/methods posts to this room, and this one is a methods artifact more than anything.

The ask, up front: do you like it? What would you improve? Tools people judge the artifact, not the story — that's the read I want.

The artifact, in short:

  • Task: CRISPR off-target prediction — rank candidate cut sites against experimental GUIDE-seq calls (Tsai et al. 2015, as assembled by Haeussler et al. 2016).
  • Baseline reproduction: the published CFD score rebuilt from its weight tables and proven exact against the compendium — max absolute difference 5.0e-13 across all 26,052 candidates. The reproduction is itself one of the deposited artifacts.
  • The change: CFD-DP = CFD × the mismatch-distance factor from Hsu et al. 2013 (the same factor CRISPOR uses in its MIT score). Both formulas published; nothing fitted, so nothing can leak from test into method.
  • Split discipline: held-out set fixed before scoring by a hash rule — a guide is held out iff int(sha256(guide 23-mer), 16) mod 2 == 0. 12 guides, 12,235 candidates, 80 validated positives.
  • Results (held-out, pooled): AUROC 0.9182 vs 0.9041 · P@50 0.24 vs 0.14 · R@50 0.150 vs 0.087 · R@100 0.212 vs 0.188. Per-guide: 6 wins, 2 ties, 4 losses. Modest margin, not a breakthrough, not SOTA — trained models do better on this data.
  • Verification: all 12,235 submitted rows recomputed independently from the stored artifacts against the raw compendium — labels, CFD values, CFD-DP scores. Mismatches: 0. The ranked lists, split rule, and SHA-256 hashes for all 19 artifacts are in the packet (link in the comments), so the whole computation can be redone without trusting our server. Limits, plainly: the recomputation ran on our side; no outside party has replicated it yet.

Context: this was problem #1 on the board (27 problems; the next genetics one up is sickle-cell allele-specific guide design). Agent World is in beta — it's live and the numbers are real, but expect rough edges.

If you were packaging this as a tool instead of a one-off result, what would you want in the repo — the scorer, the split generator, the verifier, all three?


r/bioinformaticstools • • 14h ago

Moonlight: an open-source window onto Open Targets that shows which medicines and trials exist for a disease, with a source on every card

9 Upvotes

In much of the world, a patient or family facing a rare condition can't easily find out which medicines are approved for it, which are in trials, and where those trials are. The information exists, but it's scattered across regulator sites, trial registries and research databases, mostly written for specialists.

Moonlight is our attempt at a plain front door to all that. You type a condition and get three lists: medicines approved for it, medicines in trials for it, and "new clues" (approved medicines that act on a protein linked to the disease but have never been trialled for it). Every card links to its source record. The reason we kept going: someone in Kochi, in southern India, living with limb-girdle muscular dystrophy, used it to find a trial running in the US.

How it works

  • One source of record. Everything comes from the Open Targets Platform API. We add no data of our own, so Moonlight is a window onto that one database. Answers are cached for a day.
  • A small Python pipeline, one module per step: turn everyday words into candidate diseases (confirmed by Open Targets search), fetch the disease's linked proteins and the medicines acting on them, sort, rank, explain.
  • Sorting is plain rules, not AI. A medicine must be approved for at least one disease; one withdrawn in any country is left out. Approved for this disease goes in Approved, in trials for it goes in Being studied, otherwise it's a new clue. Medicines not approved anywhere are left out and counted. Salt forms of a drug are merged into one item.
  • Ranking is plain code too: protein-disease score (parts of the same protein complex count once), then number of reports, then alphabetical. A clue that pushes a protein the opposite way to an approved drug gets flagged.
  • AI in a narrow role. Gemini turns one medicine-protein-disease path into short plain-language text, and a grounding check makes sure it only repeats what's in the records. The safety line is added by code, never by the model. Coding agents work ticket by ticket against a suite of 1,200+ tests that run on saved API responses.
  • Stack: FastAPI, one static page, Docker, Google Cloud Run in Mumbai.
  • Corrections loop: we share disease pages with patient communities on Reddit and ask what's wrong. Each correction becomes a ticket, gets checked against regulator labels, and confirmed fixes become permanent test cases. Errors in the source data go upstream to Open Targets.

Early wins

  • The Kochi trial find above.
  • Open Targets confirmed seven wrong approval records we reported and scheduled the fix for release 26.12: https://community.opentargets.org/t/2105
  • A 124-disease check found that 724 of 2,096 medicines on the Approved lists had no DailyMed, FDA or EMA record attached. Those cards are now marked.
  • Reddit comments have already turned into 10 logged feedback tickets.

Honest constraints

  • Single source. When Open Targets has a gap or an outdated record, so do we.
  • Approval status is messy. FDA, EMA, Japan's PMDA and India's CDSCO don't line up, and old trials rarely get marked as finished, so "approved" and "being studied" need constant checking.
  • Checking costs money. Using AI to verify and correct thousands of entries is now our biggest cost, and we pay it ourselves, with no ads and no data selling.

The ask

Our priority is AI model credits: API credits from Anthropic, Google or other model providers, an AI-for-good or startup credit programme, or an introduction to someone who runs one. More checking per entry is where accuracy comes from. Secondly, if you know rare-disease patient groups or clinicians in India or elsewhere in the developing world, I'd be grateful for an introduction.

Code (MIT): https://github.com/kashishdugar2017/moonlight. A star helps if you find it useful. Live site: https://www.moonlightclues.com

It's a research and learning tool, not medical advice. Happy to answer questions about any of the above.


r/bioinformaticstools • • 17h ago

A manuscript auditor that points at the sentence and page where a reasoning risk lives, instead of scoring the paper

3 Upvotes

Repo: https://github.com/Furox-Art/scientific-reasoning-auditor - PyPI scientific-reasoning-auditor 0.11.0.

Most "AI paper review" tools produce a score. A score is not actionable and it is not checkable.

This one returns evidence locations. You feed it a manuscript and it reports reviewable reasoning risks with the place they occur and reproducibility metadata, so a reader can check the claim instead of trusting the tool.

What is in it: dependent-data handling (one-way CR1/CR2/CR3 regression, supplied-covariance common-effect meta-analysis, exact binary missing-outcome sensitivity), grouped-method calculations (one group-intercept REML variance, fully enumerated wild cluster bootstrap, balanced equal-size cluster-mean power), and an offline analysis replay adapter that compares two runs inside a pinned local Docker image with read-only staged sources and bounded execution. Replay never runs automatically during review.

It also reports its own error rates - false alarms, missed errors, exclusions and abstentions - against labels you supply, through Python, CLI, Node and MCP. Publishing your own miss rate is not glamorous and it is the only way the output means anything.

One honest limit, and I would rather write it here than in a reply: it does not declare a manuscript true or false. Local OCR recovers text from image-only pages but does not interpret plots, tables or figures. extracted_text_coverage=complete means all extracted characters were submitted, which is not the same as the PDF being scientifically complete. Domain experts and reanalysis of the original data are still required.