Package Bio :: Package Restriction :: Module RanaConfig
[hide private]
[frames] | no frames]

Source Code for Module Bio.Restriction.RanaConfig

 1  # 
 2  #      Restriction Analysis Libraries. 
 3  #      Copyright (C) 2004. Frederic Sohm. 
 4  # 
 5  # This code is part of the Biopython distribution and governed by its 
 6  # license.  Please see the LICENSE file that should have been included 
 7  # as part of this package. 
 8  # 
 9  ############################################################################### 
10  #                   Configuration of the console. 
11  # 
12  #   Mainly used  by PrintFormat.PrintFormat 
13  # 
14  #   ConsoleWidth : width of the console used default to 80. 
15  #                   should never be less than 60. 
16  #   NameWidth    : space attributed to the name in PrintList method. 
17  #   Indent       : Indent of the second line. 
18  #   MaxSize      : Maximal size of the sequence (default=6: 
19  #                                                -> 99 999 bp + 1 trailing ',' 
20  #                  people are unlikely to ask for restriction map of sequences 
21  #                  bigger than 100.000 bp. This is needed to determine the 
22  #                  space to be reserved for sites location. 
23  # 
24  #                  MaxSize = 5  =>   9.999 bp 
25  #                  MaxSize = 6  =>  99.999 bp 
26  #                  MaxSize = 7  => 999.999 bp 
27  #   example: 
28  # 
29  #   <------------ ConsoleWidth ---------------> 
30  #   <- NameWidth -> 
31  #   EcoRI         :   1, 45, 50, 300, 400, 650, 
32  #                         700, 1200, 2500. 
33  #                     <--> 
34  #                       Indent 
35  # 
36  ConsoleWidth        =     80 
37  NameWidth           =     10 
38  Indent              =     4 
39  MaxSize             =     6 
40  ############################################################################### 
41  #                   Proxies 
42  # 
43  #   Enter here the address of your proxy if any. 
44  #   If you don't use proxy use an empty string 
45  #   i.e. 
46  #   ftp_proxy       =   '' 
47  #                   -> no proxy 
48  # 
49  #   ftp_proxy       =   'http://www.somewhere.something:one_number' 
50  #                   -> www.somewhere.something is the address of the proxy. 
51  #                      one_number is the port number. 
52  # 
53  ftp_proxy           =   '' 
54  ############################################################################### 
55  #                   Rebase ftp location 
56  # 
57  #   Do not modify the addresses. 
58  # 
59  ftp_Rebase          =   'ftp://ftp.neb.com/' 
60  ftp_emb_e           =   ftp_Rebase+'pub/rebase/emboss_e.###' 
61  ftp_emb_s           =   ftp_Rebase+'pub/rebase/emboss_s.###' 
62  ftp_emb_r           =   ftp_Rebase+'pub/rebase/emboss_r.###' 
63  ############################################################################### 
64  #                   ftp rebase account. 
65  # 
66  #   In order to update the rebase files, Rana need to connect to the 
67  #   ftp server corresponding. 
68  # 
69  #   the general procedure for accessing a ftp server is generally to 
70  #   connect as anonymous user (rebase_name) and providing your e-mail address 
71  #   as password. 
72  # 
73  #   Therefore, you need to enter your e-mail address in rebase_password. 
74  #   The address will not be send to anyone but is necessary to login the 
75  #   ftp server of rebase when connecting as anonymous user. 
76  # 
77  #   Do not forget to enclose the address between "'". 
78  # 
79  Rebase_name         =   'anonymous' 
80  Rebase_password     =   '' 
81  #Rebase_password     =   'your_address@somewhere.something' 
82