From 3013fb6a337cfa03a53c9fa255dcf87d5898e908 Mon Sep 17 00:00:00 2001 From: luis Date: Tue, 6 Nov 2018 17:20:05 +0100 Subject: [PATCH] fixing 1 mixing change in number of threads =1 --- taranis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taranis.py b/taranis.py index 91623c4..3091c0a 100755 --- a/taranis.py +++ b/taranis.py @@ -393,7 +393,7 @@ def nucleotide_to_protein_aligment (sample_seq, query_seq ) : def get_alignment_for_indels (blast_db_name, qseq) : #match_alignment =[] - cline = NcbiblastnCommandline(db=blast_db_name, evalue=0.001, perc_identity = 80, outfmt= 5, max_target_seqs=10, max_hsps=10,num_threads=3) + cline = NcbiblastnCommandline(db=blast_db_name, evalue=0.001, perc_identity = 80, outfmt= 5, max_target_seqs=10, max_hsps=10,num_threads=1) out, err = cline(stdin = qseq) psiblast_xml = StringIO(out) blast_records = NCBIXML.parse(psiblast_xml)