Closed subwaystation closed 1 year ago
Both the script and the binary are from today's master.
Please use the "ng" branch. It's close to being released. We will probably push to main some time next week. Also, if you call visualize_growth.py
, make sure to pipe the output into a file, e.g. "> growth.pdf".
I gave it another try using the ng
branch and now the following command is just stuck and I have to type q
to end it. Control + C
did have no effect:
python3 ~/software/panacus/git/master/scripts/visualize_growth.py chrM.hprc-v1.0-pggb.og.histgrowth.tsv > chrM.hprc-v1.0-pggb.og.histgrowth.tsv.pdf
I did the following to generate the file:
panacus histgrowth -c bps chrM.hprc-v1.0-pggb.gfa > chrM.hprc-v1.0-pggb.og.histgrowth.tsv
Would I need to use another subcommand?
You also removed the possibility to run several iterations of growth. Was this your intention?
I gave it another try using the
ng
branch and now the following command is just stuck and I have to typeq
to end it.Control + C
did have no effect:python3 ~/software/panacus/git/master/scripts/visualize_growth.py chrM.hprc-v1.0-pggb.og.histgrowth.tsv > chrM.hprc-v1.0-pggb.og.histgrowth.tsv.pdf
Are you running the latest version?
I did the following to generate the file:
panacus histgrowth -c bps chrM.hprc-v1.0-pggb.gfa > chrM.hprc-v1.0-pggb.og.histgrowth.tsv
Would I need to use another subcommand?
That's the right command!
You also removed the possibility to run several iterations of growth. Was this your intention?
Yes. We compute the growth curve exactly, so no need to sample. And we are faster doing so :)
I gave it another try using the
ng
branch and now the following command is just stuck and I have to typeq
to end it.Control + C
did have no effect:python3 ~/software/panacus/git/master/scripts/visualize_growth.py chrM.hprc-v1.0-pggb.og.histgrowth.tsv > chrM.hprc-v1.0-pggb.og.histgrowth.tsv.pdf
Are you running the latest version?
I did the following to generate the file:
panacus histgrowth -c bps chrM.hprc-v1.0-pggb.gfa > chrM.hprc-v1.0-pggb.og.histgrowth.tsv
Would I need to use another subcommand?
That's the right command!
I am using
commit 96776f697b989643056e107d9fba52d10c422653 (HEAD -> ng, origin/ng)
Author: lucaparmigiani <luca.parmigiani@studenti.univr.it>
Date: Wed May 10 11:45:17 2023 +0200
intersection and coverage with rug integers
I gave it another try using the
ng
branch and now the following command is just stuck and I have to typeq
to end it.Control + C
did have no effect:python3 ~/software/panacus/git/master/scripts/visualize_growth.py chrM.hprc-v1.0-pggb.og.histgrowth.tsv > chrM.hprc-v1.0-pggb.og.histgrowth.tsv.pdf
Are you running the latest version?
I did the following to generate the file:
panacus histgrowth -c bps chrM.hprc-v1.0-pggb.gfa > chrM.hprc-v1.0-pggb.og.histgrowth.tsv
Would I need to use another subcommand?
That's the right command!
I am using
commit 96776f697b989643056e107d9fba52d10c422653 (HEAD -> ng, origin/ng) Author: lucaparmigiani <luca.parmigiani@studenti.univr.it> Date: Wed May 10 11:45:17 2023 +0200 intersection and coverage with rug integers
Yeah, this is not the latest version. It's no on d77b72d. Please update.
I gave it another try using the
ng
branch and now the following command is just stuck and I have to typeq
to end it.Control + C
did have no effect:python3 ~/software/panacus/git/master/scripts/visualize_growth.py chrM.hprc-v1.0-pggb.og.histgrowth.tsv > chrM.hprc-v1.0-pggb.og.histgrowth.tsv.pdf
Are you running the latest version?
I did the following to generate the file:
panacus histgrowth -c bps chrM.hprc-v1.0-pggb.gfa > chrM.hprc-v1.0-pggb.og.histgrowth.tsv
Would I need to use another subcommand?
That's the right command!
I am using
commit 96776f697b989643056e107d9fba52d10c422653 (HEAD -> ng, origin/ng) Author: lucaparmigiani <luca.parmigiani@studenti.univr.it> Date: Wed May 10 11:45:17 2023 +0200 intersection and coverage with rug integers
Yeah, this is not the latest version. It's no on d77b72d. Please update.
No need to re-run panacus, just re-run the visualization script.
Alright, I am here
commit d77b72d7bbe2837f831e0cc0445c57fcfab8996f (HEAD -> ng, origin/ng)
Author: Dany Doerr <daniel.doerr@hhu.de>
Date: Wed May 10 14:21:38 2023 +0200
improve visualization
And I ran
panacus histgrowth -c bps chrM.hprc-v1.0-pggb.gfa > chrM.hprc-v1.0-pggb.og.histgrowth.tsv
python3 ~/software/panacus/git/master/scripts/visualize_growth.py chrM.hprc-v1.0-pggb.og.histgrowth.tsv > chrM.hprc-v1.0-pggb.og.histgrowth.tsv.pdf
Which gives me
Input file "chrM.hprc-v1.0-pggb.og.histgrowth.tsv" has wrong header. It doesn't seem to be generated by panacus, exiting.
Doing all steps from scratch inclusively a fresh clone on my local machine, it worked. Thanks!
Edit: There was indeed a bug within the header of the TSV. It worked only works when you execute via ./target/release/panacus
, but fails when using a symlink running directly panacus
. A fix is incoming I was told ;)
Fixed version is now committed.
Hi @danydoerr,
I tried to visualize my pangenome-growth output with your Python script, however, I ran into the following problem:
chrM.hprc-v1.0-pggb.og.pangenome-growth_r100.txt
Thanks for any tips!