Skip to main content

Convert seurat obj to Adata

Project description

Convert Seurat Obj (rds) to Scanpy obj (adata)

Usage:

conda enve create -f env.yaml
conda activate seuratToAdata

usage: seuratToAdata [-h] -o OUTPUT [--RNA] rds

positional arguments:
  rds                   Use - for STDIN or path for seurat obj(*.rds file)

optional arguments:
  -h, --help            show this help message and exit
  -o OUTPUT, --output OUTPUT
                        Specify path to write the results (default: None)
  --RNA                 Whether is store in the RNA slot (default: False)

Issues might arise:

  1. UnicodeDecodeError: 'ascii' codec can't decode byte 0xcf in position 1: ordinal not in range(128).

    Solved by fixing the locale: https://stackoverflow.com/questions/51026315/how-to-solve-unicodedecodeerror-in-python-3-6/51027262#51027262

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

seuratToAdata-0.0.6.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

seuratToAdata-0.0.6-py3-none-any.whl (4.4 kB view hashes)

Uploaded Python 3

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