Skip to content

Commit

Permalink
Removed plicas
Browse files Browse the repository at this point in the history
  • Loading branch information
iquasere committed Jan 8, 2021
1 parent 6dfb7ba commit 2a63755
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions recognizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,10 +379,9 @@ def main():
for db_group in database_groups:
# run annotation with rps-blast and database
timed_message('Running annotation with RPS-BLAST and {} database as reference.'.format(db_group[0]))
'''
run_rpsblast(args.file, '{}/{}_aligned.blast'.format(args.output, db_group[0]), ' '.join(db_group[1]),
threads=args.threads, max_target_seqs=args.max_target_seqs)
'''

if inputted_db:
exit()

Expand Down Expand Up @@ -452,7 +451,7 @@ def main():
).reset_index().rename(columns={0: 'count'})
cog_quantification.to_excel('{}/COG_quantification.xlsx'.format(args.output))
cog_quantification[['count'] + cog_quantification.columns.tolist()[:-1]].to_csv(
'{}/COG_quantification.tsv'.format(args.output), sep='\t')
'{}/COG_quantification.tsv'.format(args.output), sep='\t', index=False, header=None)
create_krona_plot('{}/krona.tsv'.format(args.output), '{}/cog_quantification.html'.format(args.output))

cols += blast_cols
Expand Down

0 comments on commit 2a63755

Please sign in to comment.