in reply to Counting overlapping dimers for multiple sequences
sally123,
Two things immediately jump out!
#!/usr/bin/perl -w use strict; open my $FH, "<", "./sample.txt"; my %count = (); while ( my $genome = <$FH> ) { .... }
A good practice is to define the scope of your variables (my, local, our).
Good Luck
"Well done is better than well said." - Benjamin Franklin
|
|---|