Skip to content

Commit

Permalink
Update cherry.py
Browse files Browse the repository at this point in the history
  • Loading branch information
KennthShang committed Nov 25, 2024
1 parent a7a52e6 commit c6eb07e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/phabox2/cherry.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def run(inputs):
SeqIO.write(total_rec, f"{rootpth}/{midfolder}/CRISPRs.fa", 'fasta')
run_command(f"cp {rootpth}/{midfolder}/CRISPRs.fa {rootpth}/{out_dir}/{supplementary}/CRISPRs_MAGs.fa")
check_path(os.path.join(rootpth, midfolder, 'crispr_db'))
run_command(f'makeblastdb -in {rootpth}/{midfolder}/CRISPRs.fa -dbtype nucl -parse_seqids -out {rootpth}/{midfolder}/crispr_db/magCRISPR > /dev/null 2>&1')
run_command(f'makeblastdb -in {rootpth}/{midfolder}/CRISPRs.fa -dbtype nucl -parse_seqids -out {rootpth}/{midfolder}/crispr_db/magCRISPRs > /dev/null 2>&1')


logger.info(f"[3/{jy}] predicting MAG CRISPRs...")
Expand Down

0 comments on commit c6eb07e

Please sign in to comment.