|Perl: the Markov chain saw|
Parsing in perl?by perllearner007 (Acolyte)
|on Dec 08, 2011 at 04:30 UTC||Need Help??|
perllearner007 has asked for the
wisdom of the Perl Monks concerning the following question:
Hello. I have a text file(tab-delim) with some gene names as shown below.
BRCA1:breast cancer 1, early onset
TNF: tumor necrosis factor
OMG:oligodendrocyte myelin glycoprotein
I would like to get the list of gene name BRCA1,TNF,OMG that is before the colon(:) . How do I parse in perl this text file with this list of genes?