Skip to content

Commit

Permalink
fix(PFAM/TIGRFAM): Adjust columns in tophit file, fix data type.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmussig committed May 5, 2022
1 parent 62387d7 commit c63fc52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions magna/pfam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ def read_pfam_tophit(path: str) -> pd.DataFrame:
"""
dtype = {
'seq_id': object,
'pfam_acc': object,
'marker': object,
'e_value': np.float64,
'bit_score': np.uintc,
'bit_score': np.float64,
}
lines = list()
with open(path, 'r') as f:
Expand Down
4 changes: 2 additions & 2 deletions magna/tigrfam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ def read_tigrfam_tophit(path: str) -> pd.DataFrame:
"""
dtype = {
'seq_id': object,
'pfam_acc': object,
'marker': object,
'e_value': np.float64,
'bit_score': np.uintc,
'bit_score': np.float64,
}
lines = list()
with open(path, 'r') as f:
Expand Down

0 comments on commit c63fc52

Please sign in to comment.