This package allows to include pretty secondary structure schemes in matplotlib plots.
- General prerequisites:
- Python 3.8 or higher
- pip
- Third-party python packages:
- matplotlib
- numpy
This is the recommended way to install the package.
# 1. Create a virtual environment (optional but recommended)
python3 -m venv secstructartist
source secstructartist/bin/activate
# 2. Install the Python module
pip install secstructartistHere, you will download the repository, and manually build and install the package.
# 1. Create a virtual environment (optional but recommended)
python3 -m venv secstructartist
source secstructartist/bin/activate
# 2. Clone the repository
git clone https://github.com/bickeld/secstructartist.git
cd secstructartist
# 3. Install the package
make install
# 4. Optionally test
make testIn the examples/ directory there are Jupyter notebooks with plenty of code
examples on how for simple and advanced use cases. Therefore, only the basic
usage will be covered here.
The simplest possible use case:
import secstructartist as ssa
secstruct_str = 'LLLLLLLSSSSLLLLLLHHHHHHHHHHHHHLLLSSSSSSSSLLHHHHHHHHHHHHHHLLSSSSSSSSSLLSSSSSSSSL'
ssa.draw_secondary_structure(secstruct_str)Distributed under the GNU General Public License v3 (GPLv3) License.
If you find a bug, please open a bug report. If you have an idea for an improvement or new feature, please open a feature request.


