Feed on
Posts
Comments

to read in an input file and convert its characters into a matrix:

open(SEQS,”$my_file”);
my @aas;
while() {
chomp;
@this_seq = split;
push(@aas,[@this_seq]);
}


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS

More blogs about http://desk.stinkpot.org:8080/tricks.