sedm1000 has asked for the wisdom of the Perl Monks concerning the following question:
This will be for 10K+ sequences though, hence the script requirement. I figure that the best way is to count the incidence of each letter at each position within each line and sum them in the matrix, but I'm yet to work out how to do this. Thoughts would be much obliged... Thanks.fred ATGTTGTAT fred1 ATCTTATAT fred2 ATCTTATAT A 3 0 0 0 0 2 0 3 0 T 0 3 0 3 3 0 3 0 3 G 0 0 1 0 0 1 0 0 0 C 0 0 2 0 0 0 0 0 0
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: To count letters (%identity) in DNA alignment
by GrandFather (Saint) on Jan 27, 2009 at 00:40 UTC | |
by graff (Chancellor) on Jan 27, 2009 at 01:32 UTC | |
|
Re: To count letters (%identity) in DNA alignment
by bobf (Monsignor) on Jan 27, 2009 at 03:32 UTC | |
by sedm1000 (Initiate) on Jan 27, 2009 at 22:39 UTC | |
|
Re: To count letters (%identity) in DNA alignment
by toolic (Bishop) on Jan 27, 2009 at 02:05 UTC | |
by GrandFather (Saint) on Jan 27, 2009 at 02:13 UTC |