Protocol Online logo
Top : Forum Archives: : Bioinformatics and Biostatistics

Converting codominat data into binary code (Microsatellite markers) - I am looking for Perl script to convert codominant data into binary ma (Jun/09/2008 )

Dear colleagues,
I am looking for Perl script for converting codominant data (SSR data) into binary code (1/0).
Thank you in advance,
Ilian Badjakov
ibadjakov@gmail.com

-ilianbadjakov-

it seems to me you don't need a script to convert your data into binary code. you could simply use the "find and replace" command in any text editor to substitute the characters you're interested to change to 1 or 0. if that's not enough then we'll try something here.

regards

-toejam-

Thank you Sir, but the things need not technically find and replace, because you need convert a several alleles in each locus and this make work irksomeā€¦


QUOTE (toejam @ Jun 10 2008, 02:32 AM)
it seems to me you don't need a script to convert your data into binary code. you could simply use the "find and replace" command in any text editor to substitute the characters you're interested to change to 1 or 0. if that's not enough then we'll try something here.

regards

-ilianbadjakov-