Ejemplo n.º 1
0
 def __init__(self, filename_or_sequence):
     FileOrSequence.__init__(self, filename_or_sequence)
     self.metadata = {}
     self.info = {}
     self.filters = {}
     self.formats = {}
     self.nsamples = 0
     self.sampleids = []
Ejemplo n.º 2
0
 def __init__(self, filename_or_sequence, verbose=True):
     FileOrSequence.__init__(self, filename_or_sequence)
     self.attributes = {}
     self.stepType = 'none'
     self.verbose = verbose
Ejemplo n.º 3
0
 def __init__(self, file_, raw_iterator=False):
     FileOrSequence.__init__(self, file_)
     self.raw_iterator = raw_iterator
Ejemplo n.º 4
0
 def __init__(self, filename_or_sequence, solexa_old=False):
     FileOrSequence.__init__(self, filename_or_sequence)
     if solexa_old:
         self.qualscale = "solexa-old"
     else:
         self.qualscale = "solexa"
Ejemplo n.º 5
0
 def __init__(self, file_, qual_scale="phred", raw_iterator=False):
     FileOrSequence.__init__(self, file_)
     self.qual_scale = qual_scale
     if qual_scale not in ("phred", "solexa", "solexa-old"):
         raise ValueError("Illegal quality scale.")
     self.raw_iterator = raw_iterator
Ejemplo n.º 6
0
 def __init__(self, filename_or_sequence):
     FileOrSequence.__init__(self, filename_or_sequence)