I have a lot of nucleotide data coming back from a query, that looks like:

(T ACC) (I ATT) (T ACT) (P CCA) (E GAA) (T ACT) (S TCC) (R CGT) (P CCA) 
(I ATC) (D GAT) (T ACT) (E GAA) (S TCT) (W TGG) (K AAA) (S TCT) (Y TAC) 
(Y TAC) (K AAA) (S TCT) (D GAT) (P CCA) (L CTG) (C TGC) (S TCT) (A GCT) 
(V GTT) (L CTG) (I ATT) (H CAC) (M ATG) (K AAA) (E GAA) (L CTG) (T ACT) 
(Q CAG) (H CAC) (N AAC) (V GTT) (T ACC) (P CCA) (E GAA) (D GAT) (M ATG) 
(S TCT) (A GCT) (F TTC) (R CGT) (S TCT) (Y TAC) (Q CAG) (K AAG) (K AAA) 
(L CTG) (E GAA) (L TTG) (S TCT) (E GAA) etc.

I want to display it in lines and columns like:

(T ACC) (I ATT) (T ACT) (P CCA) (E GAA) (T ACT) (S TCC) (R CGT) (P CCA) 
(I ATC)
(T ACC) (I ATT) (T ACT) (P CCA) (E GAA) (T ACT) (S TCC) (R CGT) (P CCA) 
(I ATC)
(T ACC) (I ATT) (T ACT) (P CCA) (E GAA) (T ACT) (S TCC) (R CGT) (P CCA) 
(I ATC)
  etc.

so users can actually make some sense out of it.

I may just put it into a table, or may need to display it within a form 
in a textarea.

Any idea on how to process the text string to get a nice, "lined up" 
display?

(I am sorry about constantly bothering the list about these kinds of 
things, but I am not much of a programmer and you guys are really great 
about helping out.)


Rick.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339458
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to