in reply to Re: Count the sequence length of each entry in the file
in thread Count the sequence length of each entry in the file
and got the output. However, the count is incorrect. For, example, if you look at the first entry, after removing the header, the sequence length (alphabets in uppercase) is 111, whereas the script gives me 115 as the output for sequence length. I don't know what I'm doing wrong, why is the script returning me wrong value?$para =~ s/^\s*#.*//mg; $len = length($para);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Count the sequence length of each entry in the file
by wazat (Monk) on Oct 02, 2020 at 23:44 UTC | |
by haukex (Archbishop) on Oct 03, 2020 at 07:44 UTC | |
by wazat (Monk) on Oct 03, 2020 at 20:25 UTC |