phyml icon indicating copy to clipboard operation
phyml copied to clipboard

-q (--sequential) option seems to be not working

Open annahake opened this issue 5 years ago • 7 comments

Hi, I use phyml Version 3.3.20190321 (from bioconda) from the command line. When I start phyml with a sequential alignment file like your example file and with the option -q or --sequential, the program starts with Command line: phyml -i primatesNT.phy -m GTR --sequential end never finishes or actually starts running or giving any error code. If I change the format to interleaved everything works.

annahake avatar Jun 18 '19 09:06 annahake

Indeed... The github version works fine with the --sequential and -q options but the bioconda one seems to fail miserably... Maybe @epruesse has an idea?

stephaneguindon avatar Jun 18 '19 11:06 stephaneguindon

No clue... what does the option do?

@annahake You could try running gdb --args phyml.... and then run in the prompt gdb opens and then after a while press Ctrl-C to get back into the debugger and then see with bt command where in the code it is. Repeat for sampling.

epruesse avatar Jun 18 '19 18:06 epruesse

--sequential aka -q set the value of io->interleaved to NO (the default being YES). PhyML then calls Read_Seq_Interleaved(io) (in case io->interleaved == YES) or Read_Seq_Sequential(io) (when io->interleaved == NO). Those two functions have been here forever and I don't imagine there could be any serious issue with them. I'm perplexed...

stephaneguindon avatar Jun 20 '19 09:06 stephaneguindon

Can you reproduce it?

epruesse avatar Jun 21 '19 01:06 epruesse

And, is this osx or linux or both?

epruesse avatar Jun 21 '19 01:06 epruesse

I was able to reproduce the bug on ubuntu 18.04. I haven't tried any other architecture.

stephaneguindon avatar Jun 21 '19 08:06 stephaneguindon

I tested it also on a linux machine.

annahake avatar Jun 24 '19 06:06 annahake