Burrows-Wheeler transform
0
0
Entering edit mode
11 months ago
Balqees • 0

Hi, I want to ask about BWT for DNA sequence compression. In the first step, which language is better to implement BWT? Python or R? And why?

What is the difference in left rotation and right rotation? I rotated my sequence manually in both directions, it gave me two different BWT output ( two different sequences) and when I inverse both of them return to the original sequence, So both ways are right and work!! But I want to know which rotation direction is better to compress the DNA sequence. Is the rotation side effect the sensitivity? Or the preference. And how can I test it ?

Thank you

Python BWT DNA • 991 views
ADD COMMENT
1
Entering edit mode

which language is better to implement BWT?

please define "better" ? better for what ? speed ?

ADD REPLY
0
Entering edit mode

Yes, for speed

ADD REPLY
1
Entering edit mode

C/C++ are the best for speed. If you can rely on C++ based Python libraries, it might be faster. Why not develop it both ways and run benchmarks? Or look for a paper that already did it?

ADD REPLY
0
Entering edit mode

I run in it in Python, I am not familiar to C++. But I will look for papers . Thank u

ADD REPLY
0
Entering edit mode

I meant Python and R, not C++. It might be a fun learning exercise to do it in two different approaches - by pure programming in Python and using vectorized functions in R.

ADD REPLY
0
Entering edit mode

Why does this sound like homework?

ADD REPLY

Login before adding your answer.

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