pyani icon indicating copy to clipboard operation
pyani copied to clipboard

Running --graphics after analysis

Open artfet opened this issue 1 year ago • 1 comments
trafficstars

I have run pyani, without specifying the --graphics option, which led to me not having a graphical output to my analysis. I dont want to rerun the whole analysis, but only generate the graophical output.

I have already stumbled upon this thread: https://github.com/widdowquinn/pyani/issues/15

and this response: https://github.com/widdowquinn/pyani/issues/15#issuecomment-203480553

however, if I try to perform my analysis like this: average_nucleotide_identity.py --skip_nucmer --skip_blastn -i PATH_input -o PATH_with previous_results --noclobber -g --gformat png,pdf,eps

I receive this error: ERROR: Output directory /home/[...]/Results would overwrite existing files (exiting)

If I use a new folder name for the --output location, the analysis starts completely from anew.

pyani Version:

pyani 0.2.12 Ubuntu 22.04.4 LTS

artfet avatar Apr 19 '24 13:04 artfet

Hi @artfet - you'll need the --force option as well, as in the example from @peterjc - pyani/average_nucleotide_identity.py -i . -o demo --graphics --skip_nucmer --force --noclobber

You might want to back up the original output before you try it, just in case ;)

L.

widdowquinn avatar Apr 19 '24 14:04 widdowquinn