Re: A Question about strings in lists
- To: mathgroup at smc.vnet.net
- Subject: [mg102254] Re: [mg102240] A Question about strings in lists
- From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
- Date: Mon, 3 Aug 2009 05:45:06 -0400 (EDT)
- References: <200908021000.GAA01671@smc.vnet.net>
Hi,
you can use
Characters @@ {"ACDQXXYWT"}
or
Apply[Characters, {"ACDQXXYWT"}]
for instance.
Cheers
Patrick
On Sun, 2009-08-02 at 06:00 -0400, Marwa Abd El-Wahaab wrote:
> Dear Sir,
>
> I have a question about lists
>
> If I recall a protein sequence for example, the output will be
>
> { ACDQXXYWT ............... }
>
> This output contains amino acids but as one element in list & its length is
> =1
>
> How can I transform this one element to this form
>
> {A,C,D,Q,X,X,Y,W,T,......... }
>
> So, the length will be number of amino acids the protein contains
>
> I need your advice
>
> Thanks in advance
>
> *Marwa Ali Abd El Wahaab
> Teaching Assistant*
> Faculty of Engineering
> Mansoura University
>
>
- References:
- A Question about strings in lists
- From: Marwa Abd El-Wahaab <m.a.elwahaab@gmail.com>
- A Question about strings in lists