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.5.tar.gz (12.6 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.5-py3-none-any.whl (11.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bigsur-0.0.5.tar.gz
  • Upload date:
  • Size: 12.6 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.5.tar.gz
Algorithm Hash digest
SHA256 74f8a5bdd409eae2808fdfccf8336dd48d5d9bf7dadab2d28883244078fa8aed
MD5 243bb0b08c12149e92766b97f590dbb7
BLAKE2b-256 505cfd8cf41fc97e2b01373f122d79f1a30d064df95df6b81582005877fd409a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bigsur-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 11.5 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8eb1250e216f3bc21ab7acd4edb972243ab0d7b889197215458ee02552f28206
MD5 e237f813b7bc1622534b8e986c76a15d
BLAKE2b-256 e5e6c1ce674441968e19b8e7d3fae88d430b3b575629d3b7a13ff6d60f2810a0

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