Exemple #1
0
    def __init__(self, component, *args, **kwargs):
        if 'sub_features' in kwargs:
            raise NotImplementedError(
                'sub_features is not supported by ComponentSeqFeature and '
                'deprecated in SeqFeature. Use CompoundFeatureLocation instead.'
            )

        self.source = kwargs.pop('source', None)
        self.component = component
        SeqFeature.__init__(self, *args, **kwargs)
Exemple #2
0
 def __init__(self, seq="", *args, **kwargs):
     SeqFeature.__init__(self,
                         location=None,
                         type="",
                         location_operator="",
                         strand=None,
                         id="<unknown id>",
                         qualifiers=None,
                         sub_features=None,
                         ref=None,
                         ref_db=None,
                         *args,
                         **kwargs)
     self.seq = seq
 def __init__(self, seq="", *args,  **kwargs):
     SeqFeature.__init__(self, location = None, type = '', location_operator = '',
              strand = None, id = "<unknown id>",
              qualifiers = None, sub_features = None,
              ref = None, ref_db = None, *args, **kwargs)
     self.seq = seq
Exemple #4
0
 def __init__(self, *args, **kwargs):
     BioSeqFeature.__init__(self, *args, **kwargs)