1
2
3
4
5
6 """Martel based parser to read IntelliGenetics formatted files (DEPRECATED).
7
8 This module defines a Record class to hold a sequence from the IntelliGenetics/
9 MASE file format in a similar represenation to the original raw file.
10 """
11
12
13 from Bio.Seq import Seq
14 """Hold IntelliGenetics data in a straightforward format.
15
16 classes:
17 o Record - All of the information in an IntelliGenetics record.
18 """
19
21 """Hold IntelliGenetics information in a format similar to the original record.
22
23 The Record class is meant to make data easy to get to when you are
24 just interested in looking at GenBank data.
25
26 Attributes:
27 comments
28 title
29 sequence
30 """
35
42
44 output = ''
45 for j in range( 0, len( seq ), 80 ):
46 output = output + '%s\n' % seq[ j: j + 80 ]
47 output = output + '\n'
48 return output
49