make a matrix of characters in perl
May 7th, 2007 by Lawrence David
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]);
}
May 7th, 2007 by Lawrence David
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]);
}