File: RanaConfig.py

package info (click to toggle)
python-biopython 1.68%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 46,860 kB
  • ctags: 13,237
  • sloc: python: 160,306; xml: 93,216; ansic: 9,118; sql: 1,208; makefile: 155; sh: 63
file content (78 lines) | stat: -rw-r--r-- 2,517 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# Copyright (C) 2004. Frederic Sohm.
# This code is part of the Biopython distribution and governed by its
# license.  Please see the LICENSE file that should have been included
# as part of this package.

"""Configuration of the console.

Mainly used by PrintFormat.PrintFormat

 - ConsoleWidth : width of the console used default to 80.
                  should never be less than 60.
 - NameWidth    : space attributed to the name in PrintList method.
 - Indent       : Indent of the second line.
 - MaxSize      : Maximal size of the sequence (default=6:
                  -> 99 999 bp + 1 trailing ','
                  people are unlikely to ask for restriction map of sequences
                  bigger than 100.000 bp. This is needed to determine the
                  space to be reserved for sites location.

                   - MaxSize = 5  =>   9.999 bp
                   - MaxSize = 6  =>  99.999 bp
                   - MaxSize = 7  => 999.999 bp

Example::

    <------------ ConsoleWidth --------------->
    <- NameWidth ->
    EcoRI         :   1, 45, 50, 300, 400, 650,
                          700, 1200, 2500.
                      <-->
                        Indent

"""


ConsoleWidth = 80
NameWidth = 10
Indent = 4
MaxSize = 6

# Proxies
#
# Enter here the address of your proxy if any.
# If you don't use proxy use an empty string
#
# Example:
#
#  ftp_proxy       =   ''
#                  -> no proxy
#
#  ftp_proxy       =   'http://www.somewhere.something:one_number'
#                  -> www.somewhere.something is the address of the proxy.
#                     one_number is the port number.
ftp_proxy = ''

###############################################################################
#                   Rebase ftp location
#
#   Do not modify the addresses.
#
ftp_Rebase = 'ftp://ftp.neb.com/'
ftp_emb_e = ftp_Rebase + 'pub/rebase/emboss_e.###'
ftp_emb_s = ftp_Rebase + 'pub/rebase/emboss_s.###'
ftp_emb_r = ftp_Rebase + 'pub/rebase/emboss_r.###'
###############################################################################
#                   ftp rebase account.
#
#   In order to update the rebase files, Rana need to connect to the
#   ftp server corresponding.
#
#   the general procedure for accessing a ftp server is generally to
#   connect as anonymous user (rebase_name) and providing your e-mail address
#   as password.
#
#   However, a password is not required (any more?) for connecting tho REBASE,
#   so we don't send our e-mail
#
Rebase_name = 'anonymous'