kingsfordgroup / armatus

BSD 2-Clause "Simplified" License
25 stars 10 forks source link

Armatus 2.1 example #4

Closed latkins closed 8 years ago

latkins commented 8 years ago

I am probably doing something wrong, but I can't get the example "clustering1.gz" to work with the Armatus 2.1 binary.

lpa24:~/dev/util/armatus/examples$ armatus -i clustering1.gz -g 1 -o test -m -r 40000
Multiresoultion ensemble will be written to files
Reading input from clustering1.gz.
N/A at resolution 40000bp
terminate called after throwing an instance of 'std::invalid_argument'
  what():  stod
Aborted

I have tried to follow the format of the example given in the readme, but clearly something is not right. I have tried a number of variations on the above, none of which seem to work.

kingsfordgroup commented 8 years ago

Hi,

I think the issue is that Armatus is expecting a matrix without any labels on the rows, but clustering1.gz has row labels. If you remove the row labels, Armatus runs without error. We’ll have to update the readme, etc. Thanks for pointing this out.

Carl

On Nov 19, 2015, at 5:51 AM, Liam Atkinson notifications@github.com wrote:

I am probably doing something wrong, but I can't get the example "clustering1.gz" to work with the Armatus 2.1 binary.

lpa24:~/dev/util/armatus/examples$ armatus -i clustering1.gz -g 1 -o test -m -r 40000 Multiresoultion ensemble will be written to files Reading input from clustering1.gz. N/A at resolution 40000bp terminate called after throwing an instance of 'std::invalid_argument' what(): stod Aborted I have tried to follow the format of the example given in the readme, but clearly something is not right. I have tried a number of variations on the above, none of which seem to work.

— Reply to this email directly or view it on GitHub https://github.com/kingsfordgroup/armatus/issues/4.

latkins commented 8 years ago

That seems to have been the issue. Thanks!