using Dash, DashBio, DashBioUtils
using StringEncodings, HTTP, JSON

app = dash()

fasta_str  ="https://git.io/sequence_viewer_P01308.fasta"

seq  = DashBioUtils.read_fasta(fasta_str , is_datafile = false)[1]["sequence"]

app.layout =  dashbio_sequenceviewer(
    id="sequence-viewer-selection",
    sequence=seq,
    selection=[10, 20, "green"]
)

run_server(app, "0.0.0.0", debug=true)
