scprel


Namescprel JSON
Version 1.1.11 PyPI version JSON
download
home_pagehttps://pypi.org/project/scprel/
SummarySingle-cell data preprocessing for multiple samples.
upload_time2023-11-16 12:45:55
maintainer
docs_urlNone
authorGPuzanov (Grigory Puzanov)
requires_python
license
keywords python jupyter notebook single-cell scrna-seq single-cell quality control single-cell data preparation single-cell multiple samples samples concatenation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## Scprel - Single-Cell Data Preprocessing in Python

### Import scprel as:

    import scprel

This package allows to perform basic preprocessing steps for single-cell analysis of multiple samples. It includes scrublets detection, quality control, normalization with `target_sum=1e4`, leiden clustering, annotation of cell types with [PanglaoDB](https://panglaodb.se/) database and infercnv calculations. It integrates some of the [`Scanpy`](https://scanpy.readthedocs.io/en/stable/), [`Decoupler`](https://decoupler-py.readthedocs.io/en/latest/), [`Infercnvpy`](https://infercnvpy.readthedocs.io/en/latest/infercnv.html) and [`Anndata`](https://anndata.readthedocs.io/en/latest/concatenation.html) functions. It is designed to facilitate workflow when analyzing multiple samples. Each sample is analyzed and annotated separately and then they are concatenated

### Example of usage:

    scprel.scrun(names = ['sample1', 'sample2'], path = '/content/drive/MyDrive/MyDirectory/')

* 'names' - *list of sample names in your directory (.h5 format);* 
* 'path' - *path to the directory with samples*

The result of this function is the [`anndata.AnnData`](https://anndata.readthedocs.io/en/stable/generated/anndata.AnnData.html#anndata.AnnData) object, compressed with [`hdf5plugin`](https://pypi.org/project/hdf5plugin/), with concatenated samples, filtered by 'mt' and 'ribo' genes, with annotated gene locations and annotated tumor cells based on cnv score. All immune cells in the sample are considered reference cells for infercnv calculations.

![The obs table for resulting adata file](https://raw.githubusercontent.com/ronnaug/1/Genomic_data_analysis/Example_table.png)

*The resulting file will be saved in your default home directory and is ready for batch correction and further analysis.*


            

Raw data

            {
    "_id": null,
    "home_page": "https://pypi.org/project/scprel/",
    "name": "scprel",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "python,jupyter notebook,single-cell,scRNA-seq,single-cell quality control,single-cell data preparation,single-cell multiple samples,samples concatenation",
    "author": "GPuzanov (Grigory Puzanov)",
    "author_email": "<grigorypuzanov@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/c3/a4/62b6f6e25b57b216e1274302b834fbb2d559516ebc0e9d177c29e2b4af26/scprel-1.1.11.tar.gz",
    "platform": null,
    "description": "## Scprel - Single-Cell Data Preprocessing in Python\n\n### Import scprel as:\n\n    import scprel\n\nThis package allows to perform basic preprocessing steps for single-cell analysis of multiple samples. It includes scrublets detection, quality control, normalization with `target_sum=1e4`, leiden clustering, annotation of cell types with [PanglaoDB](https://panglaodb.se/) database and infercnv calculations. It integrates some of the [`Scanpy`](https://scanpy.readthedocs.io/en/stable/), [`Decoupler`](https://decoupler-py.readthedocs.io/en/latest/), [`Infercnvpy`](https://infercnvpy.readthedocs.io/en/latest/infercnv.html) and [`Anndata`](https://anndata.readthedocs.io/en/latest/concatenation.html) functions. It is designed to facilitate workflow when analyzing multiple samples. Each sample is analyzed and annotated separately and then they are concatenated\n\n### Example of usage:\n\n    scprel.scrun(names = ['sample1', 'sample2'], path = '/content/drive/MyDrive/MyDirectory/')\n\n* 'names' - *list of sample names in your directory (.h5 format);* \n* 'path' - *path to the directory with samples*\n\nThe result of this function is the [`anndata.AnnData`](https://anndata.readthedocs.io/en/stable/generated/anndata.AnnData.html#anndata.AnnData) object, compressed with [`hdf5plugin`](https://pypi.org/project/hdf5plugin/), with concatenated samples, filtered by 'mt' and 'ribo' genes, with annotated gene locations and annotated tumor cells based on cnv score. All immune cells in the sample are considered reference cells for infercnv calculations.\n\n![The obs table for resulting adata file](https://raw.githubusercontent.com/ronnaug/1/Genomic_data_analysis/Example_table.png)\n\n*The resulting file will be saved in your default home directory and is ready for batch correction and further analysis.*\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Single-cell data preprocessing for multiple samples.",
    "version": "1.1.11",
    "project_urls": {
        "Homepage": "https://pypi.org/project/scprel/"
    },
    "split_keywords": [
        "python",
        "jupyter notebook",
        "single-cell",
        "scrna-seq",
        "single-cell quality control",
        "single-cell data preparation",
        "single-cell multiple samples",
        "samples concatenation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "24bf066fe5b05632854983b0cadb93db9045790375b469deb22a230d9860b4af",
                "md5": "a44cbdb2682dfed64c79c3d0f89a7fb1",
                "sha256": "d854ccbf3a2950d53bcde158e12806858342694c4facd4bf8f194f24a0a23317"
            },
            "downloads": -1,
            "filename": "scprel-1.1.11-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a44cbdb2682dfed64c79c3d0f89a7fb1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 13648,
            "upload_time": "2023-11-16T12:45:54",
            "upload_time_iso_8601": "2023-11-16T12:45:54.618443Z",
            "url": "https://files.pythonhosted.org/packages/24/bf/066fe5b05632854983b0cadb93db9045790375b469deb22a230d9860b4af/scprel-1.1.11-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c3a462b6f6e25b57b216e1274302b834fbb2d559516ebc0e9d177c29e2b4af26",
                "md5": "030172b81fddb9d8e9dcb6940c02690e",
                "sha256": "ab74646b37843be44c255b920f8b1927ca3c67dbdf2233868240d0b88d3b9892"
            },
            "downloads": -1,
            "filename": "scprel-1.1.11.tar.gz",
            "has_sig": false,
            "md5_digest": "030172b81fddb9d8e9dcb6940c02690e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6697,
            "upload_time": "2023-11-16T12:45:55",
            "upload_time_iso_8601": "2023-11-16T12:45:55.966911Z",
            "url": "https://files.pythonhosted.org/packages/c3/a4/62b6f6e25b57b216e1274302b834fbb2d559516ebc0e9d177c29e2b4af26/scprel-1.1.11.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-11-16 12:45:55",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "scprel"
}
        
Elapsed time: 0.14708s