G
Gundala Viswanath
Hi all,
I am new in C/C++. I am wondering if there is any
existing implementation to compress such string in
shorter format (e.g. 64 base).
AAAAAAAAAAAAGTCGCGCCGCCGCGGGGAGGAA
The reason I want to do this is because there are ~10millions of such
tags I want to process forming a matrix. There fore I need
to compress such a string for handling.
For example the implementation in R will give this:
The R code can be viewed here: http://dpaste.com/110009/
But I am not sure how to implement this in C/C++.
Thanks before hand.
- GV
I am new in C/C++. I am wondering if there is any
existing implementation to compress such string in
shorter format (e.g. 64 base).
AAAAAAAAAAAAGTCGCGCCGCCGCGGGGAGGAA
The reason I want to do this is because there are ~10millions of such
tags I want to process forming a matrix. There fore I need
to compress such a string for handling.
For example the implementation in R will give this:
[1] "IAAAAtmWWaooAseq2id("AAAAAAAAAAAAGTCGCGCCGCCGCGGGGAGGAA")
The R code can be viewed here: http://dpaste.com/110009/
But I am not sure how to implement this in C/C++.
Thanks before hand.
- GV