Back to index

python-biopython  1.60
RanaConfig.py
Go to the documentation of this file.
00001 #
00002 #      Restriction Analysis Libraries.
00003 #      Copyright (C) 2004. Frederic Sohm.
00004 #
00005 # This code is part of the Biopython distribution and governed by its
00006 # license.  Please see the LICENSE file that should have been included
00007 # as part of this package.
00008 #
00009 
00010 import os
00011 
00012 ###############################################################################
00013 #                   Configuration of the console.
00014 #
00015 #   Mainly used  by PrintFormat.PrintFormat
00016 #
00017 #   ConsoleWidth : width of the console used default to 80.
00018 #                   should never be less than 60.
00019 #   NameWidth    : space attributed to the name in PrintList method.
00020 #   Indent       : Indent of the second line.
00021 #   MaxSize      : Maximal size of the sequence (default=6:
00022 #                                                -> 99 999 bp + 1 trailing ','
00023 #                  people are unlikely to ask for restriction map of sequences
00024 #                  bigger than 100.000 bp. This is needed to determine the
00025 #                  space to be reserved for sites location.
00026 #                   
00027 #                  MaxSize = 5  =>   9.999 bp
00028 #                  MaxSize = 6  =>  99.999 bp
00029 #                  MaxSize = 7  => 999.999 bp
00030 #   example:
00031 #               
00032 #   <------------ ConsoleWidth --------------->
00033 #   <- NameWidth ->
00034 #   EcoRI         :   1, 45, 50, 300, 400, 650,
00035 #                         700, 1200, 2500.
00036 #                     <-->
00037 #                       Indent
00038 #
00039 ConsoleWidth        =     80                   
00040 NameWidth           =     10
00041 Indent              =     4
00042 MaxSize             =     6 
00043 ###############################################################################
00044 #                   Proxies
00045 #
00046 #   Enter here the address of your proxy if any.
00047 #   If you don't use proxy use an empty string
00048 #   i.e.
00049 #   ftp_proxy       =   ''
00050 #                   -> no proxy
00051 #
00052 #   ftp_proxy       =   'http://www.somewhere.something:one_number'
00053 #                   -> www.somewhere.something is the address of the proxy.
00054 #                      one_number is the port number.
00055 #   
00056 ftp_proxy           =   ''
00057 ###############################################################################
00058 #                   Rebase ftp location
00059 #
00060 #   Do not modify the addresses.
00061 #
00062 ftp_Rebase          =   'ftp://ftp.neb.com/'
00063 ftp_emb_e           =   ftp_Rebase+'pub/rebase/emboss_e.###'
00064 ftp_emb_s           =   ftp_Rebase+'pub/rebase/emboss_s.###'
00065 ftp_emb_r           =   ftp_Rebase+'pub/rebase/emboss_r.###'
00066 ###############################################################################
00067 #                   ftp rebase account.
00068 #
00069 #   In order to update the rebase files, Rana need to connect to the
00070 #   ftp server corresponding.
00071 #
00072 #   the general procedure for accessing a ftp server is generally to
00073 #   connect as anonymous user (rebase_name) and providing your e-mail address
00074 #   as password.
00075 #
00076 #   Therefore, you need to enter your e-mail address in rebase_password.
00077 #   The address will not be send to anyone but is necessary to login the
00078 #   ftp server of rebase when connecting as anonymous user.
00079 #
00080 #   Do not forget to enclose the address between "'".
00081 #
00082 Rebase_name         =   'anonymous'
00083 Rebase_password     =   ''
00084 #Rebase_password     =   'your_address@somewhere.something'
00085 
00086