in reply to Re: trivial wrapping
in thread trivial wrapping
If you see what i mean. I tried to plug the $mismatches into the code you gave me but its not working. it thinks $mismatches is another string!AGACACTACTGCTG ***** *** ACTACTTACCATCG
The subroutine get_mismatches works perfectly well. Can you see why its going wrong? e.g the above code prints this;my $mismatches = get_mismatches ($genome1, $genome2); my @strings = ($genome1, $mismatches, $genome2); for (my $x = 0; $x < length ($strings[0]; $x +=60) { print join ("\n", map (substr ($strings[$_], $x, 60), 0 .. 2)). " +\n\n"; }
TGTATCTACTGACTGAC TGTATCTACTGACTGAC TGTATCTACTGACTGAC ATCTG ATCTG ATCTG
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: trivial wrapping
by clairudjinn (Beadle) on Nov 18, 2002 at 16:53 UTC |