Package Bio :: Package expressions :: Package swissprot :: Module sprot40
[hide private]
[frames] | no frames]

Module sprot40

source code

Variables [hide private]
  DT_created_exp = Martel.Str("DT ")+ Time.make_expression("%(...
  OX_start = Martel.Str("OX NCBI_TaxID=")+ Martel.Rep1(Martel....
  OX_cont = Martel.Str("OX ")+ Martel.Rep1(Martel.Digits("ncbi...
  OX_exp = OX_start+ Martel.Rep(OX_cont)
  bib = Martel.Word("bibliographic_database_name")+ Martel.Str("...
  RX_exp = Martel.Str("RX ")+ bib+ Martel.Opt(Martel.Str(" ")+...
  SQ_exp = Martel.Re("SQ SEQUENCE +(?P<sequence_length>\d+) AA...
  replacements = [("DT_created", DT_created_exp), ("OX_block", O...
  record = Martel.replace_groups(sprot38.record, replacements)
  format_expression = Martel.replace_groups(sprot38.format_expre...
  format = Martel.replace_groups(sprot38.format, replacements)
  __warningregistry__ = {('Bio.expressions was deprecated, as it...
Variables Details [hide private]

DT_created_exp

Value:
Martel.Str("DT   ")+ Time.make_expression("%(DD)-%(Jan)-%(YYYY)")+ Mar\
tel.Re(" \(R[Ee][Ll]. (?P<release>\d\d), Created\)\R")

OX_start

Value:
Martel.Str("OX   NCBI_TaxID=")+ Martel.Rep1(Martel.Digits("ncbi_taxid"\
)+ Martel.Re("[,; ]+"))+ Martel.AnyEol()

OX_cont

Value:
Martel.Str("OX   ")+ Martel.Rep1(Martel.Digits("ncbi_taxid")+ Martel.R\
e("[,; ]+"))+ Martel.AnyEol()

bib

Value:
Martel.Word("bibliographic_database_name")+ Martel.Str("=")+ Martel.To\
Sep("bibliographic_identifier", ";")

RX_exp

Value:
Martel.Str("RX   ")+ bib+ Martel.Opt(Martel.Str(" ")+ bib)+ Martel.Any\
Eol()

SQ_exp

Value:
Martel.Re("SQ   SEQUENCE +(?P<sequence_length>\d+) AA;" " +(?P<molecul\
ar_weight>\d+) MW;" " +(?P<crc?type=64>\w+) CRC64;\R")

replacements

Value:
[("DT_created", DT_created_exp), ("OX_block", OX_exp), ("RX", RX_exp),\
 ("SQ", SQ_exp),]

format_expression

Value:
Martel.replace_groups(sprot38.format_expression, replacements)

__warningregistry__

Value:
{('Bio.expressions was deprecated, as it does not work with recent ver\
sions of mxTextTools. If you want to continue to use this module, plea\
se get in contact with the Biopython developers at biopython-dev@biopy\
thon.org to avoid permanent removal of this module from Biopython',
  <type 'exceptions.DeprecationWarning'>,
  2): 1}