Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: pattern matching to separate data

by citromatik (Curate)
on May 04, 2009 at 08:43 UTC ( #761673=note: print w/replies, xml ) Need Help??


in reply to pattern matching to separate data

Another alternative using Tie::File::AnyData::Bio::Fasta:

use strict; use warnings; use Fcntl qw/:DEFAULT/; use Tie::File::AnyData::Bio::Fasta; tie my @arr, 'Tie::File::AnyData::Bio::Fasta', 'input.txt' or die $!; tie my @geneids, 'Tie::File::AnyData::Bio::Fasta', 'GENEID.out',mode = +> O_RDWR | O_CREAT or die $!; tie my @protids, 'Tie::File::AnyData::Bio::Fasta', 'PROTID.out',mode = +> O_RDWR | O_CREAT or die $!; @geneids = grep {/GENEID/} @arr; @protids = grep {/PROTID/} @arr; untie @arr; untie @geneids; untie @protids;

citromatik

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://761673]
help
Chatterbox?
[choroba]: Also, I'd try starting the App with the US layout and switch to the dead keys layout later
[Tux]: no, it was not .xinput related, but that did ring a bell. digging in my $ENV I found the cause: XMODIFIERS=@im=xim
[Tux]: Héŀłő çřűèļ ŵøŗľđ, ıŧ'š ºvəř
[choroba]: ÿǎÿ!

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2017-09-25 20:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    During the recent solar eclipse, I:









    Results (290 votes). Check out past polls.

    Notices?