Skip to content

Commit

Permalink
Update PYTHONPATH to append to existing variable (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
lcoombe authored Jun 7, 2022
1 parent dc1df6b commit 7148031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ntLink
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ gzip=gzip -f
endif

# Set-up PYTHON PATH
PYTHONPATH=$(ntlink_path)/src/btllib/install/lib/btllib/python
PYTHONPATH_ntlink=$(ntlink_path)/src/btllib/install/lib/btllib/python:$(PYTHONPATH)

help:
@echo ""
Expand Down Expand Up @@ -220,6 +220,6 @@ clean: abyss_scaffold
rm -f $(prefix).n*.abyss-scaffold.path $(prefix).n*.abyss-scaffold.path.sterr

$(target).k$(k).w$(w).z$(z).ntLink.scaffolds.gap_fill.fa: $(target) $(prefix).n$(n).scaffold.dot $(prefix).trimmed_scafs.fa
PYTHONPATH=$(PYTHONPATH) $(ntLink_time) $(ntlink_path)/bin/ntlink_patch_gaps.py --path $(prefix).trimmed_scafs.path \
PYTHONPATH=$(PYTHONPATH_ntlink) $(ntLink_time) $(ntlink_path)/bin/ntlink_patch_gaps.py --path $(prefix).trimmed_scafs.path \
--mappings $(prefix).verbose_mapping.tsv -s $< --reads $(reads) -o $@ --large_k $(k) --min_gap 1 \
--trims $(prefix).trimmed_scafs.tsv -k $(gap_k) -w $(gap_w)

0 comments on commit 7148031

Please sign in to comment.