Skip to content

Commit

Permalink
feat(gtdb/tree): Added R207 tree.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmussig committed Jul 15, 2022
1 parent 051ca48 commit 24b2377
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion magna/gtdb/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ class GtdbMetadataR207Bac(GtdbMetadata):
"""The bacterial metadata (release 207)."""
source = 'https://data.gtdb.ecogenomic.org/releases/release207/207.0/bac120_metadata_r207.tar.gz'
path = os.path.join(MAGNA_DIR, 'dataset', 'gtdb', 'metadata', 'bac120_metadata_r207.feather')
md5 = 'fb1911b5aa12c098fd25387c4296b157'
md5 = 'f46495420129e04010288321110b15eb'

def __init__(self):
super().__init__(self.source, self.path, self.md5)
Expand Down
20 changes: 20 additions & 0 deletions magna/gtdb/tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,3 +81,23 @@ class GtdbTreeR202Bac(GtdbTree):

def __init__(self):
super().__init__(self.source, self.path, self.md5)


class GtdbTreeR207Arc(GtdbTree):
"""The GTDB archaeal tree (release 207)."""
source = 'https://data.gtdb.ecogenomic.org/releases/release207/207.0/ar53_r207.tree'
path = os.path.join(MAGNA_DIR, 'dataset', 'gtdb', 'tree', 'ar53_r207.tree')
md5 = 'e6e493882a067e18d1d6fd50be89c047'

def __init__(self):
super().__init__(self.source, self.path, self.md5)


class GtdbTreeR207Bac(GtdbTree):
"""The GTDB bacterial tree (release 207)."""
source = 'https://data.gtdb.ecogenomic.org/releases/release207/207.0/bac120_r207.tree'
path = os.path.join(MAGNA_DIR, 'dataset', 'gtdb', 'tree', 'bac120_r207.tree')
md5 = '12fab8ba201d200aada9c8d61dafda4b'

def __init__(self):
super().__init__(self.source, self.path, self.md5)

0 comments on commit 24b2377

Please sign in to comment.