Skip to content

Commit

Permalink
make sseqid str
Browse files Browse the repository at this point in the history
  • Loading branch information
xinehc committed Aug 24, 2023
1 parent 1a6a853 commit d465b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/args_oap/stage_two.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def merge_files(self):
Join extracted target sequences with metadata and structures. Aggregate according to levels (type/subtype/gene).
'''
logger.info('Merging files ...')
df = pd.read_table(self._blastout, header=None, names=settings.cols)
df = pd.read_table(self._blastout, header=None, names=settings.cols, dtype={'sseqid':str})
if len(df)==0:
logger.critical('No target sequence detected in <{}>, no further normalization will be made.'.format(self._extracted))
sys.exit(2)
Expand Down

0 comments on commit d465b84

Please sign in to comment.