This library is a streamlit app for chemical or medical use that show DNA sequences effectively
Project description
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,
},
},
],
)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
streamlit-seqviz-0.0.3.tar.gz
(60.9 kB
view hashes)