in reply to Re^7: mismatching characters in dna sequence
in thread mismatching characters in dna sequence
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^9: mismatching characters in dna sequence
by BrowserUk (Patriarch) on Dec 30, 2011 at 21:09 UTC | |
Like this?
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] [d/l] |
by prbndr (Acolyte) on Dec 30, 2011 at 21:24 UTC | |
| [reply] [d/l] |
by BrowserUk (Patriarch) on Dec 30, 2011 at 22:00 UTC | |
i don't get the output though...is it a Data::Dump problem? Hm. Dunno. Are you redirecting the output to a file via the command line? If so, then you may have missed that by default, pp sends its output to STDERR not STDOUT. If you want it redirected to the same file as the other output, then you should use print pp \%stats; But if that is not the problem, then you can substitute this for the pp \%stats;
Also, you should be using dnacmp() not dnacmp2 with the counting code I posted. However, that means you are processing each string twice, once to count and once for printing, and that's just doubling your runtime. Try this instead:
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] [d/l] [select] |
by prbndr (Acolyte) on Dec 30, 2011 at 22:24 UTC | |
by BrowserUk (Patriarch) on Dec 30, 2011 at 22:36 UTC | |
| |