lasersonlab / single-cell-experiments Goto Github PK
View Code? Open in Web Editor NEWExperiments to run single cell analyses efficiently at scale using Zarr, anndata, Scanpy, and Apache Spark
Experiments to run single cell analyses efficiently at scale using Zarr, anndata, Scanpy, and Apache Spark
It's not installing anndata: https://travis-ci.org/lasersonlab/single-cell-experiments/builds/416327302
To make sure we follow formatting and docstring guidelines.
See e.g. https://jeffknupp.com/blog/2016/12/09/how-python-linters-will-save-your-large-python-project/
This includes:
to support the Zheng17 recipe: https://github.com/theislab/scanpy/blob/master/scanpy/preprocessing/recipes.py#L61.
Anndata should be able to read and write to zarr storage
Pyspark vs Apache Beam vs Dask
So it can more closely track scanpy, and hopefully eventually be merged there. We would add it as a submodule of this repo, just like we do for anndata.
Like this but for 10x data: https://nbviewer.jupyter.org/github/theislab/scanpy_usage/blob/master/170505_seurat/seurat.ipynb
Might be relevant: Jupyter+Spark+Google Cloud
https://cloud.google.com/blog/big-data/2017/02/google-cloud-platform-for-data-scientists-using-jupyter-notebooks-with-apache-spark-on-google-cloud
Now that scverse/anndata#38 has been merged we should try using the upstream branch, and the next release when that's available.
Tracking some data-format-conversion needs/functionality here.
WIP script for some conversions is at cli.py
Format | Read | Write to Zarr | ||||
---|---|---|---|---|---|---|
Locally | From cloud storage | In parallel w/ Spark | Locally | To cloud storage | In parallel w/ Spark | |
10x (.h5 ) |
✅ | ✅ | ✅ | |||
AnnData (.h5ad ) |
✅ | ✅ | ✅ | |||
Loom (.loom ) |
Notes:
read_loom
method loads the whole dataset into memory, which we'd like to avoidh5py
only reads from local files
How does it compare to the single process equivalent in scanpy? Can we make it go faster (bigger cluster, better memory/core settings, etc)?
We'll need to do this on a single machine owing to the lack of support for reading hdf5 in Python in a distributed way.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.