Statistiques
| Branche: | Révision :

root / doc / index.rst @ 71c3bfe5

Historique | Voir | Annoter | Télécharger (14,97 ko)

1 68670b96 Florent Chuffart
*****************************************
2 68670b96 Florent Chuffart
Readme / Documentation for `MyLabStocks`
3 68670b96 Florent Chuffart
*****************************************
4 68670b96 Florent Chuffart
5 68670b96 Florent Chuffart
6 68670b96 Florent Chuffart
`MyLabStocks` is a web application allowing to easily store, share and retrieve 
7 68670b96 Florent Chuffart
information about molecular biology materials stored in a laboratory. 
8 68670b96 Florent Chuffart
9 68670b96 Florent Chuffart
License
10 68670b96 Florent Chuffart
=======
11 68670b96 Florent Chuffart
12 68670b96 Florent Chuffart
Copyright CNRS 2012-2013                                                 
13 68670b96 Florent Chuffart
                                                                          
14 68670b96 Florent Chuffart
- Florent CHUFFART                                                         
15 68670b96 Florent Chuffart
- Gael YVERT                                                               
16 68670b96 Florent Chuffart
                                                                          
17 68670b96 Florent Chuffart
The Software is provided “as is” without warranty of any kind, either express or implied, including without limitation any implied warranties of condition, uninterrupted use, merchantability, fitness for a particular purpose, or non-infringement. You use this software at your own risk.
18 68670b96 Florent Chuffart
19 68670b96 Florent Chuffart
This software is governed by the CeCILL license under French law and abiding by the rules of distribution of free software.  You can  use, modify and/ or redistribute the software under the terms of the CeCILL license as circulated by CEA, CNRS and INRIA at the following URL "http://www.cecill.info".                                                
20 68670b96 Florent Chuffart
                                                                          
21 68670b96 Florent Chuffart
As a counterpart to the access to the source code and  rights to copy, modify and redistribute granted by the license, users are provided only  with a limited warranty  and the software's author,  the holder of the economic rights,  and the successive licensors  have only  limited liability.                                                               
22 71c3bfe5 Florent Chuffart
This software is provided with absolutely NO WARRANTY. The authors can not be held responsible, even partially, for any damage, loss, financial loss or any other undesired facts resulting from the use of the software. 
23 68670b96 Florent Chuffart
                                                                          
24 68670b96 Florent Chuffart
In this respect, the user's attention is drawn to the risks associated with loading,  using,  modifying and/or developing or reproducing the software by the user in light of its specific status of free software, that may mean  that it is complicated to manipulate,  and  that  also therefore means  that it is reserved for developers  and  experienced professionals having in-depth computer knowledge. Users are therefore encouraged to load and test the software's suitability as regards their requirements in conditions enabling the security of their systems and/or data to be ensured and,  more generally, to use and operate it in the same conditions as regards security.                                     
25 68670b96 Florent Chuffart
                                                                          
26 68670b96 Florent Chuffart
The fact that you are presently reading this means that you have had knowledge of the CeCILL license and that you accept its terms.           
27 68670b96 Florent Chuffart
28 68670b96 Florent Chuffart
Installation Instructions
29 68670b96 Florent Chuffart
=========================
30 68670b96 Florent Chuffart
31 68670b96 Florent Chuffart
This installation has been fully tested on:
32 68670b96 Florent Chuffart
  -  Debian 7.2.0 amd64 netinst [1], running on virtual machine using Oracle VM VirtualBox [2] for macosx (dev)
33 68670b96 Florent Chuffart
  -  Ubuntu Server 12.04.3 LTSUbuntu server LTS [3], running on physical machine (prod)
34 68670b96 Florent Chuffart
  
