Skip to main content

implementation of scANANSE for scanpy objects in Python

Project description

AnanseScanpy package: implementation of scANANSE for Scanpy objects in Python

Anaconda-Server Badge PyPI version install with bioconda Anaconda-Server Badge Maintainability

Installation

The most straightforward way to install the most recent version of AnanseScanpy is via conda using PyPI.

Install package through Conda

If you have not used Bioconda before, first set up the necessary channels (in this order!). You only have to do this once.

$ conda config --add channels defaults
$ conda config --add channels bioconda
$ conda config --add channels conda-forge

Then install AnanseScanpy with:

$ conda install anansescanpy

Install package through PyPI

$ pip install anansescanpy

Install package through GitHub

$ git clone https://github.com/Arts-of-coding/AnanseScanpy.git
$ cd AnanseScanpy
$ conda env create -f requirements.yaml
$ conda activate AnanseScanpy
$ pip install -e .

Install Jupyter Notebook

$ pip install jupyter

Start using the package

Run the package either in the console

$ python3

Or run the package in jupyter notebook

$ jupyter notebook

For extended documentation see our ipynb vignette with PBMC sample data

Of which the sample data can be downloaded

DOI

$ wget https://zenodo.org/record/7446267/files/rna_PBMC.h5ad -O scANANSE/rna_PBMC.h5ad
$ wget https://zenodo.org/record/7446267/files/atac_PBMC.h5ad -O scANANSE/atac_PBMC.h5ad

installing and running anansnake

Follow the instructions its respective github page, https://github.com/vanheeringen-lab/anansnake Next automatically use the generated files to run GRN analysis using your single cell cluster data:

snakemake --use-conda --conda-frontend mamba \
--configfile scANANSE/analysis/config.yaml \
--snakefile scANANSE/anansnake/Snakefile \
--resources mem_mb=48_000 --cores 12

Thanks to:

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

anansescanpy-1.0.0.tar.gz (15.4 kB view details)

Uploaded Source

Built Distribution

anansescanpy-1.0.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file anansescanpy-1.0.0.tar.gz.

File metadata

  • Download URL: anansescanpy-1.0.0.tar.gz
  • Upload date:
  • Size: 15.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/5.15.0-56-generic

File hashes

Hashes for anansescanpy-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9efd6ca2c1e5a9fc1ab70030f74f4a063f7e7ac065e6c7942d8b8cd08626accf
MD5 39f4f30ffa8d45b3208f1ec360ea4c6b
BLAKE2b-256 d35d20b29cda1736ee022393d8609338ebec3addb604ad645b9b9268e36cf8c6

See more details on using hashes here.

File details

Details for the file anansescanpy-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: anansescanpy-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.6 Linux/5.15.0-56-generic

File hashes

Hashes for anansescanpy-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c03962339de21d97e7a8a8bddd185cbadd5885c9f5d0d060e148207c116c0755
MD5 f9fe6896a2d1d175f11ba37fb1520d02
BLAKE2b-256 de6e9bbd3d9262858a150c4d73a18745071847650ca761a57661e0f07ece72c8

See more details on using hashes here.

Supported by

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