getting online information....

2004-06-13 Thread aditi gupta
hi to all, i had a file which contained following data: # BLASTN 2.2.9 [May-01-2004] # Query: gi|37182815|gb|AY358849.1| Homo sapiens clone DNA180287 ALTE (UNQ6508) mRNA, complete cds # Database: nr # Fields: Query id, Subject id, % identity, alignment length, mismatches, gap openings, q. sta

RE: Microsoft Word and Perl

2004-06-13 Thread Tim Johnson
Try changing "Fields->{Update}" to "Fields->{update}" or "Fields->update()" -Original Message- From: Ilaiy [mailto:[EMAIL PROTECTED] Sent: Sat 6/12/2004 2:39 PM To: [EMAIL PROTECTED] Cc: Subject: Microsoft Word and Perl

Re: Elegant quoted word parsing

2004-06-13 Thread Jeff 'japhy' Pinyan
On Jun 10, Beau E. Cox said: >sub parse_words >{ >my $line = shift; >my @words = (); > >$_ = $line; You should localize $_ if you're going to be assigning to it explicitly. local $_ = $line; >while( 1 ) { >s/^\s*(.*?)\s*$/$1/; This is not a very efficient way to remov

Re: safe regex in variable

2004-06-13 Thread Jeff 'japhy' Pinyan
On Jun 11, JupiterHost.Net said: >Randy W. Sims wrote: > >> A better solution would be to allow only a subset of metacharacters, >> escaping everything else. This would requre much more effort, but would >> be safer. Perhaps there is a module that does something like this? If >> not, there should

hii

2004-06-13 Thread aditi gupta
hello everyone, i have a list of gi accession ids: e.g. gi|5104821|dbj|AP61.1| gi|5104188|dbj|AP60.1|gi|5105654|dbj|AP63.1|gi|26793562|emb|AJ525326.1|ATH525326 etc. is it possible to parse through their summaries available at http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?db=Nucleo

Re: hii

2004-06-13 Thread Randy W. Sims
On 6/13/2004 11:19 AM, aditi gupta wrote: hello everyone, i have a list of gi accession ids: e.g. gi|5104821|dbj|AP61.1| gi|5104188|dbj|AP60.1|gi|5105654|dbj|AP63.1|gi|26793562|emb|AJ525326.1|ATH525326 etc. is it possible to parse through their summaries available at http://www.ncb

Re: getting online information....

2004-06-13 Thread Zeus Odin
Your code can be simplified quite a bit if I correctly understand what you were actually trying to do. I have taken a stab at it but had to guess at your intent with the layout of the fields. Let's clear up the field layout. Your data have 9 fields (at least to the untrained eye), separated by the

Re: hii

2004-06-13 Thread aditi gupta
hi, when u click at the link which i mentioned, you will find: 'search [Nucleotide] for [ ]' when u'll paste a gi id e.g. gi|5104821|dbj|AP61.1| in space after 'for', a page will open where u will see highlighted accession id: AP61. when u'll click at this, a default information pa

Re: hii

2004-06-13 Thread Randy W. Sims
aditi gupta wrote: hi, when u click at the link which i mentioned, you will find: 'search [Nucleotide] for [ ]' when u'll paste a gi id e.g. gi|5104821|dbj|AP61.1| in space after 'for', a page will open where u will see highlighted accession id: AP61. when u'll click at this, a def