How To Align Then Visualize The Alignment Of Rna Sequences With R Or Python
3
0
Entering edit mode
11.7 years ago
Abdullah ▴ 100

Hi,

I have two RNA-sequences along with there bracket annotation ..

i have 2 questions:

  1. is it possible to align then inside R??
  2. if i already have the alignment outside R, is there anyway to present it in a colrful way such to show the matched pairs, the gaps, the non-matched pairs in different colors ..

i can align the sequences inside python, but i'm not sure if there is a good way to perform this inside python, so the question would be in R or python...

Regards,

r alignment • 5.1k views
ADD COMMENT
0
Entering edit mode

Hey, ifreak can you please help me with this post?

Thanks in advance.

ADD REPLY
1
Entering edit mode
11.7 years ago

Hi,

Answer 1: i would call an external command to compute such alignment and recover the result from R.

Answer 2: ok, this is neither R nor Python, but what about Ralee (an emacs plugin):http://personalpages.manchester.ac.uk/staff/sam.griffiths-jones/software/ralee/ ?

ADD COMMENT
0
Entering edit mode

seems like a good idea ... but what i want is something more dynamic that can be included into a script, because i want to do this for a lot of alignments ...

ADD REPLY
1
Entering edit mode
11.7 years ago
Biojl ★ 1.7k

You can align them using MAFFT or PRANK calling them from a R/python/perl/younameit script. To view alignments and generate figures I particularly like jalview:http://www.jalview.org/ It has a lot of different view options.

ADD COMMENT
1
Entering edit mode
ADD COMMENT
0
Entering edit mode
ADD REPLY

Login before adding your answer.

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