Build.PL: don't use -w flag when we already use warnings pragma
[bioperl-db.git] / INSTALL
blobd93c35418c2c52a0e1e61bd82521c00017cf0683
2 bioperl-db INSTALLATION
4 INSTALL BIOPERL FIRST
6 You need at least the corresponding version of Bioperl. Since this
7 is bioperl-db 1.5.2, you will need bioperl 1.5.2 or later.
8 Installation instructions are here:
10 http://www.bioperl.org/wiki/Installing_Bioperl_for_Unix
13 THEN INSTALL BIOSQL
15 The bioperl-db package is designed to work with the BioSQL database.
16 Install the BioSQL package by following the instructions in its
17 INSTALL file. You can obtain the BioSQL package at www.biosql.org.
18 BioSQL requires a relational database, either Mysql, Oracle, or
19 PostgreSQL.
22 INSTALL BIOPERL-DB USING CPAN
24 Enter the CPAN shell:
26  perl -e shell -MCPAN
28 Now install:
30  cpan>install CJFIELDS/BioPerl-DB-1.006900.tar.gz
33 MANUALLY INSTALL BIOPERL-DB
35 Use this URL to download the archive:
37   https://github.com/bioperl/bioperl-db/archive/master.zip
39 Then:
41   >unzip master.zip
42   >cd bioperl-db-master
44 Issue the following command from within bioperl-db/:
46   >perl Build.PL
48 You can run regression tests and install bioperl-db using the
49 following commands:
51   >./Build test  
52   >./Build install
54 NOTE: bioperl-db tests require that the BioSQL database you configure
55 does NOT have the NCBI taxonomy loaded. Also, the './Build install' step
56 may require that you have root privileges.
59 INSTALLING bioperl-db ON WINDOWS
61 The following page on the BioPerl website has up-to-date
62 instructions on how to install bioperl-db on Windows:
64 http://www.bioperl.org/wiki/Installing_Bioperl_on_Windows
66 (the instructions are aimed at bioperl-core, but apply
67 equally to bioperl-db)
70 LOAD THE NCBI TAXONOMY
72 You should pre-load the NCBI taxonomy database using the
73 scripts/load_ncbi_taxonomy.pl script in the BioSQL package. 
74 Otherwise you will see errors from mis-parsed organisms when you 
75 attempt to load sequences.
78 LOAD SEQUENCE DATA
80 Most people will want to load sequence data into their BioSQL
81 databases. Use scripts/biosql/load_seqdatabase.pl in the bioperl-db
82 package to load sequences from sequence files. Do:
84   >perldoc scripts/biosql/load_seqdatabase.pl
88   >scripts/biosql/load_seqdatabase.pl --help
90 for more information.
92 This script has many options to flexibly deal with various update
93 scenarios. Do read the POD before running an update.
96 LOAD ONTOLOGIES
98 Use scripts/biosql/load_ontology.pl in the bioperl-db
99 package to load ontologies from flat files. Do:
101   >perldoc scripts/biosql/load_ontology.pl
105   >scripts/biosql/load_ontology.pl --help
107 for more information.
109 This script has many options to flexibly deal with various update
110 scenarios. Do read the POD before running an update. Also, some
111 ontologies maintain obsoleted terms, for instance the Gene
112 Ontology. Read the POD for possible options to deal with obsoleted
113 terms; this is relevant even when you load the ontology the first
114 time, as you may choose to keep obsoleted terms out of the database
115 from the start.
118 FEEDBACK
120 Write down any problems or praise and send them to 
121 bioperl-l@bioperl.org  ;-)