| Name | rnasa JSON |
| Version |
0.2.0
JSON |
| download |
| home_page | https://github.com/dceoy/rnasa |
| Summary | Gene Expression Level Calculator for RNA-seq |
| upload_time | 2023-12-23 06:31:51 |
| maintainer | |
| docs_url | None |
| author | Daichi Narushima |
| requires_python | >=3.6 |
| license | |
| keywords |
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
rnasa
=====
Gene Expression Level Calculator for RNA-seq
[](https://github.com/dceoy/rnasa/actions/workflows/test.yml)
[](https://github.com/dceoy/rnasa/actions/workflows/python-publish.yml)
[](https://github.com/dceoy/rnasa/actions/workflows/docker-publish.yml)
Installation
------------
```sh
$ pip install -U rnasa
```
Dependent commands:
- `pigz`
- `pbzip2`
- `bgzip`
- `samtools` (and `plot-bamstats`)
- `java`
- `fastqc`
- `trim_galore`
- `STAR`
- `rsem-prepare-reference`
- `rsem-refseq-extract-primary-assembly`
- `rsem-calculate-expression`
Docker image
------------
Pull the image from [Docker Hub](https://hub.docker.com/r/dceoy/rnasa/).
```sh
$ docker image pull dceoy/rnasa
```
Usage
-----
#### Calculate gene expression levels
| input files | output files |
|:-----------------:|:-------------:|
| FASTQ (Illumina) | TSV (or GCT) |
1. Download and process resource data.
```sh
$ rnasa download --genome=GRCh38 --dest-dir=/path/to/ref
```
2. Calculate TPM (transcripts per million) values from FASTQ files.
```sh
$ rnasa calculate \
--workers=2 \
--dest-dir=/path/to/output \
/path/to/ref/GRCh38 \
/path/to/sample1_fastq_prefix \
/path/to/sample2_fastq_prefix \
/path/to/sample3_fastq_prefix
```
The command search for one (single-end) or two (paired-end) input FASTQ files by prefix.
Standard workflow:
1. Trim adapters
- `trim_galore`
2. Map reads and calculate TPM values
- `STAR`
- `rsem-calculate-expression`
3. Collect QC metrics
- `fastqc`
- `samtools`
3. Extract TPM values from RSEM results files, and consolidate them into TSV files.
```sh
$ rnasa extract --dest-dir=. /path/to/output/rsem
```
If `--gct` is passed, `rnasa extract` creates output files in GCT format.
Run `rnasa --help` for more information.
Raw data
{
"_id": null,
"home_page": "https://github.com/dceoy/rnasa",
"name": "rnasa",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Daichi Narushima",
"author_email": "dnarsil+github@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/d6/db/d62301110d4024b7b33c869269d56fcfb47ae51c113a6165c04f7956851f/rnasa-0.2.0.tar.gz",
"platform": null,
"description": "rnasa\n=====\n\nGene Expression Level Calculator for RNA-seq\n\n[](https://github.com/dceoy/rnasa/actions/workflows/test.yml)\n[](https://github.com/dceoy/rnasa/actions/workflows/python-publish.yml)\n[](https://github.com/dceoy/rnasa/actions/workflows/docker-publish.yml)\n\nInstallation\n------------\n\n```sh\n$ pip install -U rnasa\n```\n\nDependent commands:\n\n- `pigz`\n- `pbzip2`\n- `bgzip`\n- `samtools` (and `plot-bamstats`)\n- `java`\n- `fastqc`\n- `trim_galore`\n- `STAR`\n- `rsem-prepare-reference`\n- `rsem-refseq-extract-primary-assembly`\n- `rsem-calculate-expression`\n\nDocker image\n------------\n\nPull the image from [Docker Hub](https://hub.docker.com/r/dceoy/rnasa/).\n\n```sh\n$ docker image pull dceoy/rnasa\n```\n\nUsage\n-----\n\n#### Calculate gene expression levels\n\n| input files | output files |\n|:-----------------:|:-------------:|\n| FASTQ (Illumina) | TSV (or GCT) |\n\n\n1. Download and process resource data.\n\n ```sh\n $ rnasa download --genome=GRCh38 --dest-dir=/path/to/ref\n ```\n\n2. Calculate TPM (transcripts per million) values from FASTQ files.\n\n ```sh\n $ rnasa calculate \\\n --workers=2 \\\n --dest-dir=/path/to/output \\\n /path/to/ref/GRCh38 \\\n /path/to/sample1_fastq_prefix \\\n /path/to/sample2_fastq_prefix \\\n /path/to/sample3_fastq_prefix\n ```\n\n The command search for one (single-end) or two (paired-end) input FASTQ files by prefix.\n\n Standard workflow:\n 1. Trim adapters\n - `trim_galore`\n 2. Map reads and calculate TPM values\n - `STAR`\n - `rsem-calculate-expression`\n 3. Collect QC metrics\n - `fastqc`\n - `samtools`\n\n3. Extract TPM values from RSEM results files, and consolidate them into TSV files.\n\n ```sh\n $ rnasa extract --dest-dir=. /path/to/output/rsem\n ```\n\n If `--gct` is passed, `rnasa extract` creates output files in GCT format.\n\nRun `rnasa --help` for more information.\n",
"bugtrack_url": null,
"license": "",
"summary": "Gene Expression Level Calculator for RNA-seq",
"version": "0.2.0",
"project_urls": {
"Homepage": "https://github.com/dceoy/rnasa"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "614e2c08d8a71c7b0928faa94add63042e5f4bf000003904fb977389500366d3",
"md5": "113fff9c747b1cd0e09742ee655563a0",
"sha256": "2dd92326809eaba8f304e988828deea853a8fa604ba0d5f539fcca4a4d08ec0b"
},
"downloads": -1,
"filename": "rnasa-0.2.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "113fff9c747b1cd0e09742ee655563a0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 12878,
"upload_time": "2023-12-23T06:31:48",
"upload_time_iso_8601": "2023-12-23T06:31:48.870293Z",
"url": "https://files.pythonhosted.org/packages/61/4e/2c08d8a71c7b0928faa94add63042e5f4bf000003904fb977389500366d3/rnasa-0.2.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d6dbd62301110d4024b7b33c869269d56fcfb47ae51c113a6165c04f7956851f",
"md5": "b0a6bd20b9db2a2c98749372435d90e0",
"sha256": "178b35aa55195180d675b8a53f00fdf11eb315b01566baac475f951e8ffe90c3"
},
"downloads": -1,
"filename": "rnasa-0.2.0.tar.gz",
"has_sig": false,
"md5_digest": "b0a6bd20b9db2a2c98749372435d90e0",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 11563,
"upload_time": "2023-12-23T06:31:51",
"upload_time_iso_8601": "2023-12-23T06:31:51.048295Z",
"url": "https://files.pythonhosted.org/packages/d6/db/d62301110d4024b7b33c869269d56fcfb47ae51c113a6165c04f7956851f/rnasa-0.2.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-12-23 06:31:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dceoy",
"github_project": "rnasa",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "rnasa"
}