Mercurial > repos > crusoe > khmer
annotate gedlab.py @ 59:08a599cf71d0
Bjoern's suggestions
author | Michael R. Crusoe <mcrusoe@msu.edu> |
---|---|
date | Mon, 18 Aug 2014 07:02:05 -0400 |
parents | 3d65329a491d |
children |
rev | line source |
---|---|
35 | 1 """ |
2 k-mer count and presence | |
3 """ | |
4 | |
5 from galaxy.datatypes.binary import Binary | |
6 | |
7 import os | |
8 import logging | |
9 | |
10 log = logging.getLogger(__name__) | |
11 | |
52
3d65329a491d
PEP8 & params for do-partition
Michael R. Crusoe <mcrusoe@msu.edu>
parents:
35
diff
changeset
|
12 |
3d65329a491d
PEP8 & params for do-partition
Michael R. Crusoe <mcrusoe@msu.edu>
parents:
35
diff
changeset
|
13 class Count(Binary): |
35 | 14 |
52
3d65329a491d
PEP8 & params for do-partition
Michael R. Crusoe <mcrusoe@msu.edu>
parents:
35
diff
changeset
|
15 def __init__(self, **kwd): |
3d65329a491d
PEP8 & params for do-partition
Michael R. Crusoe <mcrusoe@msu.edu>
parents:
35
diff
changeset
|
16 Binary.__init__(self, **kwd) |
35 | 17 |
18 | |
52
3d65329a491d
PEP8 & params for do-partition
Michael R. Crusoe <mcrusoe@msu.edu>
parents:
35
diff
changeset
|
19 class Presence(Binary): |
35 | 20 |
52
3d65329a491d
PEP8 & params for do-partition
Michael R. Crusoe <mcrusoe@msu.edu>
parents:
35
diff
changeset
|
21 def __init__(self, **kwd): |
3d65329a491d
PEP8 & params for do-partition
Michael R. Crusoe <mcrusoe@msu.edu>
parents:
35
diff
changeset
|
22 Binary.__init__(self, **kwd) |
35 | 23 |
24 Binary.register_unsniffable_binary_ext("ct") | |
25 Binary.register_unsniffable_binary_ext("pt") |