Skip to content

Commit

Permalink
expanding the busco lineage by _odb10 if needed, fragile, will need t…
Browse files Browse the repository at this point in the history
…o be adapted to odb11 once those busco lineages are released
  • Loading branch information
KatharinaHoff committed Feb 15, 2024
1 parent d5757b6 commit e42b335
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/compleasm_to_hints.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ def main():
# check whether provided compleasm is executable
if not os.access(args.compleasm, os.X_OK):
raise FileNotFoundError("compleasm is not executable")

# check whether the database has the ending odb_10, if not, add it
if not args.database.endswith("_odb10"):
args.database = args.database + "_odb10"

# apply compleasm to genome file with run_subprocess and the database
if args.scratch_dir is None:
Expand Down

0 comments on commit e42b335

Please sign in to comment.