Create BioTuring Compressed Study (bcs) file
Project description
pyBCS
This is a python library to create a BioTuring Compressed Study (bcs
) file from an AnnData (scanpy) object.
bcs
files can be imported directly into BBrowser, a software for single-cell data.
Visit our github for more detail.
Example
Scanpy
from pyBCS import scanpy2bcs
scanpy2bcs.format_data("/mnt/example/data.h5ad", "/mnt/example/data.bcs",
input_format="h5ad", graph_based="louvain")
SPRING
from pyBCS import scanpy2bcs
scanpy2bcs.format_data("/mnt/example/spring_study", "/mnt/example/data.bcs",
input_format="spring",
graph_based="louvain")
Loom
from pyBCS import scanpy2bcs
scanpy2bcs.format_data("/mnt/example/data.loom", "/mnt/example/data.bcs",
input_format="loom",
barcode_name="CellID",
feature_name="Gene",
dimred_keys={"tsne":["tsne1", "tsne2"]})
Abloom
from pyBCS import scanpy2bcs
scanpy2bcs.format_data("/mnt/example/data.loom", "/mnt/example/data.bcs",
input_format="abloom",
barcode_name="observation_id",
feature_name="accession_id",
graph_based="cluster")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyBCS-bioturing-0.3.1.tar.gz
(12.0 kB
view hashes)
Built Distribution
Close
Hashes for pyBCS_bioturing-0.3.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 694de16fc9b0cfee734ccfe1d39e91521a10344a6b69722d152e34c7ffb2d32c |
|
MD5 | b51e9faaed058dcf64e9426a4c9ffc99 |
|
BLAKE2b-256 | c4cf6f8faa3d34acae2fb43998ab7046393d3ba77de5567af30a80760dc162a7 |