Re: if loop problem

2009-07-31 Thread 98447122
Hi Chas sample of the outout from perl -nle 'print join ", ", map { "[$_]" } split /\t/'datafile [HMU09420], [1082913], [1083629], [], [putative 1-acyl-SN-glycerol-3-phosphate acyltransferase] [HMU09430], [1083645], [1083860], [], [Putative hypothetical protein] [HMU09440], [1083903], [1084031],

Re: if loop problem

2009-07-31 Thread 98447122
This is what the file actually looks like. All fileds are separated by tabs GeneStart Stopstrand Product HMU000101 1290chromosomal replication initiator protein HMU0002014482512DNA polymerase III, beta chain HMU0003025224840

if loop problem

2009-07-31 Thread 98447122
Hi All, I am having a small problem with my if looops. I have written a small script to parse a file I have input: HMU0003025224840DNA gyrase subunit B HMU0004048415083putative membrane protein HMU0005050805739c putative perip