sashimi.py
what is sashimi.py
sashimi.py is a tool for visualizing various next-generation sequencing (NGS) data, including DNA-seq, RNA-seq, single-cell RNA-seq and full-length sequencing datasets.
Features of sashimi.py
- Support various file formats as input
- Support strand-aware coverage plot
- Visualize coverage by heatmap, including HiC diagram
- Visualize protein domain based the given gene id
- Demultiplex the single-cell RNA/ATAC-seq which used cell barcode into cell population
- Support visualizing individual full-length reads in read-by-read style
- Support visualize circRNA sequencing data
Input
sashimi.py supports almost NGS data format, including
- BAM
- Bed
- bigBed
- bigWig
- Depth file generated by
samtools depth - naive Hi-C format
Output
The output will be a pdf and other image file formats which satisfy the requirement of the major journals, and each track on output corresponds these datasets from config file.
Usage
The sashimi.py is written in Python, and user could install it in a variety of ways as follows
Note: if segment fault with multiple processing, please try to use docker image, or just run with -p 1.
-
install from PiPy
pip install sashimi.py
-
install from bioconda
conda install -c bioconda sashimi-py # or conda env create -n sashimi -f environment.yaml # or conda env create -n sashimi -c conda-forge -c bioconda -f requirements.txt conda activate sashimi && python setup.py install
-
using docker image
docker pull ygidtu/sashimi docker run --rm ygidtu/sashimi --help # or git clone from https://github.com/ygidtu/sashimi.py sashimi cd sashimi docker build -t ygidtu/docker . docker run --rm ygidtu/sashimi --help
-
install from source code
git clone https://github.com/ygidtu/sashimi.py sashimi cd sashimi python setup.py install sashimipy --help # pr python main.py --help
-
running from a local webserver
git clone https://github.com/ygidtu/sashimi.py sashimi cd sashimi/web # build the frontend static files npm install -g vue-cli vite && npm install vite build # prepare the backend server pip install fastapi pydantic jinja2 uvicorn python server.py --help
-
for
pipenvusersgit clone https://github.com/ygidtu/sashimi.py cd sashimi.py pipenv install # create virtualenv and install required packages pipenv shell # switch to virtualenv sashimipy --help # pr python main.py --help
Example
python main.py \
-e chr1:1270656-1284730:+ \
-r example/example.sorted.gtf.gz \
--interval example/interval_list.tsv \
--density example/density_list.tsv \
--show-side \
--igv example/igv.tsv \
--heatmap example/heatmap_list.tsv \
--focus 1272656-1272656:1275656-1277656 \
--stroke 1275656-1277656:1277856-1278656@blue \
--sites 1271656,1271656,1272656 \
--line example/line_list.tsv \
-o example/example.png \
--dpi 300 \
--width 10 \
--height 1 \
--barcode example/barcode_list.tsv \
--domain --remove-duplicate-umi
here is the output file.
Questions
Visit issues or contact Yiming Zhang and Ran Zhou
Citation
If you use Sashimi.py in your publication, please cite Sashimi.py by
Metadata
Release files for sashimi.py 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sashimi.py-0.1.5.tar.gz | 100.5 kB | Without provenance | Details for sashimi.py-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sashimi.py-0.1.5-py3.9.egg | Legacy Egg format | - | - | Details for sashimi.py-0.1.5-py3.9.egg |
Total release size: 313.5 kB
Release files / sashimi.py-0.1.5.tar.gz
| Download URL | sashimi.py-0.1.5.tar.gz |
|---|---|
| Size | 100.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd792440449a4205e8d90a942993a1d404e75277db9e37f43dcd75bad81aa2fd
|
|
BLAKE2b-256 checksum How to use checksums |
aee4888828161972075116c915df1e164e810b89e9b3398755eed03cb177523f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / sashimi.py-0.1.5-py3.9.egg
| Download URL | sashimi.py-0.1.5-py3.9.egg |
|---|---|
| Size | 213.0 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
135507a7975a689860f17ec3d0b2789e34df2f0a4f8f3a9d45e0e594410abe2b
|
|
BLAKE2b-256 checksum How to use checksums |
8c78b81f1c1ee982f3fca221c7d468f05484829cecd18ae55f6a7e2316c892a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for sashimi.py 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.