Streamlit seqviz
This library is a streamlit app for chemical or medical use that show DNA sequences effectively based on seqviz js library.
| white theme | dark theme |
|---|---|
Install with:
pip install streamlit-seqviz
Usage example:
from streamlit_seqviz import streamlit_seqviz
streamlit_seqviz(
name = "J23100",
seq = "TTGACGGCTAGCTCAGTCCTAGGTACAGTGCTAGC",
annotations = [{ "name": "promoter", "start": 0, "end": 30, "direction": 1 }],
style = { "height": "100vh", "width": "100vw" },
highlights = [{ "start": 0, "end": 10 }],
enzymes = [
"EcoRI",
"PstI",
{
"name": "Cas9",
"rseq": "NGG", # recognition sequence
"fcut": 0, # cut index on FWD strand, relative to start of rseq
"rcut": 1, # cut index on REV strand, relative to start of rseq
"color": "#D7E5F0", # color to highlight recognition site with
"range": {
"start": 4,
"end": 8,
},
},
],
)
Metadata
Release files for streamlit-seqviz 0.0.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 | |
|---|---|---|---|
| streamlit-seqviz-0.0.5.tar.gz | 61.0 kB | Details |
Release files / streamlit-seqviz-0.0.5.tar.gz
| Download URL | streamlit-seqviz-0.0.5.tar.gz |
|---|---|
| Size | 61.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c5d4965546c2394b576c158b05a6c68890d60de3d566d539325e344c6498f200
|
|
BLAKE2b-256 checksum How to use checksums |
b468cd9de060753cef3ef9e23cbc79163f1d8db4d53fba30e0dcf151cc02e33e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|