09-27-2013 10:41 AM
I want the data in the form below to be read into SAS as the wanted form:
>yal1 t1 awd123456789
>yal2 t2 gfs12354687987984565621321654987
>yal3 t3 gfs1235468798798456562132165498789879875468798652135469798987987987985465798798
yal1 t1 GAT
yal1 t1 AAC
yal1 t1 C
yal2 t2 TGA
yal2 t2 CAG
yal2 t2 GC
yal3 t3 ATG
yal3 t3 TGA
yal3 t3 G
data_null_ had helped me partially deal with it, and I wonder is there any statement that could push back the
POINTER if I want to use the statment "if x="<" then PUSH THE POINTER BACK" so the statement "input @'>'" could take
Thanks for any help.
09-27-2013 10:48 AM
You can move the pointer back within the current input line by using + with a negative number inside of parentheses.
input char5 $char5. +(-2) char2 $char2. ;
put char5= char2= ;
09-27-2013 11:53 AM
Consider this variation on the program that discarded the partial sequences.