Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: how do i obtain blast result from the given file

by rjt (Curate)
on Jun 17, 2013 at 19:15 UTC ( #1039449=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        while (<$fh>) {
            print if /^(.+?)\|(.+?)\| (.+?)\s+(\d+)\s+(\d+e[+-]\d+)$/;
        }
    
  2. or download this
        $hash{$2} = { col1 => $1, desc => $3, score => $4, E => $5 }
            if /.../; # Use regex above
    
  3. or download this
        my $how_many = 10;
        for (sort { $hash{$b}->{score} <=> $hash{$a}->{score} } keys %hash
    +) {
            printf "%-4s %-55s %5s\n",
    ...
    
            last if --$how_many == 0;
        }
    
  4. or download this
    emb  plasma membrane H+-ATPase [Oryza sativa Japonica...       213
    gb   hypothetical protein OsI_09609 [Oryza sativa Indi...      213
    ref  Os03g0100800 [Oryza sativa Japonica Group] >...           213
    ...
    ref  PREDICTED: ATPase 7, plasma membrane-type is...           207
    ref  autoinhibited H+ ATPase [Populus trichocarpa...           206
    ref  PREDICTED: plasma membrane ATPase 1-like iso...           205
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1039449]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2022-05-20 08:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (73 votes). Check out past polls.

    Notices?