Skip to content

Commit

Permalink
Masking: show absolute paths of masked genome & index on completion
Browse files Browse the repository at this point in the history
  • Loading branch information
bede committed Jan 11, 2024
1 parent d19490a commit a9e9799
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ docker build . --platform linux/amd64
```bash
git clone https://github.com/bede/hostile.git
cd hostile
conda env create -f environment.yml
conda env create -y -f environment.yml
conda activate hostile
pip install --editable '.[dev]'
pytest
Expand Down
4 changes: 2 additions & 2 deletions src/hostile/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,10 +405,10 @@ def mask(
f"{n_masked_alignments} k-mers aligned after masking ({n_alignments} aligned before masking)"
)
logging.info(
f"Masked genome path (for use with long reads / Minimap2): {masked_ref_path}"
f"Masked genome path (for use with long reads / Minimap2): {masked_ref_path.resolve()}"
)
logging.info(
f"Masked Bowtie2 index path (for use with short reads): {masked_ref_index_path}"
f"Masked Bowtie2 index path (for use with short reads): {masked_ref_index_path.resolve()} (multiple files)"
)

return masked_ref_path, n_alignments, n_masked_alignments
Expand Down

0 comments on commit a9e9799

Please sign in to comment.