Skip to content

pragmatic-streamlit/streamlit-molecule-selection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streamlit Molecular Selection

Screenshot

Install

pip install streamlit-molecular-selection

Usage

import streamlit as st
#st.write(st_molecule_selection('CC(C)CN(CC(C(CC1CCCCC1)NC(OC1C(CCO2)C2OC1)=O)O)S(C(CC1)CCC1N)(=O)=O', height=100))
st.write(st_molecule_selection('CC(C)CN(CC(C(CC1CCCCC1)NC(OC1C(CCO2)C2OC1)=O)O)S(C(CC1)CCC1N)(=O)=O', nop_selection=True, 
                                preset_selections=[0, 1, 2, 4, 5],
                                key='2'))

with open('examples/3d20_ligand.sdf') as f:
    st.write(st_molecule_selection(f.read(), ftype='mol', key='4'))

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages