REVEALER


NameREVEALER JSON
Version 2.1.9 PyPI version JSON
download
home_pagehttps://github.com/yoshihiko1218/REVEALER
SummaryREVEALER#TODO
upload_time2024-09-09 22:47:37
maintainerNone
docs_urlNone
authorJiayan(Yoshii) Ma
requires_python<3.10,>=3.7
licenseMIT
keywords revealer
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# eREVEALER

**eREVEALER** (**e**nhanced **RE**peated e**V**aluation of variabl**E**s condition**AL** **E**ntropy and **R**edundancy) is a powerful method for identifying groups of genomic alterations that, together, associate with functional activation, gene dependency, or drug response profiles. By combining these alterations, eREVEALER explains a larger fraction of samples displaying functional target activation or sensitivity than any individual alteration considered in isolation. eREVEALER extends the capabilities of the original REVEALER by handling larger sample sizes with significantly higher speed.

Preprint is avaiable [here](https://www.biorxiv.org/content/10.1101/2023.11.14.567106v1)

![Alt text](docs/images/REVEALER_schematic.png)

## Overview

eREVEALER consists of two main components: `REVEALER preprocess` and `REVEALER run`. 

- **REVEALER preprocess**: If you start with a MAF file or a GCT file that needs further filtering, run `REVEALER preprocess` first and use its output as the input for `REVEALER run`.
- **REVEALER run**: If you have a ready-to-use GCT format matrix, you can directly run `REVEALER run`.

For detailed documentation regarding each parameter and workflow, refer to the individual documentation for [REVEALER_preprocess](docs/REVEALER_preprocess_Documentation.md) and [REVEALER](docs/REVEALER_Documentation.md).


## Installation

### Python version prerequisite

Please use Python version >= 3.7 and < 3.10

### Create Conda environment

```bash
conda create -n revealer python==3.9
```

### Install via pip

eREVEALER can be used in the command line, Jupyter Notebook, and GenePattern. To use eREVEALER in the command line or Jupyter Notebook, install it via pip:

```bash
pip install revealer
```

### Install via cloning the repository

Alternatively, you can install eREVEALER by cloning the repository and running the setup script.

1. **Clone the repository**:

    ```bash
    git clone https://github.com/yoshihiko1218/eREVEALER.git
    cd eREVEALER
    ```

2. **Install the dependencies**:

    ```bash
    pip install -r requirements.txt
    ```

3. **Install the package**:

    ```bash
    python setup.py install
    ```

## Testing installation with an example
After you finish installing, you can test REVEALER by running 

```bash
REVEALER test 
```
This will take approximately an hour.

## Jupyter notebook Usage

Detailed example of using eREVEALER in Jupyter Notebook can be found [here](example/REVEALER_Example.ipynb). eREVEALER is also available in GenePattern, allowing you to run it directly on the GenePattern server. More details can be found [here](link to genepattern module to be added).

## Command line Usage

The preprocessing step offers various modes, which are explained in detail in the GenePattern documentation. Below are example commands for different modes. 

Here is the command-line version of the example found [here](example/REVEALER_Example.ipynb).

### Download Example Input File

First, download the example input file for the CCLE dataset MAF file from this link: [DepMap Public 23Q2 OmicsSomaticMutations.csv](https://depmap.org/portal/download/all/?releasename=DepMap+Public+23Q2&filename=OmicsSomaticMutations.csv). Save it to the `example/sample_input` folder (or another location, as long as you indicate the path in the command).

### Run File Preprocessing

```bash
REVEALER preprocess \
    --mode class \
    --input_file example/sample_input/OmicsSomaticMutations.csv \
    --protein_change_identifier ProteinChange \
    --file_separator , \
    --col_genename HugoSymbol \
    --col_class VariantType \
    --col_sample ModelID \
    --prefix CCLE \
    --out_folder example/sample_input/CCLE \
    --mode mutall
```

### Convert Annotation from DepMap to CCLE

```bash
python example/DepMapToCCLE.py example/sample_input/NameConvert.csv example/sample_input/CCLE_Mut_All.gct example/sample_input/CCLE_Mut_All_rename.gct
```

### Run REVEALER with Generated File and NFE2L2 Signature

```bash
REVEALER run \
    --target_file example_notebook/sample_input/CCLE_complete_sigs.gct \
    --feature_file example_notebook/sample_input/CCLE_Mut_All_rename.gct \
    --out_folder example_notebook/sample_output/NRF2 \
    --prefix CCLE_NRF2 \
    --target_name NFE2L2.V2 \
    --if_pvalue False \
    --if_bootstrap False \
    --gene_locus example_notebook/sample_input/allgeneLocus.txt \
    --tissue_file example_notebook/sample_input/TissueType_CCLE.gct
```

## Contributing

If you would like to contribute to eREVEALER, please submit a pull request or report issues on our [GitHub repository](https://github.com/yoshihiko1218/eREVEALER).

## License

eREVEALER is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/yoshihiko1218/REVEALER",
    "name": "REVEALER",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.10,>=3.7",
    "maintainer_email": null,
    "keywords": "REVEALER",
    "author": "Jiayan(Yoshii) Ma",
    "author_email": "\"Jiayan(Yoshii) Ma\" <jim095@ucsd.edu>",
    "download_url": "https://files.pythonhosted.org/packages/fc/b6/2eb8e476b631cda79bfad1a7825e37aa1cd33112ae2e99508019e33192f8/revealer-2.1.9.tar.gz",
    "platform": null,
    "description": "\n# eREVEALER\n\n**eREVEALER** (**e**nhanced **RE**peated e**V**aluation of variabl**E**s condition**AL** **E**ntropy and **R**edundancy) is a powerful method for identifying groups of genomic alterations that, together, associate with functional activation, gene dependency, or drug response profiles. By combining these alterations, eREVEALER explains a larger fraction of samples displaying functional target activation or sensitivity than any individual alteration considered in isolation. eREVEALER extends the capabilities of the original REVEALER by handling larger sample sizes with significantly higher speed.\n\nPreprint is avaiable [here](https://www.biorxiv.org/content/10.1101/2023.11.14.567106v1)\n\n![Alt text](docs/images/REVEALER_schematic.png)\n\n## Overview\n\neREVEALER consists of two main components: `REVEALER preprocess` and `REVEALER run`. \n\n- **REVEALER preprocess**: If you start with a MAF file or a GCT file that needs further filtering, run `REVEALER preprocess` first and use its output as the input for `REVEALER run`.\n- **REVEALER run**: If you have a ready-to-use GCT format matrix, you can directly run `REVEALER run`.\n\nFor detailed documentation regarding each parameter and workflow, refer to the individual documentation for [REVEALER_preprocess](docs/REVEALER_preprocess_Documentation.md) and [REVEALER](docs/REVEALER_Documentation.md).\n\n\n## Installation\n\n### Python version prerequisite\n\nPlease use Python version >= 3.7 and < 3.10\n\n### Create Conda environment\n\n```bash\nconda create -n revealer python==3.9\n```\n\n### Install via pip\n\neREVEALER can be used in the command line, Jupyter Notebook, and GenePattern. To use eREVEALER in the command line or Jupyter Notebook, install it via pip:\n\n```bash\npip install revealer\n```\n\n### Install via cloning the repository\n\nAlternatively, you can install eREVEALER by cloning the repository and running the setup script.\n\n1. **Clone the repository**:\n\n    ```bash\n    git clone https://github.com/yoshihiko1218/eREVEALER.git\n    cd eREVEALER\n    ```\n\n2. **Install the dependencies**:\n\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n3. **Install the package**:\n\n    ```bash\n    python setup.py install\n    ```\n\n## Testing installation with an example\nAfter you finish installing, you can test REVEALER by running \n\n```bash\nREVEALER test \n```\nThis will take approximately an hour.\n\n## Jupyter notebook Usage\n\nDetailed example of using eREVEALER in Jupyter Notebook can be found [here](example/REVEALER_Example.ipynb). eREVEALER is also available in GenePattern, allowing you to run it directly on the GenePattern server. More details can be found [here](link to genepattern module to be added).\n\n## Command line Usage\n\nThe preprocessing step offers various modes, which are explained in detail in the GenePattern documentation. Below are example commands for different modes. \n\nHere is the command-line version of the example found [here](example/REVEALER_Example.ipynb).\n\n### Download Example Input File\n\nFirst, download the example input file for the CCLE dataset MAF file from this link: [DepMap Public 23Q2 OmicsSomaticMutations.csv](https://depmap.org/portal/download/all/?releasename=DepMap+Public+23Q2&filename=OmicsSomaticMutations.csv). Save it to the `example/sample_input` folder (or another location, as long as you indicate the path in the command).\n\n### Run File Preprocessing\n\n```bash\nREVEALER preprocess \\\n    --mode class \\\n    --input_file example/sample_input/OmicsSomaticMutations.csv \\\n    --protein_change_identifier ProteinChange \\\n    --file_separator , \\\n    --col_genename HugoSymbol \\\n    --col_class VariantType \\\n    --col_sample ModelID \\\n    --prefix CCLE \\\n    --out_folder example/sample_input/CCLE \\\n    --mode mutall\n```\n\n### Convert Annotation from DepMap to CCLE\n\n```bash\npython example/DepMapToCCLE.py example/sample_input/NameConvert.csv example/sample_input/CCLE_Mut_All.gct example/sample_input/CCLE_Mut_All_rename.gct\n```\n\n### Run REVEALER with Generated File and NFE2L2 Signature\n\n```bash\nREVEALER run \\\n    --target_file example_notebook/sample_input/CCLE_complete_sigs.gct \\\n    --feature_file example_notebook/sample_input/CCLE_Mut_All_rename.gct \\\n    --out_folder example_notebook/sample_output/NRF2 \\\n    --prefix CCLE_NRF2 \\\n    --target_name NFE2L2.V2 \\\n    --if_pvalue False \\\n    --if_bootstrap False \\\n    --gene_locus example_notebook/sample_input/allgeneLocus.txt \\\n    --tissue_file example_notebook/sample_input/TissueType_CCLE.gct\n```\n\n## Contributing\n\nIf you would like to contribute to eREVEALER, please submit a pull request or report issues on our [GitHub repository](https://github.com/yoshihiko1218/eREVEALER).\n\n## License\n\neREVEALER is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "REVEALER#TODO",
    "version": "2.1.9",
    "project_urls": {
        "Homepage": "https://github.com/yoshihiko1218/REVEALER"
    },
    "split_keywords": [
        "revealer"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5cf78f1ba548b9dc882901b89453203821e0e97d1bf3d04c9b7a7534f0daa7fb",
                "md5": "93510dd645d0ca67257afd7285047224",
                "sha256": "2e3c41aa5b83cfd065d8daea462307437abdf8aafce8fdbeeb97cd823592ee75"
            },
            "downloads": -1,
            "filename": "REVEALER-2.1.9-cp39-cp39-manylinux1_x86_64.whl",
            "has_sig": false,
            "md5_digest": "93510dd645d0ca67257afd7285047224",
            "packagetype": "bdist_wheel",
            "python_version": "cp39",
            "requires_python": "<3.10,>=3.7",
            "size": 3668770,
            "upload_time": "2024-09-09T22:47:35",
            "upload_time_iso_8601": "2024-09-09T22:47:35.724493Z",
            "url": "https://files.pythonhosted.org/packages/5c/f7/8f1ba548b9dc882901b89453203821e0e97d1bf3d04c9b7a7534f0daa7fb/REVEALER-2.1.9-cp39-cp39-manylinux1_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fcb62eb8e476b631cda79bfad1a7825e37aa1cd33112ae2e99508019e33192f8",
                "md5": "832baa4723a92eba460bfdb88f3295c9",
                "sha256": "edaefb5f61053a8f6c1e799f1222b00643456880382f7f6d6636c528c97226bb"
            },
            "downloads": -1,
            "filename": "revealer-2.1.9.tar.gz",
            "has_sig": false,
            "md5_digest": "832baa4723a92eba460bfdb88f3295c9",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.10,>=3.7",
            "size": 2438865,
            "upload_time": "2024-09-09T22:47:37",
            "upload_time_iso_8601": "2024-09-09T22:47:37.922339Z",
            "url": "https://files.pythonhosted.org/packages/fc/b6/2eb8e476b631cda79bfad1a7825e37aa1cd33112ae2e99508019e33192f8/revealer-2.1.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-09 22:47:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "yoshihiko1218",
    "github_project": "REVEALER",
    "github_not_found": true,
    "lcname": "revealer"
}
        
Elapsed time: 0.54630s