Question: Plot sequences using matplotlib
0
gravatar for N Mukherjee
2.7 years ago by
N Mukherjee0 wrote:

I want to plot sequence from a fasta file. plot the sequence using matplotlib... How can I do this ? I want a plot like this one...

Capture

plot matplotlib sequencing fasta • 1.7k views
ADD COMMENTlink modified 2.7 years ago • written 2.7 years ago by N Mukherjee0
1

plot the sequence using matplotlib.

What does that mean? How should your plot look like?

ADD REPLYlink written 2.7 years ago by WouterDeCoster45k

I want to plot the sequence in a straight line....different color for A T G and C

ADD REPLYlink written 2.7 years ago by N Mukherjee0

Still not clear to me. Do you have an example? Or can you draw something on paper?

ADD REPLYlink written 2.7 years ago by WouterDeCoster45k

https://ibb.co/nNcc58 I want something just like the circled area..

ADD REPLYlink modified 2.7 years ago • written 2.7 years ago by N Mukherjee0

It's a shame it took us 11 hours to figure out what you need, while that information should have been part of your initial question.

See also How to add images to a Biostars post

ADD REPLYlink written 2.7 years ago by WouterDeCoster45k

sorry for that ...can you help me ?

ADD REPLYlink written 2.7 years ago by N Mukherjee0
2
gravatar for Joe
2.7 years ago by
Joe19k
United Kingdom
Joe19k wrote:

It will be a lot of work to code something like that in MPL from scratch I suspect. Take a look at BioPython, which has some graphical tools.

If you just want to view a sequence and its translation, I would suggest using a proper browser like SnapGene, Artemis, Geneious, CLC, Jalview or any number of other alternatives.

ADD COMMENTlink written 2.7 years ago by Joe19k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 2053 users visited in the last hour
_