Skip to content

Commit

Permalink
TypeError: expected str, bytes or os.PathLike object, not int
Browse files Browse the repository at this point in the history
  • Loading branch information
rvosa committed Aug 16, 2024
1 parent fed5c25 commit 3cad849
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions barcode_validator/taxonomy.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ def run_localblast(sequence, tree):

# Run BLASTN
subprocess.run(['blastn',
'-db', config.get('blast_db'),
'-num_threads', config.get('num_threads'),
'-evalue', config.get('evalue'),
'-max_target_seqs', config.get('max_target_seqs'),
'-word_size', config.get('word_size'),
'-db', str(config.get('blast_db')),
'-num_threads', str(config.get('num_threads')),
'-evalue', str(config.get('evalue')),
'-max_target_seqs', str(config.get('max_target_seqs')),
'-word_size', str(config.get('word_size')),
'-query', temp_input_name,
'-task', 'megablast',
'-outfmt', "6 qseqid sseqid pident length qstart qend sstart send evalue bitscore staxids",
Expand Down

0 comments on commit 3cad849

Please sign in to comment.