yuernestliu / LadderpathCalculator

Codes to calculate ladderpath of sequences (with amino acid data)
Apache License 2.0
3 stars 0 forks source link

Ladderpath Calculator

Repository associated with the research paper on the hierarchical and nested structures in amino acid sequences.

Introduction

This repository contains codes and data associated with the paper "Evolutionary Tinkering Enriches the Hierarchical and Nested Structures in Amino Acid Sequences, 2023" by Zecheng Zhang et al. This repository serves as a supplement, providing the necessary tools (also useful tools for you to calculate the ladderpath of sequences) and datasets to understand and replicate our findings.

Repository Structure

Usage

For a quick start on how to use the ladderpath calculation tool, navigate to the LadderpathCalculator folder and see the provided README for more detailed usage and options. Quick example:

import ladderpath
strs = ['CUCGACGACUAUCUCGACAAUGACU']
strsLP = ladderpath.ladderpath(strs, CalPOM=True)

strsLP.dispPOM()
# example output: { G, A(3), C(3), U(3) // AU, GAC // CUCGAC, GACU}

strsLP.disp3index()
# example output: ( Ladderpath-index:14,  Order-index:11,  Size-index:25 )