18
|
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
|