Skip to content

Commit

Permalink
Merge pull request #182 from polio-nanopore/phylo-mods
Browse files Browse the repository at this point in the history
Phylo mods
  • Loading branch information
aineniamh authored Nov 5, 2023
2 parents 02017ea + de5bb61 commit 37f3f0e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,12 @@ The phylogenetic pipeline is activated by running with the flag `-rp/--run-phylo

If you supply a path to the `-sd,--supplementary-datadir` for the phylogenetics module, you have the option of updating this data directory with the new consesnsus sequences generated during the piranaha analysis. If you run with the `-ud,--update-local-database` flag, piranha will write out the new sequences and any accompanying metadata supplied into the directory provided.

The files written out will be in the format `runname.today.fasta` and `runname.today.csv`. For example, if your runname supplied is `MIN001` and today's date is `2023-11-05`, the files written will be:
- `MIN001.2023-11-05.fasta`
- `MIN001.2023-11-05.csv`
with the newly generated consensus sequences and accompanying metadata from that run.

> *Note:* if supplying the supplementary directory to piranha on a subsequent run, your updated local database will be included in the phylogenetics. However, piranha will ignore any files with identical `runname.today` patterns to the active run. So, if your current run would produce files called `MIN001.2023-11-05.fasta` and `MIN001.2023-11-05.csv`, if those files already exist in the supplementary data directory, they will be ignored. This is to avoid conflicts if piranha is run multiple times on the same data.
## Output options

Expand Down
2 changes: 1 addition & 1 deletion piranha/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
_program = "piranha"
__version__ = "1.1.2"
__version__ = "1.2"

__all__ = [
"input_parsing",
Expand Down

0 comments on commit 37f3f0e

Please sign in to comment.