A streamlit component for a hybrid genome browser
Project description
Streamlit-HGB
A streamlit component for a hybrid genome browser
- virtualenv
$ python3 -m venv venv # create venv
$ . venv/bin/activate # activate venv
$ pip install streamlit # install streamlit
$ pip install pyyaml # install pyyaml
- frontend
$ cd hgb/frontend
$ npm install # Initialize the project and install npm dependencies
$ npm run start # Start the Webpack dev server
- backend
export STREAMLIT_HOST=$(hostname -i)
export HGB_BIN=/*location_to_hgb_binary*/
streamlit run hgb/__init__.py
Example of config.yaml
hg38:
range:
- chr1:1-1000001
default:
- "/path/to/bamfile1.bam"
samples:
- "/path/to/bamfile1.bam"
- "/path/to/bamfile2.bam"
- Range: a default range to visualize
- Default: a default set of BAM file to be loaded
- Samples: a list of BAM file
All input bam files must be indexed by samtools index
or compatibles.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
streamlit_hgb-0.0.1.tar.gz
(790.6 kB
view hashes)
Built Distribution
streamlit_hgb-0.0.1-py3-none-any.whl
(801.3 kB
view hashes)
Close
Hashes for streamlit_hgb-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dec154ee75cd97e2c2a8580d9b28bff7aae4fd608e81b24f19727a3a9b798a3f |
|
MD5 | 418de974e4ef2a6abf4cd2b0d675c85d |
|
BLAKE2b-256 | 6df1ca381d5a8cdbf077fc8b0d26689f538c557c2dc256bf9fbe983d225e4347 |