Skip to content

aethertier/secstructartist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

secstructartist

This package allows to include pretty secondary structure schemes in matplotlib plots.

example01.png

Table of content

Installation

Prerequisites

  • General prerequisites:
    • Python 3.8 or higher
    • pip
  • Third-party python packages:
    • matplotlib
    • numpy

Installation from PyPI

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 secstructartist

Installation from GitHub

Here, 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 test

Usage

In 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)

example00.png

License

Distributed under the GNU General Public License v3 (GPLv3) License.

Contributing

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.

Authors

ORCHiD - David Bickel

About

A python module to plot secondary structure schemes

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors