Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(10)  |  Call(10)  |  Derive(0)  |  Import(0)
Create a SeqRecord.

Arguments:
 - seq         - Sequence, required (Seq, MutableSeq or UnknownSeq)
 - id          - Sequence identifier, recommended (string)
 - name        - Sequence name, optional (string)
 - description - Sequence description, optional (string)
 - dbxrefs     - Database cross references, optional (list of strings)
 - features    - Any (sub)features, optional (list of SeqFeature objects)
 - annotations - Dictionary of annotations for the whole sequence(more...)

src/p/y/pydna-0.6.1/pydna/amplify.py   pydna(Download)
        seq_obj.seq.alphabet = ambiguous_dna
 
        SeqRecord.__init__(self,
                           seq=seq_obj.seq,
                           id=seq_obj.id,

src/v/d/vdj-HEAD/__init__.py   vdj(Download)
            self._init_with_SeqRecord(kw['record'])
        else:   # native SeqRecord init
            SeqRecord.__init__(self,*args,**kw)
 
        # precompute hash on features for performance
 
        # Initialize self using existing SeqRecord object
        SeqRecord.__init__(self, seq=record.seq, id=record.id,
                            name=record.name, description=record.description,
                            dbxrefs=record.dbxrefs, features=record.features,

src/p/y/python-dna-0.1.2/pydna/dsdna.py   python-dna(Download)
 
        if isinstance(record, basestring):  # record is a string
            SeqRecord.__init__(self,
                               Dseq(record,
                                    rc(record),
            if record.linear and circular:
                record = record.looped()
            SeqRecord.__init__(self, record, *args, **kwargs)
        elif isinstance(record, Seq):         # record is Bio.Seq ?
            SeqRecord.__init__(self, Dseq(str(record),

src/p/y/pydna-0.6.1/pydna/dsdna.py   pydna(Download)
 
        if isinstance(record, basestring):  # record is a string
            SeqRecord.__init__(self,
                               Dseq(record,
                                    rc(record),
            if record.linear and circular:
                record = record.looped()
            SeqRecord.__init__(self, record, *args, **kwargs)
        elif isinstance(record, Seq):         # record is Bio.Seq ?
            SeqRecord.__init__(self, Dseq(str(record),

src/s/s/SSuMMo-0.3/lib/ArbIO.py   SSuMMo(Download)
    def __init__(self,seq,**kwargs):
        SeqRecord.__init__(self,seq,**kwargs)
        self.index = {}
    def __del__(self):
        """Clean up method. Called on garbage collection"""