Skip to content

Commit

Permalink
feat(gunc): Updated GUNC paths.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmussig committed Mar 17, 2022
1 parent 5d0e84f commit 8306b31
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions magna/gunc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@

def gunc_max_css_scores_gtdb_r95() -> pd.DataFrame:
"""Return the max clade separation score (CSS) for the R95 GTDB."""
path = os.path.join(MAGNA_DIR, 'dataset', 'gunc', 'GUNC.gtdb_95.maxCSS_level.feather')
path = os.path.join(MAGNA_DIR, 'gunc', 'gtdb_95.maxcss_level.feather')
if not os.path.isfile(path):
raise IOError(f'{path} does not exist.')
return pd.read_feather(path)


def gunc_contig_assignment_gtdb_r95() -> pd.DataFrame:
"""Return the contig assignment for the R95 GTDB."""
path = os.path.join(MAGNA_DIR, 'dataset', 'gunc', 'GUNC.gtdb_95.contig_assignments.feather')
path = os.path.join(MAGNA_DIR,'gunc', 'GUNC.gtdb_95.contig_assignments.feather')
if not os.path.isfile(path):
raise IOError(f'{path} does not exist.')
return pd.read_feather(path)


def gunc_all_levels_gtdb_r95() -> pd.DataFrame:
"""Return GUNC output at all levels for the R95 GTDB."""
path = os.path.join(MAGNA_DIR, 'dataset', 'gunc', 'gtdb_95.all_levels.feather')
path = os.path.join(MAGNA_DIR, 'gunc', 'gtdb_95.all_levels.feather')
if not os.path.isfile(path):
raise IOError(f'{path} does not exist.')
return pd.read_feather(path)
Expand Down

0 comments on commit 8306b31

Please sign in to comment.