implementation of scANANSE for scanpy objects in Python
Project description
AnanseScanpy
package: implementation of scANANSE for Scanpy objects in Python
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 .
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
$ wget https://mbdata.science.ru.nl/jsmits/scANANSE/rna_PBMC.h5ad -O scANANSE/rna_PBMC.h5ad
$ wget https://mbdata.science.ru.nl/jsmits/scANANSE/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:
- Jos Smits and his Seurat equivalent of this package https://github.com/JGASmits/AnanseSeurat
- Siebren Frohlich and his anansnake implementation https://github.com/vanheeringen-lab/anansnake
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
anansescanpy-0.2.1.tar.gz
(14.7 kB
view details)
Built Distribution
File details
Details for the file anansescanpy-0.2.1.tar.gz
.
File metadata
- Download URL: anansescanpy-0.2.1.tar.gz
- Upload date:
- Size: 14.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 223382e2042d160d1f5378889401660cec5197155ae7c5a8e59fff291d969c55 |
|
MD5 | 60ec2c8a5506b98d253ddcd8410fffbd |
|
BLAKE2b-256 | acff256ef925b9dcb522640fd4285b1c2f911b3826ed4aecaf9cae60054247cd |
File details
Details for the file anansescanpy-0.2.1-py3-none-any.whl
.
File metadata
- Download URL: anansescanpy-0.2.1-py3-none-any.whl
- Upload date:
- Size: 13.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f0253cde2f8ba8109113e7cf8d706cd5b70441a099f2f03d5a27e498731d665 |
|
MD5 | 2fcae6c2227f9bf6e75229ef24dea135 |
|
BLAKE2b-256 | 453a6b67b69f33c3e90945cfc1b4dec2701f2642715bc97d05c8c4d4fcf31bf4 |