<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by patrick chia</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Sat, 20 Jun 2026 17:52:15 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>Credit Card recommandation</title>
            <link>http://forum.lowyat.net/topic/0</link>
            <description></description>
            <category>Technical Support</category>
            <pubDate>Thu, 01 Jan 1970 07:30:00 +0800</pubDate>
        </item>
        <item>
            <title>Credit Card recommandation</title>
            <link>http://forum.lowyat.net/topic/1171595</link>
            <description>Hi,&lt;br /&gt;I would like to register a credit card.&lt;br /&gt;Can anyone give me suggestion that which bank&amp;#39;s credit card is the best?&lt;br /&gt;I prefer no annual fee and any extra fee for my credit card and can help me save money when purchase something one?&lt;br /&gt;Thanks a lot for your suggestion &lt;!--emo&amp;:)--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>patrick chia</author>
            <category>Serious Kopitiam</category>
            <pubDate>Wed, 23 Sep 2009 12:36:46 +0800</pubDate>
        </item>
        <item>
            <title>Merge two different file based on same contents.</title>
            <link>http://forum.lowyat.net/topic/985954</link>
            <description>&lt;br /&gt;hi,&lt;br /&gt;I got some problems about how to merge the two different file based on same contents.&lt;br /&gt;for example:&lt;br /&gt;file 1:&lt;br /&gt;1234 Ali guy&lt;br /&gt;2345 Pink girl&lt;br /&gt;3456 Alian guy&lt;br /&gt;&lt;br /&gt;file 2:&lt;br /&gt;1234 Ali guy USA&lt;br /&gt;1111 Abu guy UK&lt;br /&gt;2345 Pink girl UK&lt;br /&gt;3456 Alian guy INDIA&lt;br /&gt;&lt;br /&gt;output result:&lt;br /&gt;1234 Ali guy USA&lt;br /&gt;2345 Pink girl UK&lt;br /&gt;3456 Alian guy INDIA&lt;br /&gt;&lt;br /&gt;How can I get the desired output based on the same content of first three column of file 1 and file 2?&lt;br /&gt;Anybody got any suggestions?&lt;br /&gt;Thanks a lot.&lt;br /&gt;</description>
            <author>patrick chia</author>
            <category>Linux &amp;amp; Open Source Software</category>
            <pubDate>Fri, 03 Apr 2009 12:32:00 +0800</pubDate>
        </item>
        <item>
            <title>Merge two different file based on same contents.</title>
            <link>http://forum.lowyat.net/topic/985952</link>
            <description>&lt;br /&gt;hi,&lt;br /&gt;I got some problems about how to merge the two different file based on same contents.&lt;br /&gt;for example:&lt;br /&gt;file 1:&lt;br /&gt;1234 Ali guy&lt;br /&gt;2345 Pink girl&lt;br /&gt;3456 Alian guy&lt;br /&gt;&lt;br /&gt;file 2:&lt;br /&gt;1234 Ali guy USA&lt;br /&gt;1111 Abu guy UK&lt;br /&gt;2345 Pink girl UK&lt;br /&gt;3456 Alian guy INDIA&lt;br /&gt;&lt;br /&gt;output result:&lt;br /&gt;1234 Ali guy USA&lt;br /&gt;2345 Pink girl UK&lt;br /&gt;3456 Alian guy INDIA&lt;br /&gt;&lt;br /&gt;How can I get the desired output based on the same content of first three column of file 1 and file 2?&lt;br /&gt;Anybody got any suggestions?&lt;br /&gt;Thanks a lot.&lt;br /&gt;</description>
            <author>patrick chia</author>
            <category>Codemasters</category>
            <pubDate>Fri, 03 Apr 2009 12:31:29 +0800</pubDate>
        </item>
        <item>
            <title>Find out the same content of two different files..</title>
            <link>http://forum.lowyat.net/topic/984798</link>
            <description>Hi,&lt;br /&gt;I have two different files named as : file 1 and file 2&lt;br /&gt;Each file contains ten columns contents.&lt;br /&gt;By comparing between these two files, how can I found out the same content between this two different files by using command line? &lt;b&gt;(I just want to find out those contents that exactly same at the first three column, &amp;#036;1,&amp;#036;2,&amp;#036;3 of the two different files)&lt;/b&gt;&lt;br /&gt;My senior got advised me using the awk or perl.&lt;br /&gt;Who else got the idea to generate my desired output result by awk, perl or any other command line?</description>
            <author>patrick chia</author>
            <category>Linux &amp;amp; Open Source Software</category>
            <pubDate>Thu, 02 Apr 2009 12:40:05 +0800</pubDate>
        </item>
        <item>
            <title>Find out the same content of two different files..</title>
            <link>http://forum.lowyat.net/topic/984796</link>
            <description>Hi,&lt;br /&gt;I have two different files named as : file 1 and file 2&lt;br /&gt;Each file contains ten columns contents.&lt;br /&gt;By comparing between these two files, how can I found out the same content between this two different files by using command line? (I just want to find out those contents that exactly same at the first three column, &amp;#036;1,&amp;#036;2,&amp;#036;3 of the two different files)&lt;br /&gt;My senior got advised me using the awk or perl.&lt;br /&gt;Who else got the idea to generate my desired output result by awk, perl or any other command line?</description>
            <author>patrick chia</author>
            <category>Codemasters</category>
            <pubDate>Thu, 02 Apr 2009 12:39:45 +0800</pubDate>
        </item>
        <item>
            <title>Summarizes the difference of the four mains contro</title>
            <link>http://forum.lowyat.net/topic/983594</link>
            <description>Hi, I&amp;#39;m fresh to UNIX script written. Can anybody briefly summarize the main differences between &amp;quot;if.then.elif.else&amp;quot;, &amp;quot;do.while&amp;quot;, &amp;quot;for&amp;quot;, &amp;quot;case&amp;quot; in UNIX script?</description>
            <author>patrick chia</author>
            <category>Codemasters</category>
            <pubDate>Wed, 01 Apr 2009 12:14:26 +0800</pubDate>
        </item>
        <item>
            <title>Summarizes the difference of the four mains contro</title>
            <link>http://forum.lowyat.net/topic/983592</link>
            <description>Hi, I&amp;#39;m fresh to UNIX script written. Can anybody briefly summarize the main differences between &amp;quot;if.then.elif.else&amp;quot;, &amp;quot;do.while&amp;quot;, &amp;quot;for&amp;quot;, &amp;quot;case&amp;quot; in UNIX script?</description>
            <author>patrick chia</author>
            <category>Linux &amp;amp; Open Source Software</category>
            <pubDate>Wed, 01 Apr 2009 12:14:06 +0800</pubDate>
        </item>
        <item>
            <title>Challenging Question about grep and awk in UNIX...</title>
            <link>http://forum.lowyat.net/topic/973798</link>
            <description>if I have a file contains:&lt;br /&gt;Input:&lt;br /&gt;2406306 10087720 T,&amp;gt;,G &lt;b&gt;S1,S2,S3&lt;/b&gt;&lt;br /&gt;42406306 10126312 T,&amp;gt;,C &lt;b&gt;S1,S2,S3&lt;/b&gt;,S6,S7,S8,S9&lt;br /&gt;42406306 10363280 G,&amp;gt;,T &lt;b&gt;S1,S2,S3&lt;/b&gt;,S10,S11,S12&lt;br /&gt;42406306 10363297 T,&amp;gt;,C &lt;b&gt;S1,S3&lt;/b&gt;&lt;br /&gt;42406306 1040544 T,&amp;gt;,C &lt;b&gt;S1,S2,S3&lt;/b&gt;,S6&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;2406306 10087720 T,&amp;gt;,G &lt;b&gt;S1,S2,S3&lt;/b&gt;&lt;br /&gt;42406306 10126312 T,&amp;gt;,C &lt;b&gt;S1,S2,S3&lt;/b&gt;,S6,S7,S8,S9&lt;br /&gt;42406306 1040544 T,&amp;gt;,C &lt;b&gt;S1,S2,S3&lt;/b&gt;,S6&lt;br /&gt;&lt;br /&gt;What command line I should type to let the output selected the lines &lt;b&gt;at least must contains S1,S2,S3&lt;/b&gt; but &lt;b&gt;exludes any from S10-S12&lt;/b&gt;?&lt;br /&gt;I got ask my senior and she advised that grep and awk can function it.&lt;br /&gt;I have used:&lt;br /&gt;awk &amp;#39;/S1,.*S2.*S3/&amp;#39; file&lt;br /&gt;the above command line is worked. Do they still have any others command line that can generate the desired output result.&lt;br /&gt;Thanks a lot for all advises.</description>
            <author>patrick chia</author>
            <category>Linux &amp;amp; Open Source Software</category>
            <pubDate>Mon, 23 Mar 2009 15:15:54 +0800</pubDate>
        </item>
        <item>
            <title>Challenging Question about grep and awk in UNIX...</title>
            <link>http://forum.lowyat.net/topic/973796</link>
            <description>if I have a file contains:&lt;br /&gt;Input:&lt;br /&gt;2406306 10087720 T,&amp;gt;,G &lt;b&gt;S1,S2,S3&lt;/b&gt;&lt;br /&gt;42406306 10126312 T,&amp;gt;,C&lt;b&gt; S1,S2,S3&lt;/b&gt;,S6,S7,S8,S9&lt;br /&gt;42406306 10363280 G,&amp;gt;,T &lt;b&gt;S1,S2,S3&lt;/b&gt;,S10,S11,S12&lt;br /&gt;42406306 10363297 T,&amp;gt;,C &lt;b&gt;S1,S3&lt;/b&gt;&lt;br /&gt;42406306 1040544 T,&amp;gt;,C &lt;b&gt;S1,S2,S3&lt;/b&gt;,S6&lt;br /&gt;&lt;br /&gt;Output:&lt;br /&gt;2406306 10087720 T,&amp;gt;,G &lt;b&gt;S1,S2,S3&lt;/b&gt;&lt;br /&gt;42406306 10126312 T,&amp;gt;,C &lt;b&gt;S1,S2,S3&lt;/b&gt;,S6,S7,S8,S9&lt;br /&gt;42406306 1040544 T,&amp;gt;,C &lt;b&gt;S1,S2,S3&lt;/b&gt;,S6&lt;br /&gt;&lt;br /&gt;What command line I should type to let the output selected the lines &lt;b&gt;at least must&lt;/b&gt; contains &lt;b&gt;S1,S2,S3&lt;/b&gt; but &lt;b&gt;exludes any from S10-S12&lt;/b&gt;?&lt;br /&gt;I got ask my senior and she advised that grep and awk can function it.&lt;br /&gt;I have used:&lt;br /&gt;awk &amp;#39;/S1,.*S2.*S3/&amp;#39; file&lt;br /&gt;the above command line is worked. Do they still have any others command line that can generate the desired output result.&lt;br /&gt;Thanks a lot for all advises.</description>
            <author>patrick chia</author>
            <category>Codemasters</category>
            <pubDate>Mon, 23 Mar 2009 15:14:29 +0800</pubDate>
        </item>
        <item>
            <title>Glimmer3.0 problem....</title>
            <link>http://forum.lowyat.net/topic/971035</link>
            <description>Hi,&lt;br /&gt;Glimmer is a collection of programs for identifying genes in microbial DNA sequences.&lt;br /&gt;For running the glimmer requires 4 steps:&lt;br /&gt;1. long-orfs USAGE: ./long-orfs &amp;lt;genome-file&amp;gt; [options]&lt;br /&gt;2. extract Usages: extract genome_file coord_file&lt;br /&gt;3. build-icm USAGE: build-icm [options]&lt;br /&gt;4. glimmer3 USAGE: glimmer3 &amp;lt;genome-file&amp;gt; &amp;lt;icm-file&amp;gt; [options]&lt;br /&gt;For example, I have one file named as tpall.fna. What command line I should type for running the glimmer3.0 step by step?&lt;br /&gt;&lt;br /&gt;ps: what is the general command line that we should type to get use the Glimmer3.0 to find out the gene in microbial DNA sequences.&lt;br /&gt;&lt;br /&gt;Thanks a lot...</description>
            <author>patrick chia</author>
            <category>Linux &amp;amp; Open Source Software</category>
            <pubDate>Fri, 20 Mar 2009 16:14:06 +0800</pubDate>
        </item>
        <item>
            <title>Glimmer3.0 problem....</title>
            <link>http://forum.lowyat.net/topic/971034</link>
            <description>Hi,&lt;br /&gt;Glimmer is a collection of programs for identifying genes in microbial DNA sequences.&lt;br /&gt;For running the glimmer requires 4 steps:&lt;br /&gt;1. long-orfs USAGE: ./long-orfs &amp;lt;genome-file&amp;gt; [options]&lt;br /&gt;2. extract Usages: extract genome_file coord_file&lt;br /&gt;3. build-icm USAGE: build-icm [options]&lt;br /&gt;4. glimmer3 USAGE: glimmer3 &amp;lt;genome-file&amp;gt; &amp;lt;icm-file&amp;gt; [options]&lt;br /&gt;For example, I have one file named as tpall.fna. What command line I should type for running the glimmer3.0 step by step?&lt;br /&gt;&lt;br /&gt;ps: what is the general command line that we should type to get use the Glimmer3.0 to find out the gene in microbial DNA sequences.&lt;br /&gt;&lt;br /&gt;Thanks a lot...</description>
            <author>patrick chia</author>
            <category>Codemasters</category>
            <pubDate>Fri, 20 Mar 2009 16:13:42 +0800</pubDate>
        </item>
        <item>
            <title>UNIX: Count poly A. Awk and sed is recommanded.</title>
            <link>http://forum.lowyat.net/topic/937590</link>
            <description>My input:&lt;br /&gt;AAAAATTTTGGGCCC&lt;br /&gt;AAAAAATT&lt;br /&gt;AAAAAAACCCCCCA&lt;br /&gt;AAAAAAAATTTTTGGGGGCCCCC&lt;br /&gt;&lt;br /&gt;My output:&lt;br /&gt;AAAAA = 1&lt;br /&gt;AAAAAA = 1&lt;br /&gt;AAAAAAA = 1&lt;br /&gt;AAAAAAAA = 1&lt;br /&gt;&lt;br /&gt;Actually I got use the grep command line to find out the poly A in my input sequence.&lt;br /&gt;The command line I used is:&lt;br /&gt;grep &amp;#39;AAAAA&amp;#39; inputfiles | wc -l&lt;br /&gt;grep &amp;#39;AAAAAA&amp;#39; inputfiles | wc -l&lt;br /&gt;grep &amp;#39;AAAAAAA&amp;#39; inputfiles | wc -l&lt;br /&gt;grep &amp;#39;AAAAAAAA&amp;#39; inputfiles | wc -l&lt;br /&gt;&lt;br /&gt;My senior got advise me to use awk or sed. Any UNIX expert have the idea about use the awk or sed to find out the poly A in my input file? Thanks for all of your advise. Have a nice day.</description>
            <author>patrick chia</author>
            <category>Linux &amp;amp; Open Source Software</category>
            <pubDate>Mon, 16 Feb 2009 12:51:58 +0800</pubDate>
        </item>
        <item>
            <title>UNIX:Count poly A. Awk and sed are recommanded.</title>
            <link>http://forum.lowyat.net/topic/937589</link>
            <description>My input:&lt;br /&gt;AAAAATTTTGGGCCC&lt;br /&gt;AAAAAATT&lt;br /&gt;AAAAAAACCCCCCA&lt;br /&gt;AAAAAAAATTTTTGGGGGCCCCC&lt;br /&gt;&lt;br /&gt;My output:&lt;br /&gt;AAAAA = 1&lt;br /&gt;AAAAAA = 1&lt;br /&gt;AAAAAAA = 1&lt;br /&gt;AAAAAAAA = 1&lt;br /&gt;&lt;br /&gt;Actually I got use the grep command line to find out the poly A in my input sequence.&lt;br /&gt;The command line I used is:&lt;br /&gt;grep &amp;#39;AAAAA&amp;#39; inputfiles | wc -l&lt;br /&gt;grep &amp;#39;AAAAAA&amp;#39; inputfiles | wc -l&lt;br /&gt;grep &amp;#39;AAAAAAA&amp;#39; inputfiles | wc -l&lt;br /&gt;grep &amp;#39;AAAAAAAA&amp;#39; inputfiles | wc -l&lt;br /&gt;&lt;br /&gt;My senior got advise me to use awk or sed. Any UNIX expert have the idea about use the awk or sed to find out the poly A in my input file? Thanks for all of your advise. Have a nice day.</description>
            <author>patrick chia</author>
            <category>Codemasters</category>
            <pubDate>Mon, 16 Feb 2009 12:50:50 +0800</pubDate>
        </item>
        <item>
            <title>UNIX command line to solve the MEDIAN problem</title>
            <link>http://forum.lowyat.net/topic/923953</link>
            <description>My input:&lt;br /&gt;10&lt;br /&gt;15&lt;br /&gt;20&lt;br /&gt;&lt;br /&gt;My desired output:&lt;br /&gt;Median = 15&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;**From the three figures in above, I know that 15 is the median. How can I use the UNIX command line to find it out automatically? My senior is advised me can use the &amp;#39;awk&amp;#39; command line and the &amp;#39;if&amp;#39; &amp;#39;else&amp;#39; condition at the same time. Apart from that, perl also seem like can work. Hope any UNIX expert can help me solve this problem. Really thanks a lot for your help.&lt;br /&gt;</description>
            <author>patrick chia</author>
            <category>Codemasters</category>
            <pubDate>Tue, 03 Feb 2009 10:32:02 +0800</pubDate>
        </item>
        <item>
            <title>UNIX command line to solve the MEDIAN problem</title>
            <link>http://forum.lowyat.net/topic/923949</link>
            <description>My input:&lt;br /&gt;10&lt;br /&gt;15&lt;br /&gt;20&lt;br /&gt;&lt;br /&gt;My desired output:&lt;br /&gt;Median = 15&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;**From the three figures in above, I know that 15 is the median. How can I use the UNIX command line to find it out automatically? My senior is advised me can use the &amp;#39;awk&amp;#39; command line and the &amp;#39;if&amp;#39; &amp;#39;else&amp;#39; condition at the same time. Apart from that, perl seem like function also. Hope any UNIX expert can help me solve this problem. Really thanks a lot for your help.&lt;br /&gt;</description>
            <author>patrick chia</author>
            <category>Linux &amp;amp; Open Source Software</category>
            <pubDate>Tue, 03 Feb 2009 10:30:15 +0800</pubDate>
        </item>
        <item>
            <title>URGENT:How to find out the median length in UNIX?</title>
            <link>http://forum.lowyat.net/topic/920869</link>
            <description>This is my original question.&lt;br /&gt;My input is:&lt;br /&gt;&amp;gt;gi|624954|emb|X83528.1|CLPSCD Chlorobium limicola pscD gene&lt;br /&gt;GAAAAGAGGA&lt;br /&gt;&amp;gt;gi|30271926|ref|NC_004718.3| SARS coronavirus, complete genome&lt;br /&gt;ATATTAGGTTTTTAC&lt;br /&gt;&amp;gt;gi|73852470|ref|NC_007346.1| Emiliania huxleyi virus 86&lt;br /&gt;TATATTTAACGCGAATGATT&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;GAAAAGAGGA&lt;br /&gt;ATATTAGGTTTTTAC&lt;br /&gt;TATATTTAACGCGAATGATT&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;At the above three sequence, ATATTAGGTTTTTAC is the median and its length is 15. How can I use the unix script to automatic show that the length of the median is 15?What command line I should type? My senior got advise me to use the awk to solve this problem, but I no idea about how to type the command line in UNIX.&lt;br /&gt;&lt;br /&gt;My desired output is:&lt;br /&gt;The length of median:15&lt;br /&gt;&lt;br /&gt;What command line I should used to find out the length of median in UNIX? Hope the UNIX expert can help me solve this problem. Really thanks a lot for your help....</description>
            <author>patrick chia</author>
            <category>Codemasters</category>
            <pubDate>Fri, 30 Jan 2009 23:17:47 +0800</pubDate>
        </item>
        <item>
            <title>URGENT: Unix Median and Average/Mean problem.</title>
            <link>http://forum.lowyat.net/topic/920288</link>
            <description>&lt;b&gt;Median Problem:&lt;/b&gt;&lt;br /&gt;GAAAAGAGGA&lt;br /&gt;ATATTAGGTTTTTAC&lt;br /&gt;TATATTTAACGCGAATGATT&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;At the above three sequence, ATATTAGGTTTTTAC is the median and its length is 15. How can I use the unix script to automatic show that the length of the median is 15?What command line I should type? My senior got advise me to use the awk to solve this problem, but I no idea about how to type the command line in UNIX.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Mean problem:&lt;/b&gt;&lt;br /&gt;GAAAAGAGGA &lt;br /&gt;ATATTAGGTTTTTAC&lt;br /&gt;TATATTTAACGCGAATGATT&lt;br /&gt;&lt;br /&gt;The average/mean length of the above nucleotide sequence is 15. How can I use the unix script to automatic calculate the average/mean length of the sequence is 15?What command line I should type?Any command line I also appreciated as long as can solve this two question.&lt;br /&gt;&lt;br /&gt;Really thanks a lot of all of your advise and suggestion. I have spend few days to figure out this problem &lt;!--emo&amp;:(--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/sad.gif' border='0' style='vertical-align:middle' alt='sad.gif' /&gt;&lt;!--endemo--&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Actually this is my original question.&lt;br /&gt;My input is:&lt;br /&gt;&amp;gt;gi|624954|emb|X83528.1|CLPSCD Chlorobium limicola pscD gene&lt;br /&gt;GAAAAGAGGA&lt;br /&gt;&amp;gt;gi|30271926|ref|NC_004718.3| SARS coronavirus, complete genome&lt;br /&gt;ATATTAGGTTTTTAC&lt;br /&gt;&amp;gt;gi|73852470|ref|NC_007346.1| Emiliania huxleyi virus 86&lt;br /&gt;TATATTTAACGCGAATGATT&lt;br /&gt;&lt;br /&gt;My desired output is: &lt;br /&gt;The length of median:15&lt;br /&gt;The mean of sequence:15&lt;br /&gt;&lt;br /&gt;Hope any expert in UNIX can help me solve this problem...Really thanks a lot of all of your help...</description>
            <author>patrick chia</author>
            <category>Linux &amp;amp; Open Source Software</category>
            <pubDate>Fri, 30 Jan 2009 11:53:23 +0800</pubDate>
        </item>
    </channel>
</rss>
