Don't use print! Changing to $self->debug or commenting out
[bioperl-live.git] / README
blob1447ec0d1d0230bd0d8fe6540ab4278d189489b9
1 # $Id$
3 This is the README file for the Bioperl central distribution.
5 o Version
7  This is Bioperl version 1.5.2 from CVS HEAD
9 o Getting Started
11  Thanks for downloading this distribution!
13  Please see the the INSTALL or INSTALL.WIN documents for installation
14  instructions.
16  For tutorials see the Bioperl Tutorial.pl
17  (http://www.bioperl.org/wiki/Bptutorial.pl) or the HOWTO documents and
18  tutorials online at http://bioperl.org. To look at example code browse the
19  scripts/ and examples/ directories
21  For people starting out with Perl and Bioperl, look at the Bio::Perl module (go
22  "perldoc Bio::Perl" from within this directory). This module is designed to
23  flatten the learning curve for newcomers.
25  For a list of OS's and versions that are known to support Bioperl see the
26  PLATFORMS file.
28  For info on Bioperl read on!
30 o About Bioperl
32  Bioperl is a package of public domain Perl tools for computational molecular
33  biology.
35  Our website, http://bioperl.org, provides an online resource of modules,
36  scripts, and web links for developers of Perl-based software for life science
37  research.
39 o Contact info
41  Bioperl developers: bioperl-l@bioperl.org
43  There's quite a variety of tools available in Bioperl, and more are added all
44  the time. If the tool you're looking for isn't described in the documentation
45  please write us, it could be undocumented or in process.
47  Project website : http://bioperl.org Project FTP server : bioperl.org
48  (anonymous FTP ok)
50  Bug reports : http://bugzilla.open-bio.org/
52  Please send us bugs, in particular about documentation which you think is
53  unclear or problems in installation. We are also very interested in functions
54  which don't work the way you think they do!
56  Please see the AUTHORS file for the complete list of bioperl developers and
57  contributors.
59 o About the directory structure
61  The bioperl directory structure is organized as follows:
63  Bio/ - Bioperl modules models/ - DIA drawing program generated OO UML for
64  bioperl classes
65                    (These are quite out-of-date)
66  t/ - Perl built-in tests. Tests are divided into subdirectories generally
67                    based on the specific classes being tested
68  t/data/ - Data files used for the tests - provides good data
69                    examples for those new to bioinformatics data.
70  scripts/ - Useful production-quality scripts with POD documentation examples/ -
71  Scripts demonstrating the many uses of Bioperl maintenance/ - Bioperl
72  housekeeping scripts
74 o Documentation
76  The Bioperl Tutorial (http://www.bioperl.org/wiki/Bptutorial.pl) contains
77  useful information for new and existing Bioperl users. This file also contains
78  a number of useful scripts that the student of Bioperl may want to examine.
80  Individual *.pm modules have their own embedded POD documentation as well. A
81  complete set of hyperlinked POD, or module, documentation is available at
82  http://www.bioperl.org.
84  Remember that 'perldoc' is your friend. You can use it to read any file
85  containing POD formatted documentation without needing any type of translator.
87  If you used the Build.PL installation, and depending on your platform, you may
88  have documentation installed as man pages, which can be accessed in the usual
89  way.
91  There is also an online course written at the Pasteur Institute. See
92  http://www.pasteur.fr/recherche/unites/sis/formation/bioperl.
94  Useful documentation in the form of example code can also be found in the
95  examples/ and scripts/ directories. The current collection includes scripts
96  that run BLAST, index flat files, parse PDB structure files, make primers,
97  retrieve ESTs based on tissue, align protein to nucleotide sequence, run
98  GENSCAN on multiple sequences, and much more! See bioscripts.pod for a complete
99  listing.
101 o Releases
102   
103  Bioperl releases are always available from the website http://www.bioperl.org
104  or by FTP from ftp://bioperl.org (note that we've had trouble with our new
105  network setup which is not allowing FTP to support passive mode properly, use
106  http://www.bioperl.org/DIST to get a listing of the distribution directory).
107  Each release is tested with the test suite and cross-tested on a number of
108  different platforms. See the PLATFORMS file for more information on a specific
109  platform. All efforts are made to release a bug-free package, however most
110  major bugs in a release will be documented in the BUGS file. See the Changes
111  file for a listing of what features have been added or what APIs have changed
112  between releases.
114  Bioperl formerly used a numbering scheme to indicate stable release series vs.
115  development release series. A release number is a three digit number like
116  1.2.0. The first digit indicates the major release - the idea being that all
117  the API calls in a major release are reasonably consistent. The second number
118  is the release series. This is probably the most important number.
120  From the 1.0 release until the 1.6 release, even numbers (1.0, 1.2 etc)
121  indicated stable releases. Stable releases were well tested and recommended for
122  most uses. Odd numbers (1.1, 1.3 etc) were development releases which one would
123  only use if one were interested in the latest and greatest features. The final
124  number (e.g. 1.2.0, 1.2.1) is the bug fix release. The higher the number the
125  more bug fixes has been incorporated. In theory you can upgrade from one bug
126  fix release to the next with no changes to your own code (for production cases,
127  obviously check things out carefully before you switch over).
129  The 1.6 release will be the last release series to utilize the alternating
130  'stable'/'developer' convention. Starting immediately after the 1.6 branch, we
131  will start splitting BioPerl into several smaller easier-to-manage
132  distributions, including a developer distribution for cutting-edge (in
133  development) code, untested modules, and alternative implementations.
135 o Caveats, warnings, etc
137  When you run the tests ("./Build test") some tests may issue warnings messages
138  or even fail. Sometimes this is because we didn't have anyone to test the test
139  system on the combination of your operating system, version of perl, and
140  associated libraries and other modules. Because Bioperl depends on several
141  outside libraries we may not be able to test every single combination so if
142  there are warnings you may find that the package is still perfectly useful. See
143  the PLATFORMS file for reports of specific issues.
145  If you install the bioperl-run system and run tests when you don't have the
146  program installed you'll get messages like 'program XXX not found, skipping
147  tests'. That's okay, Bioperl is doing what it is supposed to do. If you wanted
148  to run the program you'd need to install it first.
150  Not all scripts in the examples/ directory are correct and up-to-date. We need
151  volunteers to help maintain these so if you find they do not work, submit a bug
152  report to http://bugzilla.open-bio.org and consider helping out in their
153  maintenance.
155  If you are confused about what modules are appropriate when you try and solve a
156  particular issue in bioinformatics we urge you to look at the Bioperl Tutorial
157  or the HOWTO documents first.
159 o A simple module summary
161  Here is a quick summary of many of the useful modules and how the toolkit is
162  laid out:
164  All modules are in the Bio/ namespace,
165  - Perl is for newbies and gives a functional interface to the main parts of the
166    package
167  - Seq is for Sequences (protein and DNA).
168    o Bio::PrimarySeq is a plain sequence (sequence data + identifiers)
169    o Bio::Seq is a PrimarySeq plus it has a Bio::Annotation::Collection
170      and Bio::SeqFeatureI objects attached (via Bio::FeatureHolderI).
171    o Bio::Seq::RichSeq is all of the above plus it has slots for
172      extra information specific to GenBank/EMBL/SwissProt files.
173    o Bio::Seq::LargeSeq is for sequences which are too big for
174      fitting into memory.
175  - SeqIO is for reading and writing Sequences, it is a front end module for
176    separate driver modules supporting the different sequence formats
177  - SeqFeature - start/stop/strand annotations of sequences
178    o Bio::SeqFeature::Generic is basic catchall
179    o Bio::SeqFeature::Similarity a similarity sequence feature
180    o Bio::SeqFeature::FeaturePair a sequence feature which is pairwise
181      such as query/hit pairs
182  - SearchIO is for reading and writing pairwise alignment reports like BLAST or
183    FASTA
184  - Search is where the alignment objects are defined
185    o Bio::Search::Result::GenericResult is the result object (a blast query
186      is a Result object)
187    o Bio::Search::Hit::GenericHit is the Hit object (a query will have 0->
188      many hits in a database)
189    o Bio::Search::HSP::GenericHSP is the High-scoring Segment Pair
190      object defining the alignment(s) of the query and hit.
191  - SimpleAlign is for multiple sequence alignments
192  - AlignIO is for reading and writing multiple sequence alignment formats
193  - Assembly provides the start of an infrastructure for assemblies and
194    Assembly::IO IO converters for them
195  - DB is the namespace for all the database query objects
196    o Bio::DB::GenBank/GenPept are two modules which query NCBI entrez
197      for sequences
198    o Bio::DB::SwissProt/EMBL query various EMBL and SwissProt
199      repositories for a sequences
200    o Bio::DB::GFF is Lincoln Stein's fast, lightweight feature and
201      sequence database which is the backend to his GBrowse system (see
202      www.gmod.org)
203    o Bio::DB::Flat is a fast implementation of the OBDA flat-file
204      indexing system (cross-language and cross-platform supported by O|B|F
205      projects see http://obda.open-bio.org).
206    o Bio::DB::BioFetch/DBFetch for OBDA, Web (HTTP) access to remote
207      databases.
208    o Bio::DB::InMemoryCache/FileCache (fast local caching of sequences
209      from remote dbs to speed up your access).
210    o Bio::DB::Registry interface to the OBDA specification for remote
211      data sources
212    o Bio::DB::Biblio for access to remote bibliographic databases.
213    o Bio::DB::EUtilities is the initial set of modules used for generic
214      queried using NCBI's eUtils.
215  - Annotation collection of annotation objects (comments, DBlinks, References,
216    and misc key/value pairs)
217  - Coordinate is a system for mapping between different coordinate systems such
218    as DNA to protein or between assemblies.
219  - Index is for locally indexed flatfiles with BerkeleyDB
220  - Tools contains many miscellaneous parsers and function for different
221    bioinformatics needs
222    o Gene prediction parser (Genscan, MZEF, Grail, Genemark)
223    o Annotation format (GFF)
224    o Enumerate codon tables and valid sequences symbols (CodonTable, IUPAC)
225    o Phylogenetic program parsing (PAML, Molphy, Phylip)
226  - Map genetic and physical map representations
227  - Structure - parse and represent protein structure data
228  - TreeIO is for reading and writing Tree formats
229  - Tree is the namespace for all the associated Tree objects
230    o Bio::Tree::Tree is the basic tree object
231    o Bio::Tree::Node are the nodes which make up the tree
232    o Bio::Tree::Statistics is for computing statistics for a tree
233    o Bio::Tree::TreeFunctionsI is where specific tree functions are implemented
234      (like is_monophyletic and lca)
235  - Bio::Biblio is where bibliographic data and database access objects are kept
236  - Variation represent sequences with mutations and variations applied so one
237    can compare and represent wild-type and mutation versions of a sequence.
238  - Root, basic objects for the internals of Bioperl
240 o Upgrading from an older version
242  If you have a previously installed version of bioperl on your system some of
243  these notes may help you.
245  Some modules have been removed because they have been superceded by new
246  development efforts. They are documented in the DEPRECATED file that is
247  included in the release. In addition some methods, or the Application
248  Programming Interface (API), have changed or been removed. You may find that
249  scripts which worked with bioperl 1.4 may give you warnings or may not work at
250  all (although we have tried very hard to minimize this!). Send an email to the
251  list and we'll be happy to give you pointers.