35 68670b96 Florent Chuffart
[1] http://cdimage.debian.org/debian-cd/7.2.0/amd64/iso-cd/debian-7.2.0-amd64-netinst.iso
36 68670b96 Florent Chuffart
37 68670b96 Florent Chuffart
[2] https://www.virtualbox.org
38 68670b96 Florent Chuffart
39 68670b96 Florent Chuffart
[3] http://www.ubuntu.com/download/server
40 68670b96 Florent Chuffart
41 68670b96 Florent Chuffart
Prerequisites
42 68670b96 Florent Chuffart
-------------
43 68670b96 Florent Chuffart
44 383292cc Florent Chuffart
Prior to installing MyLabStocks, a number of packages must be installed on your system. Git is used to retrieve MyLabStocks sources. MySQL, Apache and phpMyAdmin ensure web and database services, it needs php5 and php5-curl packages. Tomcat6 will support advanced plasmid visualisation services (PlasMapper), it needs openjdk-6-jdk and ant. Finally, BLAST is used to analyse sequences, it needs csh.
45 949b8a56 Florent Chuffart
46 8f867a4e Florent Chuffart
On the targeted server, you can install these packages by typing the following command in a terminal.
47 949b8a56 Florent Chuffart
48 68670b96 Florent Chuffart
.. code:: bash
49 68670b96 Florent Chuffart
50 8f867a4e Florent Chuffart
  sudo apt-get install git apache2 mysql-server php5 php5-curl phpmyadmin tomcat6 ant openjdk-6-jdk blast2 csh  
51 68670b96 Florent Chuffart
..
52 68670b96 Florent Chuffart
53 68670b96 Florent Chuffart
54 68670b96 Florent Chuffart
Get MyLabStocks Sources
55 68670b96 Florent Chuffart
------------------------
56 68670b96 Florent Chuffart
57 8f867a4e Florent Chuffart
The first installation step is to retrieve the source code of MyLabStocks. You can do this by typing the following command in a terminal.
58 949b8a56 Florent Chuffart
59 68670b96 Florent Chuffart
.. code:: bash
60 68670b96 Florent Chuffart
61 68670b96 Florent Chuffart
  git clone http://forge.cbp.ens-lyon.fr/git/mylabstocks
62 68670b96 Florent Chuffart
..
63 68670b96 Florent Chuffart
64 68670b96 Florent Chuffart
65 383292cc Florent Chuffart
Install wwwBLAST
66 68670b96 Florent Chuffart
----------------
67 68670b96 Florent Chuffart
68 383292cc Florent Chuffart
MyLabStocks uses BLAST queries for several of its features, wwwBLAST is a web interface which provides access to this feature in a user-friendly way.
69 949b8a56 Florent Chuffart
70 383292cc Florent Chuffart
MyLabStocks is distributed with wwwBLAST working on a x64 architecture.
71 8f867a4e Florent Chuffart
For other architectures, please refer to the NCBI repositories
72 68670b96 Florent Chuffart
http://mirrors.vbi.vt.edu/mirrors/ftp.ncbi.nih.gov/blast/executables/release/LATEST
73 68670b96 Florent Chuffart
74 8f867a4e Florent Chuffart
On the targeted server type the following commands in a terminal.
75 68670b96 Florent Chuffart
76 68670b96 Florent Chuffart
.. code:: bash
77 68670b96 Florent Chuffart
78 68670b96 Florent Chuffart
  cd mylabstocks/opts/
79 68670b96 Florent Chuffart
  tar xfvz wwwblast-2.2.26-x64-linux.tar.gz
80 68670b96 Florent Chuffart
  sudo cp -r blast /var/www/.
