Logo Search packages:      
Sourcecode: python-biopython version File versions  Download package

def Bio::SCOP::Raf::SeqMapIndex::__getitem__ (   self,
  key 
)

Return an item from the indexed file. 

Definition at line 116 of file Raf.py.

00116                                :
        """ Return an item from the indexed file. """
        position = dict.__getitem__(self,key)

        f = open(self.filename)
        try:
            f.seek(position)
            line = f.readline()
            record = SeqMap(line)
        finally:
            f.close()
        return record


    def getSeqMap(self, residues) :


Generated by  Doxygen 1.6.0   Back to index