Repository navigation
Simplify mutt installation and study downloads - #2
Merged
Merged
Conversation
maxwellkonnaris
marked this pull request as ready for review
October 30, 2026 17:58
maxwellkonnaris
approved these changes
Nov 23, 2026
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.
mutt brings together microbiome profiles and microbial-load measurements from published studies. This PR changes how users get those prepared data into R: install the package, choose a study, and download just that study's data.
Where the code and data live
The original project kept large study files in the repository using Git LFS. This PR keeps the code and study descriptions in Git, and distributes the prepared study data through GitHub Releases:
R/studies/scripts/inst/extdata/studies.jsonFor maintainers, a code or documentation change can be released as a package update. When study data change, prepare a new data release and update the catalog to point to it. Earlier published files remain available; they are not replaced.
Separating the package from the data should make the collection easier to maintain as it grows. Contributors can work on code without downloading all the studies. Package fixes can be released without redistributing unchanged data, and corrected data can get a new version while earlier versions remain available for repeating analyses.
What changes for users
The basic workflow is to list studies, choose one and load it. The data release is still a draft, so the download example below will work once the release is public and the study is marked
available:studycontains the counts, relative abundances, taxonomy, microbial-load measurements and sample information. Results from different methods remain separate. Later requests reuse the downloaded copy. The README explains how to inspect these tables and choose the ones needed for an analysis.Users can also look up a study's sources and processing scripts with
mutt_source()andmutt_recipe(). Those functions do not require downloading the processed study.Review
Please start with the README: does it give a new user enough information to find and load a study, and understand the result? Then review the loading code in R/ and the maintainer guide for preparing future data releases. Completed migration scripts and reports have been removed; the reusable release tools and study processing scripts remain.
The draft data release contains 40 study ZIPs. Every ZIP was downloaded again and checked, and the packaged study data were also checked through the package loader. No scientific processing was rerun. The package passes local
R CMD checkwith Status OK, and the release-tool tests pass. The optional miaverse converter could not be checked withTreeSummarizedExperimentin this environment because that package was unavailable.To install the version under review: