Skip to content

Commit

Permalink
v1.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinggerm committed Apr 14, 2021
1 parent ea3c2c8 commit 174998f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions GetOrganelleLib/pipe_control_func.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,16 +316,16 @@ def build_bowtie2_db(seed_file, seed_index_base, which_bowtie2, target_echo_name
else:
sys.stdout.write(this_command + "\n")
output, err = building.communicate()
if "unrecognized option" in output.decode("utf8"):
this_command = os.path.join(which_bowtie2, "bowtie2-build") + " --seed " + str(random_seed) + \
" " + seed_file + " " + seed_index_base
building = subprocess.Popen(this_command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True)
if not silent and verbose_log:
if log_handler:
log_handler.info(this_command)
else:
sys.stdout.write(this_command + "\n")
output, err = building.communicate()
# if "unrecognized option" in output.decode("utf8"):
# this_command = os.path.join(which_bowtie2, "bowtie2-build") + " --seed " + str(random_seed) + \
# " " + seed_file + " " + seed_index_base
# building = subprocess.Popen(this_command, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True)
# if not silent and verbose_log:
# if log_handler:
# log_handler.info(this_command)
# else:
# sys.stdout.write(this_command + "\n")
# output, err = building.communicate()
if "(ERR)" in output.decode("utf8") or "Error:" in output.decode("utf8"):
if log_handler:
log_handler.error('\n' + output.decode("utf8"))
Expand Down
4 changes: 2 additions & 2 deletions GetOrganelleLib/versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ def get_versions():
"6. optparse -> argparse (in response to Matthias Bernt@UFZ)",
"7. get_organelle_from_assembly.py: fix a bug with the malfunction of --continue when the input is gfa ",
"8. get_organelle_from_reads.py/disentangle_organelle_assembly.py: correct typos",
"9. pipe_control_func.py: map_with_bowtie2: warn reads integrity",
"9. pipe_control_func.py: map_with_bowtie2: warn reads integrity; build_bowtie2_db: rm small index",
"10. get_organelle_config.py: verbose log for bowtie2 and blast",
],
"time": "2021-04-09 14:00 UTC+8"
"time": "2021-04-14 17:52 UTC+8"
},
{
"number": "1.7.4-pre2",
Expand Down

0 comments on commit 174998f

Please sign in to comment.