A modern graphical interface for configuring and generating JSON configuration files for torchtree using Streamlit.
torchseed provides an interactive workflow inspired by tools such as BEAUTI (BEAST), allowing users to build phylogenetic analyses visually without manually editing JSON configuration files.
- Interactive GUI for building
torchtreeanalyses - Automatic JSON configuration generation
- Dynamic parameter panels that update according to selected models
- Support for common phylogenetic components:
- Site models: Discretized Weibull, proportion of invariant sites
- Substitution models
- Nucleotide: JC69, HKY, K80, GTR
- Protein: LG, WAG
- Clock models: Strict, one rate per branch
- Tree priors
- Unrooted tree: Exponential distribution
- Coalescent: constant, exponential, skyride, skygrid, skyglide
- Parametric priors: editable
- Variational inference configuration
- Real-time parameter validation
- Interactive visualisations with Plotly
- Table and summary displays using Pandas
- Extensible architecture for adding new models and plugins
- Streamlit-based responsive interface
Built with:
git clone https://github.com/4ment/torchseed.git
cd torchseedconda env create -f environment.yml
conda activate torchseedStart the Streamlit app with:
streamlit run torchseed/app.pyThe application will automatically open in your browser.
- Import sequence alignments
- Select and configure tip dates
- Import tree
- Select a site and substitution models
- Select clock models if needed
- Specify priors
- Configure ADVI
- Preview the generated JSON configuration
- Export the configuration file
- Run the analysis using
torchtree
torchseed/
│
├──torchseed/
│ ├── app.py # Streamlit entry point
│ ├── tabs/ # Multi-page application views
│ └── builders/ # Build JSON components
│
├── requirements.txt
├── environment.yml
└── README.md
- Alignment import wizard
- Tree visualisation
- Session save/load support
- Prior distribution visualisation
- Plugin architecture
- YAML export support
- Analysis templates
- Direct integration with
torchtreeexecution
Contributions and feature requests are welcome.
- Fork the repository
- Create a feature branch
- Commit your changes
- Open a pull request
Distributed under the GPLv3 License. See LICENSE for more information.
- torchtree
- BEAST 2
- Streamlit