Hi
Please help me to convert the DNA sequences of a "DNAStrinset" object to the list of DNA sequences.
Here is the description below:
Input:
> s1
A DNAStringSet instance of length 5
width seq
[1] 7 AGGCTCT
[2] 6 AGGTCT
[3] 7 AGGGTGT
[4] 7 AGGCTCT
[5] 7 TTCGGTA
I need following output in the form of list of sequences:
[[1]]
[1] "AGGCTCT"
[[2]]
[1] "AGGTCT"
[[3]]
[1] "AGGGTGT"
[[4]]
[1] "AGGCTCT"
[[5]]
[1] "TTCGGTA"
Thanks
Thanks Martin. I know its inefficient way, but this was required as an input for a already written function. I will try to modify it further.