hi JohnGG,
U r correct and also i am sorry i don't know how to view the previous question nodes so that only i had created a new node, but right know i had known the way to view the previous node, and my problem is if the pattern occurs more than once in a single array then it's not coloring that part if patter in like 'SSS' and the matching position in that array is 'SSSSSSSSSSSSS' than the entier 'SSS' should be colored for me.
example
MMRGFKQRLI KKTTGSSSSS SSKKKDKEKE KEKSSTTSST SKKPASASSS SHGTTHSSAS STGS
+KSTTEK GKQSGSVPSQ GKHHSSSTSK TKTATTPSSS SSSSRSSSVS RSGSSSTKKT SSRKGQE
+QSK QSQQPSQSQK QGSSSSSAAI MNPTPVLTVT KDDKSTSGED HAHPTLLGAV SAVPSSPISN
+ ASGTAVSSDV ENGNSNNNNM NINTSNTQDA NHASSQSIDI PRSSHSFERL PTPTKLNPDT DL
+ELIKTPQR HSSSRFEPSR YTPLTKLPNF NEVSPEERIP LFIAKVDQCN
TMFDFNDPSF DIQGKEIKRS TLDELIEFLV TNRFTYTNEM YAHVVNMFKI NLFRPIPPPV NPVG
+DIYDPD EDEPVNELAW PHMQAVYEFF LRFVESPDFN HQIAKQYIDQ DFILKLLELF DSEDIRE
+RDC LKTTLHRIYG KFLSLRSFIR RSMNNIFLQF IYETEKFNGV AELLEILGSI INGFALPLKE
+ EHKVFLVRIL IPLHKVRCLS LYHPQLAYCI VQFLEKDPLL TEEVVMGLLR YWPKINSTKE IM
+FLNEIEDI FEVIEPLEFI KVEVPLFVQL AKCISSPHFQ VAEKVLSYWN
NEYFLNLCIE NAEVILPIIF PALYELTSQL ELDTANGEDS ISDPYMLVEQ AINSGSWNRA IHAM
+AFKALK IFLETNPVLY ENCNALYLSS VKETQQRKVQ REENWSKLEE YVKNLRINND KDQYTIK
+NPE LRNSFNTASE NNTLNEENEN DCDSEIQ
in the above exaple output the patter 'SSS' should be colored until it matches 'SSS'in that array but it colors only 'SSS'
if the pattern is other than 'SS' such as 'AAAA'
then it should color the given pattern as 'AAA' and also
other pattern like 'AAAAA' and so on.but it should color the patterns which have equal length and also greater than the orignal pattern length
if u not able to understand ,
please reply me immediately,
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|