Skip to content

frankligy/weblogo_peptide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weblogo_peptide

Generating peptide weblogo using pure Python. Supports for differnet color schema and different fonts will be added in the future.

Dependencies

  1. matplotlib
  2. scipy
  3. seaborn
  4. numpy

Usage

python pweblogo.py --peptide peptide.txt --out test.png

Example

Input (peptide.txt):

FIWACYQRKW
QFIWACYQRK
DHQWQQFIWA
IWACYQRKWR
QQFIWACYQR
HQWQQFIWAC
WQQFIWACYQ
QWQQFIWACY
WACYQRKWRM

Output (test.png):

output

Similar packages

  1. Logomarker
  2. pyseqlogo

Reference

  1. WebLogo: A Sequence Logo Generator (https://www.ncbi.nlm.nih.gov/pmc/articles/PMC419797/)

  2. StackOverflow (https://stackoverflow.com/questions/42615527/sequence-logos-in-matplotlib-aligning-xticks)

About

Peptide weblogo generation using pure Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages