Beispiel #1
0
	def __init__(self, src, length_src=[], version=DEFAULT_GFF_VERSION):
		# call the superclass
		IntervalFile.__init__(self, src, length_src)
		# set our deep and shallow iterators
		# (self.file is determined automatically by the superclass from the src argument)
		self.iterator = _gff_iterator(self.file, version)
		self.interval_iterator = _gff_interval_iterator(self.file)
Beispiel #2
0
 def __init__(self, src):
     # call the superclass
     IntervalFile.__init__(self, src, length_src)
     # set our deep and shallow iterators
     # (self.file is determined automatically by the superclass from the src argument)
     self.iterator = _bed_iterator(self.file)
     self.interval_iterator = _bed_interval_iterator(self.file)
Beispiel #3
0
 def __init__(self, src):
     # call the superclass
     IntervalFile.__init__(self, src, length_src)
     # set our deep and shallow iterators
     # (self.file is determined automatically by the superclass from the src argument)
     self.iterator = _bed_iterator(self.file)
     self.interval_iterator = _bed_interval_iterator(self.file)
Beispiel #4
0
 def __init__(self, src, length_src=[], version=DEFAULT_GFF_VERSION, build=DEFAULT_BUILD):
     # call the superclass
     IntervalFile.__init__(self, src, length_src)
     # list to store version & build - this allows passing to and updating by iterator
     self.data = [str(version), str(build)]
     # set our deep and shallow iterators
     # (self.file is determined automatically by the superclass from the src argument)
     self.iterator = _gff_iterator(self.file, self.data)
     self.interval_iterator = _gff_interval_iterator(self.file)
Beispiel #5
0
 def __init__(self, src, length_src=[], version=DEFAULT_GFF_VERSION, build=DEFAULT_BUILD):
     # call the superclass
     IntervalFile.__init__(self, src, length_src)
     # list to store version & build - this allows passing to and updating by iterator
     self.data = [str(version), str(build)]
     # set our deep and shallow iterators
     # (self.file is determined automatically by the superclass from the src argument)
     self.iterator = _gff_iterator(self.file, self.data)
     self.interval_iterator = _gff_interval_iterator(self.file)