Commit d4c18012 by Eric Coissac

patch on fastaHead and fastaTail

parent 79c61ca4
#!/usr/local/bin/python
'''
Created on 15 dŽc. 2009
Created on 15 dec. 2009
@author: coissac
'''
......
#!/usr/local/bin/python
'''
Created on 15 dŽc. 2009
Created on 15 dec. 2009
@author: coissac
'''
......@@ -25,13 +25,11 @@ if __name__ == '__main__':
(options, entries) = optionParser()
i=0
queue = collections.deque()
queue = collections.deque(maxlen=options.count)
for s in entries:
queue.append(s)
if len(queue) > options.count:
queue.popleft()
while queue:
print formatFasta(queue.popleft())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment