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.3.tar.gz (12.5 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.3-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bigsur-0.0.3.tar.gz
  • Upload date:
  • Size: 12.5 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.3.tar.gz
Algorithm Hash digest
SHA256 3ae3b25b8f4d35ac0d9b2671a7229add0588d1ade6ed6ef2506df04a2f3fabbe
MD5 acbf37ea4387019b319913c134ad242d
BLAKE2b-256 ea116a789ae500c673aebbd3fa82a1c51df831badc23764aa6b659342a81c788

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bigsur-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 05cdaaee9215c1fe9e40a2410d24c360340a00f56aed8d364b7813393a988632
MD5 a9fedba34712c09a87c5c3274d1ff29e
BLAKE2b-256 6bf20389c44cdd9b9c2e63b9739edc73a9d9fe5afbe65143215371f6c6d19540

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