Data Science

basilisk – freeze Python dependencies

basilisk addresses the difficulties of incorporating Python dependencies into Bioconductor packages. Different packages may depend on incompatible releases of the same Python library, making a shared environment unsuitable for some bioinformatics workflows.

The package manages a self-contained Conda installation independently of the user’s existing Python setup. Bioconductor package developers define the environments needed by their software, allowing users to perform analyses without manually configuring external dependencies. Integration with reticulate provides access to Python libraries while basilisk manages the execution contexts required to prevent incompatible environments from interfering with one another.

This is free and open source software.

Key Features

  • Specify environment definitions using the BasiliskEnvironment class, including Python interpreter and library requirements.
  • Pin dependency versions to improve the reproducibility of computational workflows.
  • Create required environments on demand and reuse cached environments for subsequent operations.
  • Manage multiple independent Python environments within a single R session through process isolation.
  • Select an appropriate execution context, using the current session, a forked process or a separate socket-connected R process.
  • Control the lifecycle of execution contexts with basiliskStart(), basiliskRun() and basiliskStop().
  • Transfer serializable arguments and results between execution contexts.
  • Preserve intermediate objects across successive operations within the same execution context.
  • Configure environment storage in user-writable directories or shared system locations.
  • Test client package functions under isolated execution conditions to identify assumptions about shared state.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: bioconductor.org
Support:
Developer: Aaron Lun, Vince Carey
License: GNU General Public License v3.0

basilisk is written in R. Learn R with our recommended free books and free tutorials.


Related Software

Access Python from R
reticulateR Interface to Python
basiliskSmooth interoperability of multiple Python environments in a single R session
rpymatCreates and manages an isolated Miniconda and Python environment

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted