Git Product home page Git Product logo

phylosub's People

Contributors

jwintersinger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

phylosub's Issues

Warnings when compiling C++ code (data type mismatch)

When running the following command I get warnings preventing me from compiling:

$ g++ -o mh.o mh.cpp util.cpp gsl-config --cflags --libs
mh.cpp: In function ‘int main(int, char*)’:
mh.cpp:42: warning: deprecated conversion from string constant to ‘char

mh.cpp:48: warning: deprecated conversion from string constant to ‘char*’

I suggest that the following changes should be made:

In mh.hpp and mh.cpp, change the data type of function argument fname from "char fname[]" to "const char* fname", as shown below:

void load_tree(const char* fname, struct node nodes[]);
void write_params(const char* fname, struct node nodes[], struct config conf);

This should fix the error.

Output file

Hi,

Thank you very much for developing this tool!

I did run phylosub successully and it generate the output files, one of which is the top_k_trees. Are those trees order by probability or equally likely?
Another question is what "phi" exactly means in the output?

Thanks,

Pascal

error on compiling phylosub

Hi,
I’m attempting to compile phylosub and get this error:

mh.cpp:38:20: error: variable length array of non-POD element type
'struct datum'
struct datum data[conf.NDATA];
^
mh.cpp:43:20: error: variable length array of non-POD element type 'struct node'
struct node nodes[conf.NNODES];

Any ideas?

KR

Matthew

input file format? example?

Hi, thanks for sharing your nice tool! I was wondering if you could give an example of file input or a description of the data.txt input file. I could not find it in the Wiki/README.
Thanks!

problem with generating the partial order plot for the trees

Hi!
I tried to run Phylosub, but there was a problem.
I used sample data set, and the 1st command
(python evolve.py 'data.txt' 'trees' 'top_k_trees' 'clonal_frequencies' 'llh_trace' 100 100 1) was working.
However, the 2nd command
(python porder.py 'trees' 'data.txt' 'partial_order.pdf') was not working.
This is the error message
" ImportError: /usr/local/lib/liblapack.so: undefined symbol: slamch_ " (lapack-3.5.0)
I found out that there were other many undefined symbols.
I tried several ways to solve the problem, but it was not working.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.