comparison commons/pyRepetUnit/hmmer/hmmOutput/HmmOutput.py @ 18:94ab73e8a190

Uploaded
author m-zytnicki
date Mon, 29 Apr 2013 03:20:15 -0400
parents
children
comparison
equal deleted inserted replaced
17:b0e8584489e6 18:94ab73e8a190
1 ## List of Hmmpfam or Hmmscan Output (that are too lists).
2 #
3 class HmmOutput( object ):
4
5 list;
6
7 def __init__( self ):
8 self._hmmpfamOutput = []
9
10 ## append an output in the list of output
11 #
12 # @param list name of the list
13 #
14 def append( self, list ):
15 self._hmmpfamOutput.append(list)
16
17 ## return the length of the list of output
18 def len (self):
19 return len(self._hmmpfamOutput)
20
21 ## return the output corresponding at the element number index in the list of output
22 #
23 # @param index number of index
24 #
25 def get(self, index):
26 return self._hmmpfamOutput[index]
27
28 ## return the list of output
29 def getList(self):
30 return self._hmmpfamOutput