Package Bio :: Package IntelliGenetics :: Module intelligenetics_format
[hide private]
[frames] | no frames]

Module intelligenetics_format

source code

Martel regular expression for Intelligenetic format (DEPRECATED).

This is a huge regular regular expression for the IntelliGenetics/MASE format, built using the 'regular expressions on steroids' capabilities of Martel.

Variables [hide private]
  comment_line = Martel.Group("comment_line", Martel.Str(';')+ M...
  comment_lines = Martel.Group("comment_lines", Martel.Rep(comme...
  title_line = Martel.Group("title_line", Martel.Expression.Asse...
  residue_line = Martel.Group("residue_line", Martel.Expression....
  residue_lines = Martel.Group("residue_lines", Martel.Rep1(resi...
  intelligenetics_record = comment_lines+ title_line+ residue_lines
Variables Details [hide private]

comment_line

Value:
Martel.Group("comment_line", Martel.Str(';')+ Martel.ToEol("comment"))

comment_lines

Value:
Martel.Group("comment_lines", Martel.Rep(comment_line))

title_line

Value:
Martel.Group("title_line", Martel.Expression.Assert(Martel.Str(';'), 1\
)+ Martel.ToEol())

residue_line

Value:
Martel.Group("residue_line", Martel.Expression.Assert(Martel.Str(';'),\
 1)+ Martel.ToEol("sequence"))

residue_lines

Value:
Martel.Group("residue_lines", Martel.Rep1(residue_line))