in reply to cleaving a sequence with specific alphabets
Its not entirely clear for me what you try to do.
... my @s = split / (?<=[KR]) # split on K,R (?!P) # but not if in front of a P /x, 'APADPKGSTIDRPDAARTLTVHKCEQTDTRGVKEGTRNEDPQAECKPVSDV +EFTITKLNVD'; print join "\n", @s; ...
The above would be my first guess here.
Regards
mwa
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: cleaving a sequence with specific alphabets
by tachyon-II (Chaplain) on May 21, 2008 at 11:31 UTC | |
by mwah (Hermit) on May 21, 2008 at 12:10 UTC | |
by tachyon-II (Chaplain) on May 21, 2008 at 16:30 UTC | |
by ikegami (Patriarch) on May 21, 2008 at 17:00 UTC | |
by mwah (Hermit) on May 21, 2008 at 17:21 UTC | |
|