BnpC
BnpC copied to clipboard
how can I generate tree file
according to the readme, BnpC can generate a output tree file (did I misunderstand?) but when I run this: run_BnpC.py snp.input.txt -tr test.gv
I got error like below, it seems that BnpC is trying to read "test.gv":
Traceback (most recent call last):
File "BnpC/run_BnpC.py", line 296, in
BnpC does not infer the tree structure (see also (this issue)[https://github.com/cbg-ethz/BnpC/issues/18]).
The option --tr
takes the (simulated) tree used for data generation and colors the tree nodes according to the inferred clusters.
Putting it as an output argument might be misleading: I moved it to the input arguments.
Hi NBMueller Thanks for your quick response! Yea, moving it to the input arguments will be better. and also, thanks for providing me the information about generating a tree file from third part (which is actually what I wanted). now, can I use a tree file generated from third part (say CellPhy as you mentioned) for the argument --tr ?
the -tr
argument takes an existing mutation tree (nodes are mutations) in graphviz format and colors the nodes according to the identified clusters.
Cellphy infers a cell lineage tree (nodes are cells), due to the different tree representation it cannot be colored with BnpC. infScite infers the mutation tree, it should work with its output tree therefore.