How to generate this line diagram?
2
0
Entering edit mode
8.0 years ago
User 6777 ▴ 20

Hi all,

I want to generate a figure like that given below. This fig mainly shows amino acid range locations along the sequence length of a protein. link of fig

The length of protein is given in file1.txt as:

NP_123456.4: 110

In one file, centain range for that protein (file2.txt) is given as:

NP_123456.4: 30-45, 65-80
...
.

In another file (file3.txt), for the same protein:

NP_123456.4: 35, 47-50, 58-59
....
..

In third file (file4.txt), for the same protein:

NP_123456.4: 38, 52, 69-88
..

From these values, please suggest me how can I generate this type of plot? I will prefer script based approach(R, perl, python, html) rather than an software package.

Thanks

perl python r html • 1.4k views
ADD COMMENT
0
Entering edit mode
8.0 years ago

I think the R package Gviz will have options in the direction you are looking for.

ADD COMMENT
0
Entering edit mode
8.0 years ago
Ron ★ 1.2k

Unfortunately,this is not script based.But it can provide the figure you require.

http://ibs.biocuckoo.org

ADD COMMENT

Login before adding your answer.

Traffic: 2565 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