Re: Extract text from file

2005-12-07 Thread Shawn Corey
Andrej Kastrin wrote: I try your code; now I try to write each potential target in a record tab separated, like: TI- xx HD x AB- xxx HD x #record 1 TI- yy AB x AB- xxx AB x#record 2 etc... So \t separated within record and \n separ

Re: Extract text from file

2005-12-07 Thread Shawn Corey
Andrej Kastrin wrote: and additional question: how does Perl know where are the input files (while we only wrote: open (TERM, $file_terms) or die "Can't open...)? It comes from the command line. The statements: my $file_terms = shift; my $file_medline = shift; are a shorten version of:

Re: Extract text from file

2005-12-07 Thread Andrej Kastrin
Chris Charley wrote: - Original Message - From: "Andrej Kastrin" <[EMAIL PROTECTED]> Newsgroups: perl.beginners To: "Perl Beginners List" Sent: Wednesday, December 07, 2005 12:00 PM Subject: Extract text from file Hello dears, I have a file in row

Re: Extract text from file

2005-12-07 Thread Andrej Kastrin
Shawn Corey wrote: Andrej Kastrin wrote: Hello dears, I have a file in row data format, which stores different terms (e.g. genes) and look like: ABH HD HDD etc. Then I have second file which looks like: -

Re: Extract text from file

2005-12-07 Thread Shawn Corey
Andrej Kastrin wrote: Hello dears, I have a file in row data format, which stores different terms (e.g. genes) and look like: ABH HD HDD etc. Then I have second file which looks like: -- ID- 001 #ID number

Re: Extract text from file

2005-12-07 Thread Chris Charley
- Original Message - From: "Andrej Kastrin" <[EMAIL PROTECTED]> Newsgroups: perl.beginners To: "Perl Beginners List" Sent: Wednesday, December 07, 2005 12:00 PM Subject: Extract text from file Hello dears, I have a file in row data format, which stores di

Extract text from file

2005-12-07 Thread Andrej Kastrin
Hello dears, I have a file in row data format, which stores different terms (e.g. genes) and look like: ABH HD HDD etc. Then I have second file which looks like: -- ID- 001 #ID number TI- analysis of HD pa