hiclib/pastis

Install/running problem- ./MDS.sh: 1: ./MDS.sh: MDS_all: not found

Opened this issue · 9 comments

Hi,

I used python setup.py install --user to install the package on Unix. But I failed to run the examples. It gave me either
./MDS.sh: 1: ./MDS.sh: MDS_all: not found
or
pastis-mds: error: unrecognized arguments: -o -w 8 -r 10000 -k ./files/budding_yeast_structure -i ./wish_distances.txt -d -1 -c 1,2,3,4,5 -y 1

Any idea why? Do I need to install MDS_all and PM_all separately from the python package?

Thanks in advance.

Han

Hi @hanfu-bios
The recent releases do not use the compiled code "MDS_all" and "PM_all" anymore. There are several reasons why the code would still give errors. Do you mind answering the couple following questions?

  1. Where did you download the code from? It may be an old tarball.
  2. Did you have a previous installation of Pastis?

Many thanks,

Hi @hanfu-bios
I don't know what I did wrong, but the latest released tag on github does not correspond to the latest release, hence the problem… I'm investigating what happened right now, but in the mean time, can you update with this tarball? https://github.com/hiclib/pastis/archive/v0.3.0.zip
Thanks

Let me take a couple of hours to investigate what's going on on a fresh install.

I believe that the now latest release should fix the problem. I broke the pip one though…
https://github.com/hiclib/pastis/releases/tag/v0.3.1

Let me know if this doesn't work, and I'm terribly sorry about all of these troubles. I apparently broke my packaging recently…

After a lot of fighting with packaging, I finally fixed all of the issues. if you reinstall or upgrade via pip, it should work ("pip install --upgrade"). Check that it downloads the 0.3.3 release, which I just released a couple of minutes ago, and it should be ok. It is possible that it takes a couple of hours for the servers to propagate this new release. Let me know if any other problems arise!

Nelle, thank you so much for your efforts! I can run the example right now, but I still have problems running my own data. I have attached my input files here. The error was

File "/Users/hanfu/.local/lib/python3.6/site-packages/pastis/externals/iced/filter.py", line 63, in filter_low_counts verbose=verbose) File "/Users/hanfu/.local/lib/python3.6/site-packages/pastis/externals/iced/filter.py", line 174, in _filter_low_sum X[X_sum < x, :] = np.nan ValueError: cannot convert float NaN to integer

Can you please help me by looking into this error?

Thanks a lot!