GithubHelp home page GithubHelp logo

satoken / dafs Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 2.45 MB

dual decomposition for aligning and folding RNA sequences simultaneously

License: GNU General Public License v3.0

C++ 74.00% C 24.64% Dockerfile 0.18% CMake 1.17%

dafs's People

Contributors

satoken avatar

Watchers

 avatar

dafs's Issues

dafscnn error

facing dafscnn error
screenshot from 2018-12-07 18-11-17
screenshot from 2018-12-07 18-42-05

tried running on different machine, but same error coming of dafscnn not found

Failed to build Docker image out of the Dockerfile in the repository

I tried to build a Docker image (docker build -t dafs .) from the master branch, but there is an error during DAFS compilation:

(...)
[ 65%] Building CXX object src/CMakeFiles/dafs.dir/dafs.cpp.o
/workspaces/src/dafs.cpp:59:10: fatal error: cxxopts.hpp: No such file or directory
   59 | #include "cxxopts.hpp"
      |          ^~~~~~~~~~~~~
compilation terminated.
make[2]: *** [src/CMakeFiles/dafs.dir/build.make:121: src/CMakeFiles/dafs.dir/dafs.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:177: src/CMakeFiles/dafs.dir/all] Error 2
make: *** [Makefile:149: all] Error 2

Add support for ViennaRNA 2.1.x

I recently tried compiling dafs on Arch Linux, but ran into issues during compilation. The issues appear to be caused by missing variables, etc. that are no longer defined in ViennaRNA 2.1.x.

Is there any possibility of updating dafs to support more recent versions of ViennaRNA?

commands:

./configure --prefix=/usr --with-vienna-rna=/usr/include/ViennaRNA --with-glpk

# https://github.com/SIPp/sipp/issues/61
touch configure.ac aclocal.m4 configure Makefile.am Makefile.in

make CXXFLAGS="-Wall -O2 -fpermissive" CFLAGS="$CFLAGS -I/usr/include/ViennaRNA" PREFIX=/usr

output:

...
alifold.cpp: In member function ‘float Alifold::energy_of_struct(const ALN&, const std::vector<Fasta>&, const string&, float&) const’:
alifold.cpp:140:79: warning: invalid conversion from ‘char**’ to ‘const char**’ [-fpermissive]
   float min_en = Vienna::energy_of_alistruct(seqs, str.c_str(), N, &cv_temp[0]);
                                                                               ^
In file included from alifold.cpp:30:0:
/usr/include/ViennaRNA/alifold.h:148:9: note:   initializing argument 1 of ‘float Vienna::energy_of_alistruct(const char**, const char*, int, float*)’
 float   energy_of_alistruct(const char **sequences,
         ^
mv -f .deps/alifold.Tpo .deps/alifold.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/include/ViennaRNA/include -DWITH_GLPK -D_FORTIFY_SOURCE=2 -I/usr/include  -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I/usr/include/ViennaRNA -MT boltzmann_param.o -MD -MP -MF .deps/boltzmann_param.Tpo -c -o boltzmann_param.o boltzmann_param.c
boltzmann_param.c: In function ‘copy_MLparams’:
boltzmann_param.c:5981:3: error: ‘TerminalAU’ undeclared (first use in this function)
   TerminalAU = values[3];
   ^
boltzmann_param.c:5981:3: note: each undeclared identifier is reported only once for each function it appears in
boltzmann_param.c: In function ‘copy_ninio’:
boltzmann_param.c:5990:3: error: ‘F_ninio37’ undeclared (first use in this function)
   F_ninio37[2] = values[0];
   ^
boltzmann_param.c: In function ‘copy_Tetra_loop’:
boltzmann_param.c:6004:5: error: ‘TETRA_ENERGY37’ undeclared (first use in this function)
     TETRA_ENERGY37[i] = tl[i].e;
     ^
Makefile:419: recipe for target 'boltzmann_param.o' failed
make[3]: *** [boltzmann_param.o] Error 1
make[3]: Leaving directory '/home/keith/Dropbox/linux/AUR/dafs-git/src/dafs/src'
Makefile:453: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/keith/Dropbox/linux/AUR/dafs-git/src/dafs/src'
Makefile:355: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/keith/Dropbox/linux/AUR/dafs-git/src/dafs'
Makefile:295: recipe for target 'all' failed
make: *** [all] Error 2

System information

  • Linux 4.1.5 64-bit
  • gcc 5.2.0
  • glpk 4.55
  • ViennaRNA 2.1.9

Error in making the dafs file

there is error when i am trying to configure and make,
Can you tell what is the configuration of the computer needed to run the make file of dafs

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.