Skip to main content

Basic Informatics and Gene Statistics from Unnormalized Reads, a feature selection tool for scRNAseq

Project description

BigSur

BigSur is a package for principled, robust scRNAseq normalization. Currently we can perform feature selection, see BigSurR for correlations.

What is BigSur?

Basic Informatics and Gene Statistics from Unnormalized Reads (BigSur) is a principled pipeline allowing for feature selection, correlation and clustering in scRNAseq.

Installation

The only way to install BigSur currently is to clone the GitHub repo. We've included a environment file for conda environment installation; the only package we require that isn't installed with scanpy is mpmath and numexpr. For example:

In terminal:

cd bigsur_dir #directory to clone to

git clone https://github.com/landerlabcode/BigSur.git

conda create -f environment.yml -n bigsur

A note about the virtual environment

This environment contains all packages that are required to reproduce any result of the paper. If you want a lightweight conda enviroment (or alternatively, if the environment file is causing issues), you can create a sufficient conda environment as follows:

In terminal:

conda create -n bigsur -c conda-forge scanpy mpmath numexpr ipykernel python-igraph leidenalg

Usage

Usage for feature selection is detailed in the example notebook.

TL;DR:

import sys

sys.path.append(bigsur_dir) # directory where git repo was cloned

from BigSur.feature_selection import mcfano_feature_selection as mcfano

Replace sc.pp.highly_variable_genes(adata) in your pipeline with mcfano(adata, layer='counts'), where the UMI counts are in adata.layers['counts'].

And that's it! You can read more about how to use BigSur for feature selection, and in particular how to optimize cutoffs for a given dataset, in the example notebook.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bigsur-0.0.4.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bigsur-0.0.4-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file bigsur-0.0.4.tar.gz.

File metadata

  • Download URL: bigsur-0.0.4.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.13

File hashes

Hashes for bigsur-0.0.4.tar.gz
Algorithm Hash digest
SHA256 dd58e0f3d1282dba53a1873df13dd8867af2b684e8dcbad824df96585180199c
MD5 35be9f9d8aa00c033a00501e2ecd29eb
BLAKE2b-256 ff1a05a2303623dad0010eb2c3c426fc4d6af37f6a6c79a789e1af2b9ef73be1

See more details on using hashes here.

File details

Details for the file bigsur-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: bigsur-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 11.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.13

File hashes

Hashes for bigsur-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d6579f22438a26ec391df6d7287cae1874ba4139edeff77f4df21ca5a8e5d9af
MD5 e7181fc42c2e48144cf5ad30de125761
BLAKE2b-256 4c32f25fac8ad77e2903dda96e1504a5c95a608a6424030f0852b42f4cf2d4b4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page