Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

oxbow

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oxbow

Read specialized bioinformatic file formats into dataframes.

  • 0.3.2
  • PyPI
  • Socket score

Maintainers
3

py-oxbow

A Python interface for oxbow. Read specialized bioinformatic file formats into dataframes.

Installation

Warning: oxbow is new and under active development. It is not yet ready for production as APIs are subject to change.

pip install oxbow

Usage

API Documentation

import oxbow as ox

arrow_ipc = ox.read_bam("data.bam", "chr1:1-100000")

# Read into polars
import polars as pl
df = pl.read_ipc(arrow_ipc)

# Read into pandas
import io
import pyarrow.ipc
df = pyarrow.ipc.open_file(io.BytesIO(ipc)).read_pandas()

Development

This project uses maturin and hatch for development, which can be installed with pipx.

# create a virtual env
hatch shell

# compile a development version of the package
maturin develop --release

# open the jupyter notebooks/
jupyterlab

A local build of oxbow will be added to your virtual environment.

import oxbow as ox

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc