Plot nucleotides in python
1
0
Entering edit mode
2.1 years ago
Lena • 0

Hello, i'm trying to plot using python: a plot which represents nucleotides distribution. Can't seem to find the appropriate code/function.

Would be happy for some help. Here are some examples of what i'm trying to do:

enter image description here

enter image description here

Thanks!

python nuclotides • 754 views
ADD COMMENT
0
Entering edit mode
2.1 years ago
Wayne ★ 2.0k

I've found logomaker pretty straightforward to use, examples here and by someone else here.
The have a nice demo tutorial you can try without installing anything here served via MyBinder.org.

Article:
Logomaker: beautiful sequence logos in Python. 2020. Ammar Tareen & Justin B Kinney. Bioinformatics, Volume 36, Issue 7, 1 April 2020, Pages 2272–2274, https://doi.org/10.1093/bioinformatics/btz921 Published: 10 December 2019

It looks to get close to what you want. Your axis labels are different. I haven't tried adjusting those and so I cannot offer advice on that aspect at this time.

ADD COMMENT

Login before adding your answer.

Traffic: 3535 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6