81 68670b96 Florent Chuffart
  sudo chown www-data:www-data /var/www/blast/TmpGifs /var/www/blast/*.log /var/www/blast/db/
82 68670b96 Florent Chuffart
  echo "<Directory /var/www/blast/>" > /tmp/blast.conf 
83 68670b96 Florent Chuffart
  echo "   Options +ExecCGI" >> /tmp/blast.conf 
84 68670b96 Florent Chuffart
  echo "</Directory>" >> /tmp/blast.conf 
85 68670b96 Florent Chuffart
  echo "AddHandler cgi-script .cgi" >> /tmp/blast.conf 
86 68670b96 Florent Chuffart
  sudo cp /tmp/blast.conf /etc/apache2/conf.d/blast.conf 
87 68670b96 Florent Chuffart
  rm /tmp/blast.conf
88 68670b96 Florent Chuffart
  sudo /etc/init.d/apache2 restart
89 68670b96 Florent Chuffart
  sudo sed -i 's/<option VALUE.*test_na_db/<option VALUE=oligostock_db>oligostock_db<option VALUE=plasmidstock_db>plasmidstock_db<option VALUE=plfeatstock_db>plfeatstock_db/g' /var/www/blast/blast.html
90 68670b96 Florent Chuffart
  sudo sed -i 's/<option VALUE.*test_aa_db//g' /var/www/blast/blast.html
91 68670b96 Florent Chuffart
  cat /var/www/blast/blast.rc > /tmp/blast.rc
92 68670b96 Florent Chuffart
  echo "blastn oligostock_db" >> /tmp/blast.rc
93 68670b96 Florent Chuffart
  echo "tblastn oligostock_db" >> /tmp/blast.rc
94 68670b96 Florent Chuffart
  echo "tblastx oligostock_db" >> /tmp/blast.rc
95 68670b96 Florent Chuffart
  echo "blastn plasmidstock_db" >> /tmp/blast.rc
96 68670b96 Florent Chuffart
  echo "tblastn plasmidstock_db" >> /tmp/blast.rc
97 68670b96 Florent Chuffart
  echo "tblastx plasmidstock_db" >> /tmp/blast.rc
98 68670b96 Florent Chuffart
  echo "blastn plfeatstock_db" >> /tmp/blast.rc
99 68670b96 Florent Chuffart
  echo "tblastn plfeatstock_db" >> /tmp/blast.rc
100 68670b96 Florent Chuffart
  echo "tblastx plfeatstock_db" >> /tmp/blast.rc
101 68670b96 Florent Chuffart
  sudo cp /tmp/blast.rc /var/www/blast/blast.rc
102 68670b96 Florent Chuffart
  rm /tmp/blast.rc
103 68670b96 Florent Chuffart
  cd ../..
104 68670b96 Florent Chuffart
..
105 68670b96 Florent Chuffart
106 f78441a4 Florent Chuffart
107 383292cc Florent Chuffart
Now you have a wwwBLAST instance available here: http://your_server/blast.
108 f78441a4 Florent Chuffart
109 f78441a4 Florent Chuffart
110 68670b96 Florent Chuffart
Install PlasMapper
111 68670b96 Florent Chuffart
------------------
112 68670b96 Florent Chuffart
113 949b8a56 Florent Chuffart
PlasMapper provides advanced plasmid visualisation features. We use it to produced annoted plasmid maps. To install it, type the following command under a targeted server terminal.
114 949b8a56 Florent Chuffart
115 68670b96 Florent Chuffart
.. code:: bash
116 68670b96 Florent Chuffart
117 68670b96 Florent Chuffart
  cd mylabstocks/opts/
118 68670b96 Florent Chuffart
  tar xfvz PlasMapper_download.tar.gz
119 68670b96 Florent Chuffart
  cd PlasMapper
120 68670b96 Florent Chuffart
  # modify installdir as /var/lib/tomcat6
121 68670b96 Florent Chuffart
  sed -i 's/\/home\/tomcat/\/var\/lib\/tomcat6/g' build.xml 
122 68670b96 Florent Chuffart
  # modify servletjar as /usr/share/tomcat6/lib/servlet-api.jar
123 68670b96 Florent Chuffart
  sed -i 's/${installdir}\/common\/lib\/servlet-api.jar/\/usr\/share\/tomcat6\/lib\/servlet-api.jar/g' build.xml 
124 68670b96 Florent Chuffart
  # change /home/tomcat for /var/lib/tomcat6
125 68670b96 Florent Chuffart
  sed -i 's/\/home\/tomcat/\/var\/lib\/tomcat6/g' src/ca/ualberta/xdong/plasMapper/annotate/plasMapConfiguration_en_CA.properties
126 68670b96 Florent Chuffart
  # and set blastallDir=/usr/bin/
127 68670b96 Florent Chuffart
  sed -i 's/\/usr\/local\/bin\//\/usr\/bin\//g' src/ca/ualberta/xdong/plasMapper/annotate/plasMapConfiguration_en_CA.properties
128 8f867a4e Florent Chuffart
  # After these steps, PlasMapper is ready to be configured
129 68670b96 Florent Chuffart
  ant clean
130 68670b96 Florent Chuffart
  ant build 
131 68670b96 Florent Chuffart
  sudo ant install 
132 68670b96 Florent Chuffart
  sudo rm -Rf /var/lib/tomcat6/webapps/PlasMapper/tmp
133 68670b96 Florent Chuffart
  sudo ln -s /tmp/tomcat6-tomcat6-tmp/ /var/lib/tomcat6/webapps/PlasMapper/tmp
134 68670b96 Florent Chuffart
  echo '<?xml version="1.0" encoding="UTF-8"?><Context path="/myapp" allowLinking="true"></Context>' > context.xml
135 68670b96 Florent Chuffart
  sudo mv context.xml /var/lib/tomcat6/webapps/PlasMapper/META-INF/
136 68670b96 Florent Chuffart
  sudo /etc/init.d/tomcat6 restart
137 8f867a4e Florent Chuffart
  # After these steps, PlasMapper works on your server at the url http://myserver:8080/PlasMapper
138 68670b96 Florent Chuffart
  sudo chown root:www-data /var/lib/tomcat6/webapps/PlasMapper/dataBase/db_vectorFeature/*.*
139 68670b96 Florent Chuffart
  sudo chmod 664 /var/lib/tomcat6/webapps/PlasMapper/dataBase/db_vectorFeature/*.*
140 68670b96 Florent Chuffart
  sudo chown root:www-data /var/lib/tomcat6/webapps/PlasMapper/dataBase/db_vectorFeature/
141 68670b96 Florent Chuffart
  sudo chmod 775 /var/lib/tomcat6/webapps/PlasMapper/dataBase/db_vectorFeature/
142 68670b96 Florent Chuffart
  sudo chown root:www-data /var/lib/tomcat6/webapps/PlasMapper/html/feature.html
143 68670b96 Florent Chuffart
  sudo chmod 664 /var/lib/tomcat6/webapps/PlasMapper/html/feature.html
144 383292cc Florent Chuffart
  #  Now, plasmid features are ready to be searched by MyLabStocks via BLAST queries.
145 68670b96 Florent Chuffart
  cd ../../..
146 68670b96 Florent Chuffart
..
147 68670b96 Florent Chuffart
148 f78441a4 Florent Chuffart
Now you have a PlasMapper instance available here: http://your_server:8080/PlasMapper.
149 f78441a4 Florent Chuffart
150 68670b96 Florent Chuffart
151 68670b96 Florent Chuffart
Install MyLabStocks
152 68670b96 Florent Chuffart
-------------------
153 68670b96 Florent Chuffart
154 8f867a4e Florent Chuffart
Now your are ready to install the core of MyLabStocks. It consists of a set of php scripts that you have to deploy on your apache server. To do that, type the following commands in a targeted server terminal.
155 949b8a56 Florent Chuffart
156 68670b96 Florent Chuffart
.. code:: bash
157 68670b96 Florent Chuffart
158 47b3bfd6 Florent Chuffart
  sudo rsync -cauvz mylabstocks/src/ /var/www/labstocks/
159 f78441a4 Florent Chuffart
  sudo rm /var/www/labstocks/install_db.phpsh
160 68670b96 Florent Chuffart
  sudo touch /var/www/labstocks/formatdb.log
161 68670b96 Florent Chuffart
  sudo chmod 440 /var/www/labstocks/connect_entry.php 
162 68670b96 Florent Chuffart
  sudo mkdir /var/www/labstocks/plasmid_files 
163 68670b96 Florent Chuffart
  sudo mkdir /var/www/labstocks/raw_dirs
164 68670b96 Florent Chuffart
  sudo mkdir /var/www/labstocks/collections
165 68670b96 Florent Chuffart
  sudo chown -R www-data:www-data /var/www/labstocks/connect_entry.php /var/www/labstocks/formatdb.log  /var/www/labstocks/plasmid_files /var/www/labstocks/raw_dirs
166 68670b96 Florent Chuffart
..
167 68670b96 Florent Chuffart
168 f78441a4 Florent Chuffart
Configure MyLabStocks
169 f78441a4 Florent Chuffart
---------------------
170 68670b96 Florent Chuffart
171 949b8a56 Florent Chuffart
For obvious security reasons, it is essential that you now update connexion parameters by editing the script: /var/www/labstocks/connect_entry.php
172 949b8a56 Florent Chuffart
173 949b8a56 Florent Chuffart
In this script you have to update the following constants: 
174 949b8a56 Florent Chuffart
175 949b8a56 Florent Chuffart
  - SERVEUR
176 949b8a56 Florent Chuffart
  - NOM
177 949b8a56 Florent Chuffart
  - BASE
178 949b8a56 Florent Chuffart
  - PASSE
179 949b8a56 Florent Chuffart
  - LABNAME
180 949b8a56 Florent Chuffart
  
181 68670b96 Florent Chuffart
182 68670b96 Florent Chuffart
.. code:: bash
183 68670b96 Florent Chuffart
184 68670b96 Florent Chuffart
  sudo vi /var/www/labstocks/connect_entry.php 
185 68670b96 Florent Chuffart
..
186 68670b96 Florent Chuffart
187 8f867a4e Florent Chuffart
We have prepared the following script to help you define passwords and instantiate the database. This script will ask you to choose a password for basic and administrative access. To use this script, simply type the following command line:
188 68670b96 Florent Chuffart
189 68670b96 Florent Chuffart
.. code:: bash
190 68670b96 Florent Chuffart
191 4fcefb60 Florent Chuffart
  sudo php mylabstocks/src/install_db.phpsh 
192 68670b96 Florent Chuffart
..
193 68670b96 Florent Chuffart
194 949b8a56 Florent Chuffart
Congratulations! Your MyLabStocks instance is now available here: http://your_server/labstocks.
195 68670b96 Florent Chuffart
196 949b8a56 Florent Chuffart
Go to http://your_server/labstocks/wwwblast.php to initialize blast databases.
197 68670b96 Florent Chuffart
198 68670b96 Florent Chuffart
Links
199 68670b96 Florent Chuffart
-----
200 68670b96 Florent Chuffart
201 68670b96 Florent Chuffart
`MyLabStocks` home, repository and documentation: http://forge.cbp.ens-lyon.fr/redmine/projects/mylabstocks
202 68670b96 Florent Chuffart
203 68670b96 Florent Chuffart
Gael Yvert lab: http://www.ens-lyon.fr/LBMC/gisv/
204 68670b96 Florent Chuffart
205 68670b96 Florent Chuffart
206 68670b96 Florent Chuffart
207 68670b96 Florent Chuffart
208 68670b96 Florent Chuffart
209 68670b96 Florent Chuffart
Usage
210 68670b96 Florent Chuffart
=====
211 68670b96 Florent Chuffart
212 68670b96 Florent Chuffart
Advanced Search
213 68670b96 Florent Chuffart
---------------
214 68670b96 Florent Chuffart
215 68670b96 Florent Chuffart
In the strain section, the form `Search in genotype` filters strains where the 
216 4fcefb60 Florent Chuffart
fields `locus1`, `locus2`, `locus3`, `locus4`, `locus5`, `ADE2`, `HIS3`, `LE  U2`, 
217 68670b96 Florent Chuffart
`LYS2`, `MET15`, `TRP1`, `URA3`, `HO_`, `Cytoplasmic_Character` or 
218 68670b96 Florent Chuffart
`extrachromosomal_plasmid` contain the given expression. This filter is case 
219 68670b96 Florent Chuffart
insensitive.
220 68670b96 Florent Chuffart
221 68670b96 Florent Chuffart
Plasmids Sequences Management
222 68670b96 Florent Chuffart
-----------------------------
223 68670b96 Florent Chuffart
224 68670b96 Florent Chuffart
Even in edit mode, users are not granted permission to directly edit a plasmid 
225 68670b96 Florent Chuffart
sequence, nor the URL to the plasmid sequence file. If a new sequence must be 
226 68670b96 Florent Chuffart
entered instead of the current one, users must upload a new sequence file, in 
227 68670b96 Florent Chuffart
.gb or .gb.gz format. MyLabStocks then automatically reads the file and update 
228 68670b96 Florent Chuffart
the sequence field and the URL. This ensures consistency between URL, sequence 
229 68670b96 Florent Chuffart
and the file itself.
230 68670b96 Florent Chuffart
231 68670b96 Florent Chuffart
232 38e8e479 Florent Chuffart
Reporting Bugs
233 38e8e479 Florent Chuffart
--------------
234 38e8e479 Florent Chuffart
235 38e8e479 Florent Chuffart
If you think you have found a bug and would like to report the problem, then please ensure you have applied all applicable updates. If this is the case, send a description of your problem and some screenshot to florent.chuffart on its ens-lyon.fr email. Thank you for your contribution.
236 38e8e479 Florent Chuffart
237 38e8e479 Florent Chuffart
238 38e8e479 Florent Chuffart
239 47b3bfd6 Florent Chuffart
Backing up the Mysql Database and Stored Files
240 47b3bfd6 Florent Chuffart
----------------------------------------------
241 47b3bfd6 Florent Chuffart
242 383292cc Florent Chuffart
We HIGHLY RECOMMEND THAT YOU REGULARLY BACKUP your MyLabStocks
243 383292cc Florent Chuffart
database. We provide two levels of backup. The first one dumps only the
244 383292cc Florent Chuffart
MySQL database. The second one also adds the items' files that were uploaded on the server (plasmid_files and raw_dirs directories from your /var/www/labstocks
245 ecebbb6d Florent Chuffart
directory). These two features are available on the bottom of each entry page. The two links in the sentence *Backup the entire system or only the
246 383292cc Florent Chuffart
database NOW!* allow any user to download the requested backups. It
247 383292cc Florent Chuffart
could be useful for an administrator to integrate it in a robust file
248 383292cc Florent Chuffart
backup system using, for example, a cron that regularly pull the
249 ecebbb6d Florent Chuffart
archives (wget http://.../labstocks/backup.php?FULL_BACK=1). A third link allow you to export the current table in ''csv'' format.
250 47b3bfd6 Florent Chuffart
251 7c18e02a Florent Chuffart
252 7c18e02a Florent Chuffart
253 38e8e479 Florent Chuffart
How To Restore System From Backup
254 38e8e479 Florent Chuffart
---------------------------------
255 47b3bfd6 Florent Chuffart
256 383292cc Florent Chuffart
On the targeted server, you can restore the database from the last backup
257 383292cc Florent Chuffart
file ''labstocks_db.sql'' by typing the following command in a
258 383292cc Florent Chuffart
terminal. Not that you need administrator priviledges on the server to do that. This will drop existing tables, create new ones and populate them with data.
259 383292cc Florent Chuffart
You need to adapt user, password and database names according to your
260 383292cc Florent Chuffart
settings.
261 383292cc Florent Chuffart
262 47b3bfd6 Florent Chuffart
263 38e8e479 Florent Chuffart
.. code:: bash
264 47b3bfd6 Florent Chuffart
265 38e8e479 Florent Chuffart
  sudo mysql --user=root --password=root labstocks_db < labstocks_db.sql 
266 38e8e479 Florent Chuffart
..
267 38e8e479 Florent Chuffart
268 38e8e479 Florent Chuffart
269 383292cc Florent Chuffart
To restore the uploaded files, you have to copy backed-up directories
270 383292cc Florent Chuffart
(''plasmid_files'' and ''raw_dirs'') to the labstocks directory of your server. To do that, on the targeted server, type the following commands in a
271 383292cc Florent Chuffart
terminal.
272 38e8e479 Florent Chuffart
273 38e8e479 Florent Chuffart
.. code:: bash
274 38e8e479 Florent Chuffart
275 38e8e479 Florent Chuffart
  sudo cp -r plasmid_files raw_dirs /var/www/labstocks/. 
276 38e8e479 Florent Chuffart
..
277 68670b96 Florent Chuffart
278 68670b96 Florent Chuffart
279 38e8e479 Florent Chuffart
Extend Database
280 38e8e479 Florent Chuffart
---------------
281 68670b96 Florent Chuffart
282 383292cc Florent Chuffart
MyLabstocks is delivered under a free licence. Feel free to modify and
283 383292cc Florent Chuffart
extend it to meet the needs of your lab. To do that you can
284 383292cc Florent Chuffart
create new tables using phpMyAdmin
285 383292cc Florent Chuffart
(http://your_server/phpmyadmin)
286 383292cc Florent Chuffart
or mysql command line tools (documentation here
287 383292cc Florent Chuffart
http://dev.mysql.com/doc/refman/5.6/en/mysql.html).
288 383292cc Florent Chuffart
MyLabStocks uses the  framework phpMyEdit to manage the user interface. You can use the provided tool (http://your_server/phpMyEditSetup.php) to generate code.
289 383292cc Florent Chuffart
You can learn how to customize the interface by reading the phpMyEdit embedded documentation (http://your_server/labstocks/doc/html/).
290 68670b96 Florent Chuffart
291 ecebbb6d Florent Chuffart
Adding New Boxes In The Box Manager
292 ecebbb6d Florent Chuffart
-----------------------------------
293 ecebbb6d Florent Chuffart
294 ecebbb6d Florent Chuffart
Tu add new boxes in the box manager you have to connect to the box manager in super user mode (or asking to your admin to). In this contexte, at the top of the page appears a link ''Add a new box for your Liquid N2 storage''. Follow this link, fill the form and click the button ''Add this new box''.  
295 3fb9b24c Florent Chuffart
296 3fb9b24c Florent Chuffart
Modifying The Session Duration
297 3fb9b24c Florent Chuffart
------------------------------
298 3fb9b24c Florent Chuffart
299 3fb9b24c Florent Chuffart
To modify the session duration, edit the connect_entry.php configuration file and modify the SESSION_DURATION default value.
300 3fb9b24c Florent Chuffart
301 3fb9b24c Florent Chuffart
302 ef59ea9d Florent Chuffart
Extracting the genotypes of multiple strains when preparing a publication
303 ef59ea9d Florent Chuffart
-------------------------------------------------------------------------
304 ef59ea9d Florent Chuffart
305 ef59ea9d Florent Chuffart
Log in with superuser priviledges.
306 ef59ea9d Florent Chuffart
Go to the strains tab, click on the 'extract genotypes' link above the table
307 ef59ea9d Florent Chuffart
Enter IDs of strains to be retrieved, separated by blank space or commas.
308 71c3bfe5 Florent Chuffart
Click on 'extract genotypes' button.
309 71c3bfe5 Florent Chuffart
310 71c3bfe5 Florent Chuffart
311 71c3bfe5 Florent Chuffart
Clearing Existing Values and Start Over 
312 71c3bfe5 Florent Chuffart
--------------------------------------- 
313 71c3bfe5 Florent Chuffart
314 71c3bfe5 Florent Chuffart
Existing values can be deleted from the admin tab using the superuser password. By doing so, you have to take care of the order in which you delete entries. For example, your are allowed to delete an "author" only if this author is no longer associated with any item entry ("strain", "lab book", ...). It is therefore necessary to first delete these item entries befor this author. Existing entries can also be deleted via SQL requests or through the phpMyAdmin graphical interface, using the DUMP TABLE command.