[![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/downloads/release/python-31015/)
[![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-31110/)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)
[![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-red)](https://github.com/astral-sh/ruff)
[![codecov](https://codecov.io/gh/janschleicher/tidesurf/branch/main/graph/badge.svg?token=dMenu3eZkX)](https://codecov.io/gh/janschleicher/tidesurf)
[![Python package](https://github.com/janschleicher/tidesurf/actions/workflows/python-package.yml/badge.svg?branch=main)](https://github.com/janschleicher/tidesurf/actions/workflows/python-package.yml)
# tidesurf
This repository provides a Tool for IDentification and Enumeration of Spliced and Unspliced Read Fragments using Python.
## Installation
Set up a virtual environment using Conda with Python version >=3.10 and activate it:
conda create -n <envName> python=3.10
conda activate <envName>
Clone the repository:
git clone git@github.com:janschleicher/tidesurf.git
Change into the directory and install with pip:
cd tidesurf
pip install -e .
## Usage
```
usage: tidesurf [-h] [-v] [--orientation {sense,antisense}] [-o OUTPUT]
[--filter_cells] [--whitelist WHITELIST | --num_umis NUM_UMIS]
[--min_intron_overlap MIN_INTRON_OVERLAP]
[--multi_mapped_reads]
SAMPLE_DIR GTF_FILE
Program: tidesurf (Tool for IDentification and Enumeration of Spliced and Unspliced Read Fragments)
Version: 0.1.dev31+g30b513e.d20241211
positional arguments:
SAMPLE_DIR Sample directory containing Cell Ranger output.
GTF_FILE GTF file with transcript information.
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
--orientation {sense,antisense}
Orientation of reads with respect to transcripts. For
10x Genomics, use 'sense' for three prime and
'antisense' for five prime.
-o OUTPUT, --output OUTPUT
Output directory.
--filter_cells Filter cells based on a whitelist.
--whitelist WHITELIST
Whitelist for cell filtering. Set to 'cellranger' to
use barcodes in the sample directory. Alternatively,
provide a path to a whitelist.
--num_umis NUM_UMIS Minimum number of UMIs for filtering a cell.
--min_intron_overlap MIN_INTRON_OVERLAP
Minimum number of bases that a read must overlap with
an intron to be considered intronic.
--multi_mapped_reads Take reads mapping to multiple genes into account
(default: reads mapping to more than one gene are
discarded).
```
## Contributing
For contributing, you should install `tidesurf` in development mode:
pip install -e ".[dev]"
This will install the additional dependencies `ruff` and `pytest`, which are used for formatting and code style, and testing, respectively.
Please run these before commiting new code.
Raw data
{
"_id": null,
"home_page": null,
"name": "tidesurf",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "scRNA-seq, quantification, splicing, velocity",
"author": "Jan Schleicher",
"author_email": "jan.schleicher@uni-tuebingen.de",
"download_url": "https://files.pythonhosted.org/packages/40/a2/e5799755e5e0b0eb1d451e1debf17d2d6464013b9b01357597df4cbb30dc/tidesurf-0.1.0.tar.gz",
"platform": null,
"description": "[![Python 3.10](https://img.shields.io/badge/python-3.10-blue.svg)](https://www.python.org/downloads/release/python-31015/)\n[![Python 3.11](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/release/python-31110/)\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n[![Code style: ruff](https://img.shields.io/badge/code%20style-ruff-red)](https://github.com/astral-sh/ruff)\n[![codecov](https://codecov.io/gh/janschleicher/tidesurf/branch/main/graph/badge.svg?token=dMenu3eZkX)](https://codecov.io/gh/janschleicher/tidesurf)\n[![Python package](https://github.com/janschleicher/tidesurf/actions/workflows/python-package.yml/badge.svg?branch=main)](https://github.com/janschleicher/tidesurf/actions/workflows/python-package.yml)\n\n# tidesurf\n\nThis repository provides a Tool for IDentification and Enumeration of Spliced and Unspliced Read Fragments using Python.\n\n## Installation\n\nSet up a virtual environment using Conda with Python version >=3.10 and activate it:\n\n conda create -n <envName> python=3.10\n conda activate <envName>\n\nClone the repository:\n\n git clone git@github.com:janschleicher/tidesurf.git\n\nChange into the directory and install with pip:\n \n cd tidesurf\n pip install -e .\n\n## Usage\n\n```\nusage: tidesurf [-h] [-v] [--orientation {sense,antisense}] [-o OUTPUT]\n [--filter_cells] [--whitelist WHITELIST | --num_umis NUM_UMIS]\n [--min_intron_overlap MIN_INTRON_OVERLAP]\n [--multi_mapped_reads]\n SAMPLE_DIR GTF_FILE\n\nProgram: tidesurf (Tool for IDentification and Enumeration of Spliced and Unspliced Read Fragments)\nVersion: 0.1.dev31+g30b513e.d20241211\n\npositional arguments:\n SAMPLE_DIR Sample directory containing Cell Ranger output.\n GTF_FILE GTF file with transcript information.\n\noptions:\n -h, --help show this help message and exit\n -v, --version show program's version number and exit\n --orientation {sense,antisense}\n Orientation of reads with respect to transcripts. For\n 10x Genomics, use 'sense' for three prime and\n 'antisense' for five prime.\n -o OUTPUT, --output OUTPUT\n Output directory.\n --filter_cells Filter cells based on a whitelist.\n --whitelist WHITELIST\n Whitelist for cell filtering. Set to 'cellranger' to\n use barcodes in the sample directory. Alternatively,\n provide a path to a whitelist.\n --num_umis NUM_UMIS Minimum number of UMIs for filtering a cell.\n --min_intron_overlap MIN_INTRON_OVERLAP\n Minimum number of bases that a read must overlap with\n an intron to be considered intronic.\n --multi_mapped_reads Take reads mapping to multiple genes into account\n (default: reads mapping to more than one gene are\n discarded).\n```\n\n## Contributing\n\nFor contributing, you should install `tidesurf` in development mode:\n\n pip install -e \".[dev]\"\n\nThis will install the additional dependencies `ruff` and `pytest`, which are used for formatting and code style, and testing, respectively.\nPlease run these before commiting new code.\n",
"bugtrack_url": null,
"license": "GPL-3.0 license",
"summary": "Tool for IDentification and Enumeration of Spliced and Unspliced Read Fragments.",
"version": "0.1.0",
"project_urls": {
"Repository": "https://github.com/janschleicher/tidesurf"
},
"split_keywords": [
"scrna-seq",
" quantification",
" splicing",
" velocity"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "f8a9adb20c40dc024b957a346a4773e662823387700d16101b71204900facbf0",
"md5": "d6d69cc727b8334f4141ac109e79436c",
"sha256": "adc32906b0659e47a27f648ef6278ed45e3298796205a093eb0f369c7b535e9d"
},
"downloads": -1,
"filename": "tidesurf-0.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d6d69cc727b8334f4141ac109e79436c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 28572110,
"upload_time": "2025-01-24T13:29:38",
"upload_time_iso_8601": "2025-01-24T13:29:38.320591Z",
"url": "https://files.pythonhosted.org/packages/f8/a9/adb20c40dc024b957a346a4773e662823387700d16101b71204900facbf0/tidesurf-0.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "40a2e5799755e5e0b0eb1d451e1debf17d2d6464013b9b01357597df4cbb30dc",
"md5": "22b2847e47db496ffbb20bcdca811d6c",
"sha256": "a761946533e319d40d03b52c39bce7b950132633dd8d667b56eb033aa81ebcbe"
},
"downloads": -1,
"filename": "tidesurf-0.1.0.tar.gz",
"has_sig": false,
"md5_digest": "22b2847e47db496ffbb20bcdca811d6c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 28570933,
"upload_time": "2025-01-24T13:29:45",
"upload_time_iso_8601": "2025-01-24T13:29:45.309826Z",
"url": "https://files.pythonhosted.org/packages/40/a2/e5799755e5e0b0eb1d451e1debf17d2d6464013b9b01357597df4cbb30dc/tidesurf-0.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-24 13:29:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "janschleicher",
"github_project": "tidesurf",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "tidesurf"
}