Code Monkey home page Code Monkey logo

disvis's People

Contributors

amjjbonvin avatar latrocinia avatar mtrellet avatar rbedi avatar rvhonorato avatar schaarj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

disvis's Issues

Typo in main.py

Dear disvis maintainers,

I have found a typo in the main.py script, line 411. Here it says except Queue.Empty, which should read mp.Queue.Empty.

Regards, Henk

double occupancies cause disvis to fail with misleading error

Specifying residues with multiple occupancies e.g.

ATOM      5  CA AARG A   1  ...
ATOM      6  CA BARG A   1  ...

in the interaction analysis causes Disvis to fail with following error:

ValueError: Some selected residues where not found in the PDB file. Please check your input residues.

This should probably either not fail at all or fail with a more specific error message.

visualization

Hi developer,

wonder how to generate figure 1 in your paper? Any script to do that? Thanks!

Visualization of highly accessed residues

Provide either documentation or a script to visualize the AIC score in molecular visualization software. E.g. put numbers in BFactor column and visualize using spectrum.

numpy1.7 deprecation warning when building docker image

refer to:
https://github.com/indigo-dc/ansible-role-disvis-powerfit/blob/master/dockers/docker-disvis/Dockerfile

I get this when building the docker image, don't know if it will affect later when running

building 'disvis.libdisvis' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/src
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-MW0004/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/lib/python2.7/dist-packages/numpy/core/include -I/usr/include/python2.7 -c src/libdisvis.c -o build/temp.linux-x86_64-2.7/src/libdisvis.o -ffast-math
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarraytypes.h:1809:0,
from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:18,
from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
from src/libdisvis.c:283:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:15:2: warning: #warning "Using deprecated NumPy API, disable it by " "#defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp]
#warning "Using deprecated NumPy API, disable it by "
^~~~~~~
In file included from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/ndarrayobject.h:27:0,
from /usr/lib/python2.7/dist-packages/numpy/core/include/numpy/arrayobject.h:4,
from src/libdisvis.c:283:
/usr/lib/python2.7/dist-packages/numpy/core/include/numpy/__multiarray_api.h:1453:1: warning: '_import_array' defined but not used [-Wunused-function]
_import_array(void)
^~~~~~~~~~~~~

Inconsistent use of tabs and spaces in indentation

Hi,

I got TabErrors:

  File "/home/almara/anaconda3/envs/disvis/lib/python3.10/site-packages/disvis-2.0.0-py3.10-linux-x86_64.egg/disvis/IO/mrc.py", line 84
    self._header['xstart'] = raw_header[49]
TabError: inconsistent use of tabs and spaces in indentation
File "/home/almara/anaconda3/envs/disvis/lib/python3.10/site-packages/disvis-2.0.0-py3.10-linux-x86_64.egg/disvis/IO/mrc.py", line 157
    else:
TabError: inconsistent use of tabs and spaces in indentation

The identations of lines 84-86 as well as 157-158 in the file disvis/IO/mrc.py are different to the rest of the file.

Thanks
A

Possibly getting info about the size of a violation (and not only the fraction of models in which it is violated)

Currently we learn about the how often a given restraint is violated, but have no info by how much.
A small violation (in terms of distance) might not be a big deal considering we are doing rigid body sampling.

An idea would be to analyse the set of models consistent with the largest possible number of restraints (i.e. not the total number of restraints) - this would be the value of N for which we still find acceptable models. For those models, we could then calculate the average distance violation for all restraints. This would this tell us by how much on average a distance is violated, and would allow to prioritise them for removal - a large violation should be more likely a real false positive than a small violation.

Error when compiling

Hi,

I'm getting the following errors when compiling

src/_extensions.c:193:5: error: implicit declaration of function 'PyArray_XDECREF_ERR' is invalid in C99 [-Werror,-Wimplicit-function-declaration] PyArray_XDECREF_ERR(py_out);

src/_extensions.c:208:12: error: implicit declaration of function 'Py_InitModule' is invalid in C99 [-Werror,-Wimplicit-function-declaration] (void) Py_InitModule("_extensions", mymethods);

I am compiling on a M1 Mac running OS 12.6 (Monterey) using python 3.9.

Any assistance resolving this issue would be appreciated.

Cheers,
Mike

Percentage completion

Would be nice to add back the reporting of the percentage of space already searched or remaining in disvis3 as for the previous version. Tells us what to expect as running time.

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.