


ArrayFile(3)   User Contributed Perl Documentation   ArrayFile(3)


NNNNAAAAMMMMEEEE
       CompBio::Simple::ArrayFile - provide access to a sequence
       file through an array

SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
         use CompBio::Simple::ArrayFile;
         tie @$AR_seqs,"CompBio::Simple::ArrayFile","format";
         # where format is as defined in CompBio::check_type


DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
       This allows an input file of sequence data to be tied to
       the array returned by CompBio::Simple::_munge_seq_input.
       It provides a way to have all the processing code use one
       format without needing to read the whole file into memory.

       Please check your favorite perl reference for more
       information on the tie function.

       This tie module provides only three methods, the TIEARRAY
       (basically a new in OO syntax) to create the tied array,
       FETCH to read a sequence record from the file, and DESTROY
       which basically just closes the filehandle;

       EEEEXXXXPPPPOOOORRRRTTTT

       None by default.

HHHHIIIISSSSTTTTOOOORRRRYYYY
       0.01    Original version; created by h2xs 1.20 with
               options

                 -AXC -n CompBio::Simple::ArrayFile


       0.22    Added a STORE method, which does nothing other
               than make happy functions (such as chomp) that
               want to store against the alias. I hope I don't
               regret taking the easy way out here later.

TTTTOOOO DDDDOOOO
       Take a close look at whether or not the method for adding
       sequences should be developed.

       Consider ways to emulate array slices and specific index
       selects. Just added random member testing for check_type
       and I'm sure this will break when used there.

CCCCOOOOPPPPYYYYRRRRIIIIGGGGHHHHTTTT
       Developed at the BioMolecular Engineering Research Center
       at Boston University under the NHLBI's Programs for
       Genomic Applications grant.

       Copyright Sean Quinlan, Trustees of Boston University
       2000-2001.

       All rights reserved. This program is free software; you
       can redistribute it and/or modify it under the same terms
       as Perl itself.

AAAAUUUUTTTTHHHHOOOORRRR
       Sean Quinlan, seanq@darwin.bu.edu

       Please email me with any changes you make or suggestions
       for changes/additions.  Latest version is available under
       ftp://mcclintock.bu.edu/BMERC/perl/.

       Thank you!

SSSSEEEEEEEE AAAALLLLSSSSOOOO
       _p_e_r_l(1), _C_o_m_p_B_i_o(3), the CompBio::Simple manpage.



2001-11-13                 perl v5.6.0                          1



















































