<p>I am a bioinformatics beginner.
I want to draw line graphs such that for a gene, say gene_A, intronic regions are (20,100), (500,600) and a conserved domain was found in (400-550), then I should get base position/sequence length on the x axis and gene name on the y axis.
Is there any software that can help me do this?</p>
<p>I used matplotlib but would like better visuals, any suggestions would be helpful. Thanks!
<a href="https://i.sstatic.net/JeIqD.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/JeIqD.png" alt="Sample result from Matplotlib" /></a></p>

CC BY-SA 4.0
2021-06-03T14:38:31.410Z
Please [edit] your question and give us some more details. What will your input be? What exactly are you trying to graph? You say "gene name on the y axis" but show an example with fractional numbers instead. You say "base position/sequence length on the x axis" but those two are very different things. You say you have an intron from position 500 to 600 but then have a conserved domain at 400-550, so _part_ of the intron. None of this makes much sense, I'm afraid.
terdon
CC BY-SA 4.0
2021-06-03T22:10:58.040Z
Would ggbio do the trick?
Kamil S Jaron
<sequence>
How to graph sequence ranges, for example intron sequences or conserved domains
# How to graph sequence ranges, for example intron sequences or conserved domains

(Asked by: username_0 on 2021-06-03)

I am a bioinformatics beginner.
I want to draw line graphs such that for a gene, say gene\_A, intronic regions are (20,100), (500,600) and a conserved domain was found in (400-550), then I should get base position/sequence length on the x axis and gene name on the y axis.
Is there any software that can help me do this?

I used matplotlib but would like better visuals, any suggestions would be helpful. Thanks!
[![Sample result from Matplotlib](https://i.sstatic.net/JeIqD.png)](https://i.sstatic.net/JeIqD.png)

**Tags:** sequence
> **Comments:**
> **username_1**: Please [edit] your question and give us some more details. What will your input be? What exactly are you trying to graph? You say "gene name on the y axis" but show an example with fractional numbers instead. You say "base position/sequence length on the x axis" but those two are very different things. You say you have an intron from position 500 to 600 but then have a conserved domain at 400-550, so _part_ of the intron. None of this makes much sense, I'm afraid.  
> **username_2**: Would ggbio do the trick?  

---

## 0 answers

