Giter Site home page Giter Site logo

dssp's People

Contributors

drlemmus avatar mhekkel avatar stephenturner avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dssp's Issues

error when running cmake --build . --config Release

Hi there,

I'm having difficulty in installing the dspp package -- I've installed boost 1.78 and libcif++ from source code and the issue I've having seems like to be related to the failure of linking zlib and bzip2 to dssp and boost. Please find the error message below:

CMakeFiles/mkdssp.dir/src/mkdssp.cpp.o: In function d_main(int, char const**)': mkdssp.cpp:(.text+0x1aed): undefined reference to boost::iostreams::zlib::default_strategy'
mkdssp.cpp:(.text+0x1af3): undefined reference to boost::iostreams::zlib::deflated' mkdssp.cpp:(.text+0x1af9): undefined reference to boost::iostreams::zlib::default_compression'
CMakeFiles/mkdssp.dir/src/mkdssp.cpp.o: In function boost::iostreams::basic_gzip_compressor<std::allocator<char> >::basic_gzip_compressor(boost::iostreams::gzip_params const&, long)': mkdssp.cpp:(.text._ZN5boost9iostreams21basic_gzip_compressorISaIcEEC2ERKNS0_11gzip_paramsEl[_ZN5boost9iostreams21basic_gzip_compressorISaIcEEC5ERKNS0_11gzip_paramsEl]+0x1a7): undefined reference to boost::iostreams::zlib::best_compression'
mkdssp.cpp:(.text._ZN5boost9iostreams21basic_gzip_compressorISaIcEEC2ERKNS0_11gzip_paramsEl[_ZN5boost9iostreams21basic_gzip_compressorISaIcEEC5ERKNS0_11gzip_paramsEl]+0x1c6): undefined reference to boost::iostreams::zlib::best_speed' CMakeFiles/mkdssp.dir/src/mkdssp.cpp.o: In function boost::iostreams::detail::zlib_compressor_impl<std::allocator >::zlib_compressor_impl(boost::iostreams::zlib_params const&)':
mkdssp.cpp:(.text._ZN5boost9iostreams6detail20zlib_compressor_implISaIcEEC2ERKNS0_11zlib_paramsE[_ZN5boost9iostreams6detail20zlib_compressor_implISaIcEEC5ERKNS0_11zlib_paramsE]+0x19): undefined reference to boost::iostreams::detail::zlib_base::zlib_base()' mkdssp.cpp:(.text._ZN5boost9iostreams6detail20zlib_compressor_implISaIcEEC2ERKNS0_11zlib_paramsE[_ZN5boost9iostreams6detail20zlib_compressor_implISaIcEEC5ERKNS0_11zlib_paramsE]+0x5e): undefined reference to boost::iostreams::detail::zlib_base::~zlib_base()'
CMakeFiles/mkdssp.dir/src/mkdssp.cpp.o: In function boost::iostreams::detail::zlib_compressor_impl<std::allocator<char> >::~zlib_compressor_impl()': mkdssp.cpp:(.text._ZN5boost9iostreams6detail20zlib_compressor_implISaIcEED2Ev[_ZN5boost9iostreams6detail20zlib_compressor_implISaIcEED5Ev]+0x1e): undefined reference to boost::iostreams::detail::zlib_base::reset(bool, bool)'
mkdssp.cpp:(.text._ZN5boost9iostreams6detail20zlib_compressor_implISaIcEED2Ev[_ZN5boost9iostreams6detail20zlib_compressor_implISaIcEED5Ev]+0x36): undefined reference to boost::iostreams::detail::zlib_base::~zlib_base()' CMakeFiles/mkdssp.dir/src/mkdssp.cpp.o: In function void boost::iostreams::detail::zlib_base::init<std::allocator >(boost::iostreams::zlib_params const&, bool, boost::iostreams::detail::zlib_allocator<std::allocator, boost::iostreams::detail::zlib_allocator_traits<std::allocator >::type>&)':
mkdssp.cpp:(.text._ZN5boost9iostreams6detail9zlib_base4initISaIcEEEvRKNS0_11zlib_paramsEbRNS1_14zlib_allocatorIT_NS1_21zlib_allocator_traitsIS9_E4typeEEE[_ZN5boost9iostreams6detail9zlib_base4initISaIcEEEvRKNS0_11zlib_paramsEbRNS1_14zlib_allocatorIT_NS1_21zlib_allocator_traitsIS9_E4typeEEE]+0x5f): undefined reference to boost::iostreams::detail::zlib_base::do_init(boost::iostreams::zlib_params const&, bool, void* (*)(void*, unsigned int, unsigned int), void (*)(void*, void*), void*)' CMakeFiles/mkdssp.dir/src/mkdssp.cpp.o: In function boost::iostreams::detail::zlib_compressor_impl<std::allocator >::filter(char const*&, char const*, char*&, char*, bool)':
mkdssp.cpp:(.text._ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE6filterERPKcS6_RPcS8_b[_ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE6filterERPKcS6_RPcS8_b]+0x3d): undefined reference to boost::iostreams::detail::zlib_base::before(char const*&, char const*, char*&, char*)' mkdssp.cpp:(.text._ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE6filterERPKcS6_RPcS8_b[_ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE6filterERPKcS6_RPcS8_b]+0x4d): undefined reference to boost::iostreams::zlib::finish'
mkdssp.cpp:(.text._ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE6filterERPKcS6_RPcS8_b[_ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE6filterERPKcS6_RPcS8_b]+0x55): undefined reference to boost::iostreams::zlib::no_flush' mkdssp.cpp:(.text._ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE6filterERPKcS6_RPcS8_b[_ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE6filterERPKcS6_RPcS8_b]+0x5f): undefined reference to boost::iostreams::detail::zlib_base::xdeflate(int)'
mkdssp.cpp:(.text._ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE6filterERPKcS6_RPcS8_b[_ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE6filterERPKcS6_RPcS8_b]+0x7b): undefined reference to boost::iostreams::detail::zlib_base::after(char const*&, char*&, bool)' mkdssp.cpp:(.text._ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE6filterERPKcS6_RPcS8_b[_ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE6filterERPKcS6_RPcS8_b]+0x85): undefined reference to boost::iostreams::zlib_error::check(int)'
mkdssp.cpp:(.text._ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE6filterERPKcS6_RPcS8_b[_ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE6filterERPKcS6_RPcS8_b]+0x8b): undefined reference to boost::iostreams::zlib::stream_end' CMakeFiles/mkdssp.dir/src/mkdssp.cpp.o: In function boost::iostreams::detail::zlib_compressor_impl<std::allocator >::close()':
mkdssp.cpp:(.text._ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE5closeEv[_ZN5boost9iostreams6detail20zlib_compressor_implISaIcEE5closeEv]+0x1e): undefined reference to boost::iostreams::detail::zlib_base::reset(bool, bool)' /home/chengeng/.local/lib/libcifpp.a(Cif++.cpp.o): In function cif::File::save(std::filesystem::__cxx11::path const&)':
Cif++.cpp:(.text+0x124e3): undefined reference to boost::iostreams::zlib::default_strategy' Cif++.cpp:(.text+0x124ec): undefined reference to boost::iostreams::zlib::deflated'
Cif++.cpp:(.text+0x124f5): undefined reference to boost::iostreams::zlib::default_compression' /home/chengeng/.local/lib/libcifpp.a(Cif++.cpp.o): In function boost::iostreams::gzip_error::gzip_error(int)':
Cif++.cpp:(.text._ZN5boost9iostreams10gzip_errorC2Ei[_ZN5boost9iostreams10gzip_errorC5Ei]+0x69): undefined reference to boost::iostreams::zlib::okay' /home/chengeng/.local/lib/libcifpp.a(Cif++.cpp.o): In function boost::iostreams::detail::gzip_header::gzip_header()':
Cif++.cpp:(.text._ZN5boost9iostreams6detail11gzip_headerC2Ev[_ZN5boost9iostreams6detail11gzip_headerC5Ev]+0x31): undefined reference to boost::iostreams::detail::gzip_header::reset()' /home/chengeng/.local/lib/libcifpp.a(Cif++.cpp.o): In function boost::iostreams::detail::gzip_footer::gzip_footer()':
Cif++.cpp:(.text._ZN5boost9iostreams6detail11gzip_footerC2Ev[_ZN5boost9iostreams6detail11gzip_footerC5Ev]+0x14): undefined reference to boost::iostreams::detail::gzip_footer::reset()' /home/chengeng/.local/lib/libcifpp.a(Cif++.cpp.o): In function boost::iostreams::basic_gzip_decompressor<std::allocator >::make_params(int)':
Cif++.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE11make_paramsEi[_ZN5boost9iostreams23basic_gzip_decompressorISaIcEE11make_paramsEi]+0x68): undefined reference to boost::iostreams::zlib::default_strategy' Cif++.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE11make_paramsEi[_ZN5boost9iostreams23basic_gzip_decompressorISaIcEE11make_paramsEi]+0x71): undefined reference to boost::iostreams::zlib::deflated'
Cif++.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE11make_paramsEi[_ZN5boost9iostreams23basic_gzip_decompressorISaIcEE11make_paramsEi]+0x7a): undefined reference to boost::iostreams::zlib::default_compression' /home/chengeng/.local/lib/libcifpp.a(Cif++.cpp.o): In function boost::iostreams::detail::zlib_decompressor_impl<std::allocator >::zlib_decompressor_impl(boost::iostreams::zlib_params const&)':
Cif++.cpp:(.text._ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEEC2ERKNS0_11zlib_paramsE[_ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEEC5ERKNS0_11zlib_paramsE]+0x19): undefined reference to boost::iostreams::detail::zlib_base::zlib_base()' Cif++.cpp:(.text._ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEEC2ERKNS0_11zlib_paramsE[_ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEEC5ERKNS0_11zlib_paramsE]+0x66): undefined reference to boost::iostreams::detail::zlib_base::~zlib_base()'
/home/chengeng/.local/lib/libcifpp.a(Cif++.cpp.o): In function boost::iostreams::detail::zlib_decompressor_impl<std::allocator<char> >::~zlib_decompressor_impl()': Cif++.cpp:(.text._ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEED2Ev[_ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEED5Ev]+0x1e): undefined reference to boost::iostreams::detail::zlib_base::reset(bool, bool)'
Cif++.cpp:(.text._ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEED2Ev[_ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEED5Ev]+0x36): undefined reference to boost::iostreams::detail::zlib_base::~zlib_base()' /home/chengeng/.local/lib/libcifpp.a(Cif++.cpp.o): In function long boost::iostreams::basic_gzip_decompressor<std::allocator >::write<boost::iostreams::detail::linked_streambuf<char, std::char_traits > >(boost::iostreams::detail::linked_streambuf<char, std::char_traits >&, char const*, long)':
Cif++.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE5writeINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_PKcl[_ZN5boost9iostreams23basic_gzip_decompressorISaIcEE5writeINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_PKcl]+0x67): undefined reference to boost::iostreams::detail::gzip_header::reset()' Cif++.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE5writeINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_PKcl[_ZN5boost9iostreams23basic_gzip_decompressorISaIcEE5writeINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_PKcl]+0x77): undefined reference to boost::iostreams::detail::gzip_footer::reset()'
Cif++.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE5writeINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_PKcl[_ZN5boost9iostreams23basic_gzip_decompressorISaIcEE5writeINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_PKcl]+0xba): undefined reference to boost::iostreams::detail::gzip_header::process(char)' Cif++.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE5writeINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_PKcl[_ZN5boost9iostreams23basic_gzip_decompressorISaIcEE5writeINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_PKcl]+0x20b): undefined reference to boost::iostreams::detail::gzip_footer::process(char)'
/home/chengeng/.local/lib/libcifpp.a(Cif++.cpp.o): In function boost::iostreams::detail::zlib_decompressor_impl<std::allocator<char> >::filter(char const*&, char const*, char*&, char*, bool)': Cif++.cpp:(.text._ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE6filterERPKcS6_RPcS8_b[_ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE6filterERPKcS6_RPcS8_b]+0x3d): undefined reference to boost::iostreams::detail::zlib_base::before(char const*&, char const*, char*&, char*)'
Cif++.cpp:(.text._ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE6filterERPKcS6_RPcS8_b[_ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE6filterERPKcS6_RPcS8_b]+0x48): undefined reference to boost::iostreams::zlib::sync_flush' Cif++.cpp:(.text._ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE6filterERPKcS6_RPcS8_b[_ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE6filterERPKcS6_RPcS8_b]+0x54): undefined reference to boost::iostreams::detail::zlib_base::xinflate(int)'
Cif++.cpp:(.text._ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE6filterERPKcS6_RPcS8_b[_ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE6filterERPKcS6_RPcS8_b]+0x70): undefined reference to boost::iostreams::detail::zlib_base::after(char const*&, char*&, bool)' Cif++.cpp:(.text._ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE6filterERPKcS6_RPcS8_b[_ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE6filterERPKcS6_RPcS8_b]+0x7a): undefined reference to boost::iostreams::zlib_error::check(int)'
Cif++.cpp:(.text._ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE6filterERPKcS6_RPcS8_b[_ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE6filterERPKcS6_RPcS8_b]+0x81): undefined reference to boost::iostreams::zlib::stream_end' /home/chengeng/.local/lib/libcifpp.a(Cif++.cpp.o): In function boost::iostreams::detail::zlib_decompressor_impl<std::allocator >::close()':
Cif++.cpp:(.text._ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE5closeEv[_ZN5boost9iostreams6detail22zlib_decompressor_implISaIcEE5closeEv]+0x26): undefined reference to boost::iostreams::detail::zlib_base::reset(bool, bool)' /home/chengeng/.local/lib/libcifpp.a(Cif++.cpp.o): In function long boost::iostreams::basic_gzip_decompressor<std::allocator >::read<boost::iostreams::detail::linked_streambuf<char, std::char_traits > >(boost::iostreams::detail::linked_streambuf<char, std::char_traits >&, char*, long)':
Cif++.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl[_ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl]+0xc4): undefined reference to boost::iostreams::detail::gzip_header::reset()' Cif++.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl[_ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl]+0xd7): undefined reference to boost::iostreams::detail::gzip_footer::reset()'
Cif++.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl[_ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl]+0x160): undefined reference to boost::iostreams::detail::gzip_header::process(char)' Cif++.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl[_ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl]+0x2dd): undefined reference to boost::iostreams::detail::gzip_footer::process(char)'
Cif++.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl[_ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl]+0x3d1): undefined reference to boost::iostreams::detail::gzip_header::reset()' Cif++.cpp:(.text._ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl[_ZN5boost9iostreams23basic_gzip_decompressorISaIcEE4readINS0_6detail16linked_streambufIcSt11char_traitsIcEEEEElRT_Pcl]+0x3e4): undefined reference to boost::iostreams::detail::gzip_footer::reset()'
/home/chengeng/.local/lib/libcifpp.a(Structure.cpp.o): In function mmcif::FileImpl::save(std::filesystem::__cxx11::path const&)': Structure.cpp:(.text+0xeec): undefined reference to boost::iostreams::zlib::default_strategy'
Structure.cpp:(.text+0xef5): undefined reference to boost::iostreams::zlib::deflated' Structure.cpp:(.text+0xefe): undefined reference to boost::iostreams::zlib::default_compression'
collect2: error: ld returned 1 exit status
CMakeFiles/mkdssp.dir/build.make:117: recipe for target 'mkdssp' failed
make[2]: *** [mkdssp] Error 1
CMakeFiles/Makefile2:814: recipe for target 'CMakeFiles/mkdssp.dir/all' failed
make[1]: *** [CMakeFiles/mkdssp.dir/all] Error 2
Makefile:145: recipe for target 'all' failed
make: *** [all] Error 2


I've tried multiple approaches but had zero success.

  1. install zlib and bzip2 using sudo apt-get install libbz2-dev zlib1g-dev, compile boost then compile dssp -- doesn't work

  2. compile boost including flags such as -sZLIB_INCLUDE=xyz in order to specify the path of zlib/bzip2 for boost then compile dssp -- doesn't work

  3. have zlib and bzip2 package files ready and/or specify their path (e.g. using zlib : 1.2.10 : /home/chengeng/Downloads/zlib-1.2.10 ;) in the user-config.jam file so that they can be built by boost before compiling dssp -- doesn't work

  4. install zlib and bzip2 packages from source code in the default path and/or specify their path (e.g. using zlib : 1.2.10 : /usr/local/include /usr/local/lib ;) in the user-config.jam file so that they can be built by boost before compiling dssp -- doesn't work

In this case, could you help me with installation? My OS is Ubuntu 18.04 and I'm using gcc 10. I would really appreciate it if you could tell me the version of zlib, bzip2 and boost you are using when you compile this dssp package. Many thanks!

AlphaFold pdb files fail with "Expected record CRYST1 but found ATOM"

This error is generated by AlphaFold predicted structures, which do not have a CRYST1 record. IMHO this is overly stringent, should be a warning or not checked at all. I realize I can work around this by inserting a fake CRYST1 record, but this is very expensive for high-throughput applications, I'm dealing with 10^5 or 10^6 structures per batch.

I tried to fix this myself but got stuck trying to build libcifpp, I was unable to resolve this error:

CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)

I tried installing zlib through apt (on Ubuntu) and also downloading and re-building from the zlib source then setting environment variables ZLIB_LIBRARY and ZLIB_INCLUDE_DIR, without success.

Large structures and extra columns in DSSP file

Hi,

mostly we refer to pre-computed DSSP files, e.g., via
rsync -avz --delete rsync://rsync.cmbi.umcn.nl/dssp-from-mmcif/ /path_to_dssp/
from the DSSP website.

For a pipeline working with MD simulation data, we need to compute DSSP files on our own and are therefore using your software. Now we stumbled over two things:

  1. The DSSP files we create with your software do not contain the extra columns introduced for large structures / mmCIF, such as CHAIN and AUTHCHAIN. Is it possible to get these extra colums? I have not found an option in the help.
  2. Your software seems not to be able to create DSSP files for large structures. It worked well when annotating the mmCIF, but when run with the option to create a DSSP file, chains with IDs of more than two characters are ignored. Interestingly, it seems that your software uses the PDB-style chain IDs (A..ZZZZ) instead of the author-given chain IDs (arbitrary) for this, even though author-given chain IDs are written to the DSSP file in the end. That would mean that your software only can correctly process up to 24 chains (A..Z).

Hope to hear from you. I also want to quickly thank for your last answer regarding the standalone version. We are still trying to compile it due to some errors and the issue was then already closed, but your answer really helped us.

Best wishes
Niclas

compile error

i'm using docker.
i want to install in my container.

"""
when i installed mrc , i encountered error

./configure
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++17 features with -std=c++17... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for boostlib >= 1.65.1 (106501)... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether the Boost::Program_Options library is available... yes
checking for main in -lboost_program_options... yes
checking how to run the C++ preprocessor... g++ -std=c++17 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking elf.h usability... yes
checking elf.h presence... yes
checking for elf.h... yes
checking filesystem usability... no
checking filesystem presence... no
checking for filesystem... no
configure: error: The file is missing, perhaps you should install a more recent libstdc++ implementation.
"""

env
"""
clang --version
clang version 10.0.0
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /clang_10/bin

gcc --version
gcc (Ubuntu 9.3.0-11ubuntu0~18.04.1) 9.3.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.

make --version
GNU Make 4.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

"""

how can i solve it ?
i need your help !

thanks !

Exception: DSSP failed to produce an output

Hi!

I used a simple test script to check if dssp works well, as below:

class Test_Dssp():
def init(self):
self.parser = Bio.PDB.PDBParser()

def test_dssp(self, inputfile, pdbname):
    structure = self.parser.get_structure(pdbname,inputfile)
    for model in structure:
        dssp = DSSP(model,inputfile, dssp='/MAPATH/mambaforge/envs/Geopacker01/bin/dssp')
        print(type(dssp))

if name == "main":
inputfile = '/MYPATH/example/3MPC_A.pdb'
pdbname = '3MPC'
if 1:
Test = Test_Dssp()
Test.test_dssp(inputfile, pdbname)
else:
dssp_tuple = dssp_dict_from_pdb_file(inputfile)
dssp_dict = dssp_tuple[0]
print(dssp_dict['A',(' ', 1, ' ')])

And the error occured:

UserWarning: /MYPATHi/mambaforge/envs/Geopacker01/bin/mkdssp: symbol lookup error: /MYPATH/mambaforge/envs/Geopacker01/bin/mkdssp: undefined symbol: _ZNK5boost15program_options22error_with_option_name23substitute_placeholdersERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE

warnings.warn(err)
Traceback (most recent call last):
File "my_scripts/test_dssp.py", line 26, in
Test.test_dssp(inputfile, pdbname)
File "my_scripts/test_dssp.py", line 18, in test_dssp
dssp = DSSP(model,inputfile, dssp='/MYPATH/mambaforge/envs/Geopacker01/bin/mkdssp')
File "MYPATH/mambaforge/envs/Geopacker01/lib/python3.6/site-packages/Bio/PDB/DSSP.py", line 438, in init
dssp_dict, dssp_keys = dssp_dict_from_pdb_file(in_file, dssp)
File "/MYPATH/mambaforge/envs/Geopacker01/lib/python3.6/site-packages/Bio/PDB/DSSP.py", line 254, in dssp_dict_from_pdb_file
raise Exception("DSSP failed to produce an output")
Exception: DSSP failed to produce an output

It's almost the simplest case, I don't know why this error.

The dssp is installed by "conda install -c salilab dssp", while the version is 3.0.0

The version of biopython is 1.79.

PDB input: parse error at line 1: This file does not seem to be an mmCIF file

Thanks for the outstanding work, I am new to the dssp!

I used the following command to process a PDB file:
/usr/local/bin/mkdssp ./xxx.pdb ./xxx.dssp

However, I got the following error:
parse error at line 1: This file does not seem to be an mmCIF file

Could you please help with the correct command for PDB inputs please?

Problem during cmake --build . --config Release on OS X

I ran into an error during the installation under macOS Big Sur (11.6.1).
Would be nice If you could help me with this, as I'm really looking forward to use your package :)

cmake --build . --config Release 
[ 16%] Building CXX object CMakeFiles/mkdssp.dir/src/dssp.cpp.o
[ 33%] Building CXX object CMakeFiles/mkdssp.dir/src/mkdssp.cpp.o
[ 50%] Linking CXX executable mkdssp
[ 50%] Built target mkdssp
[ 66%] Building CXX object CMakeFiles/unit-test.dir/test/unit-test.cpp.o
/Users/<>/dssp/test/unit-test.cpp:108:12: error: 'datablock' is a private member of 'mmcif::Structure'
        structure.datablock()["software"].erase("name"_key == "dssp");
                  ^
/usr/local/include/cif++/Structure.hpp:529:18: note: declared private here
        cif::Datablock &datablock() const;
                        ^
/Users/<>/dssp/test/unit-test.cpp:109:5: error: 'datablock' is a private member of 'mmcif::Structure'
        rs.datablock()["software"].erase("name"_key == "dssp");
           ^
/usr/local/include/cif++/Structure.hpp:529:18: note: declared private here
        cif::Datablock &datablock() const;
                        ^
/Users/till/dssp/test/unit-test.cpp:114:24: error: 'datablock' is a private member of 'mmcif::Structure'
        BOOST_CHECK(structure.datablock() == rs.datablock());
                              ^
/usr/local/include/cif++/Structure.hpp:529:18: note: declared private here
        cif::Datablock &datablock() const;
                        ^
/Users/<>/dssp/test/unit-test.cpp:114:42: error: 'datablock' is a private member of 'mmcif::Structure'
        BOOST_CHECK(structure.datablock() == rs.datablock());
                                                ^
/usr/local/include/cif++/Structure.hpp:529:18: note: declared private here
        cif::Datablock &datablock() const;
                        ^
4 errors generated.
make[2]: *** [CMakeFiles/unit-test.dir/test/unit-test.cpp.o] Error 1
make[1]: *** [CMakeFiles/unit-test.dir/all] Error 2
make: *** [all] Error 2

Heap buffer overflow in dssp.cpp

There is a heap overflow bug in dssp.cpp:

If stop == True then since bool stop = t == dssp.end(); it means that t == dssp.end() and therefore accessing t->ss() will cause a heap buffer overflow.

I think the solution is to move:

if (stop)
  break;

above the if (lastSS != t->ss()) check:

if (stop) {
  break;
}

if (lastSS != t->ss()) {
  st = t;
  lastSS = t->ss();
}

issue with certain PDBs

Great program. Thanks for your efforts and work.

The code goes awry with some standard PDBs like 7rkf.pdb . The problem is with the dihedral calculation where it calculates the phi, psi's as 360, 360 for a bunch of residues (especially in Chain R) Any standard program like Pymol shows the residues in this chain as a helix - implying that pymol managed to compute the dihedrals correctly.

Correcting this error can hugely increase the utility of this program.

libz not found

I've been trying to DSSP program on Ubuntu 20.04, when I run the configure file I get an error saying
configure: error: libz not found - compressed files not supported.
I tried to install libz using the command sudo apt-get install -y libz-dev for which I get the following response:
Note, selecting 'zlib1g-dev' instead of 'libz-dev' zlib1g-dev is already the newest version (1:1.2.11.dfsg-2ubuntu1.2)
When the problem still persisted, i installed libz from source from here, but the problem still persists. Could anyone please help me? I am new to linux so please give responses that are a little noob friendly with distinct commands.

Thanks in advance.

dssp is only returned for the first chain_id in a .cif model

I just reported this as an issue in biopython here: biopython/biopython#3505
but after looking closer at it, I think it might actually be an issue in dssp rather than biopython.

The issue is that when I run the dssp on the file: '2mys.cif', which contains 3 chain_ids 'A','B','C' then I only get the dssp results from the first chain_id, 'A', but not for the other two chains, which I believe I should be getting.

The structure can be found here:
https://www.rcsb.org/structure/2MYS

fatal: your current branch 'master' does not have any commits yet

I got this error after run "make"
Is there anything that I miss? I already have install the libcif++

make
fatal: your current branch 'master' does not have any commits yet
fatal: your current branch 'master' does not have any commits yet

src/mkdssp.cpp
src/mkdssp.cpp: In function ‘int d_main(int, const char**)’:
src/mkdssp.cpp:532:8: error: ‘addFileResource’ is not a member of ‘cif’
532 | cif::addFileResource("components.cif", vm["compounds"].asstd::string());
| ^~~~~~~~~~~~~~~
src/mkdssp.cpp:534:8: error: ‘addFileResource’ is not a member of ‘cif’
534 | cif::addFileResource("components.cif", vm["components"].asstd::string());
| ^~~~~~~~~~~~~~~
src/mkdssp.cpp:542:8: error: ‘addFileResource’ is not a member of ‘cif’
542 | cif::addFileResource("mmcif_pdbx_v50.dic", vm["mmcif-dictionary"].asstd::string());
| ^~~~~~~~~~~~~~~
src/mkdssp.cpp: At global scope:
src/mkdssp.cpp:638:1: fatal error: opening dependency file obj/mkdssp.d: Permission denied
638 | }
| ^
compilation terminated.
make: *** [GNUmakefile:97: obj/mkdssp.o] Error 1

README has typo in clone command

Very minor issue, but figured I'd point it out anyway. In the installation commands, the repository name has a typo in it—should be 'PDB', not 'PBD'.

Thank you for the excellent software.

Error linking mkdssp and unit-test

Hello, I just cloned out the latest version (4.0.6). As I follow the instructions in the README, this happens:

$ cmake --build . --config Release

Scanning dependencies of target unit-test
[ 16%] Building CXX object CMakeFiles/unit-test.dir/test/unit-test.cpp.o
[ 33%] Building CXX object CMakeFiles/unit-test.dir/src/dssp.cpp.o
[ 50%] Linking CXX executable unit-test
/usr/bin/ld: CMakeFiles/unit-test.dir/test/unit-test.cpp.o: relocation R_X86_64_32 against symbol `typeinfo for std::exception@@GLIBCXX_3.4' can not be used when making a PDE object; recompile with -fPIE
/usr/bin/ld: CMakeFiles/unit-test.dir/src/dssp.cpp.o: relocation R_X86_64_32 against symbol `__gxx_personality_v0@@CXXABI_1.3' can not be used when making a PDE object; recompile with -fPIE
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/unit-test.dir/build.make:103: unit-test] Error 1
make[1]: *** [CMakeFiles/Makefile2:106: CMakeFiles/unit-test.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

It says I must recompile with -fPIE, but how do I make the makefile do that?

"configure: error: libcif++ not found"

System: "Ubuntu 20.04.1 LTS"
Thank you for sharing this program. Unfortunately I am having problems installing it. Could you help me?
I installed mrc and libcif++ but my the dssp configuration has trouble finding this libcif++ install.

(base) jarek@jrk:~/Documents/dssp$ sudo ./configure
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++17 features with -std=c++17... yes
checking whether C++ compiler accepts -fstandalone-debug... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /usr/bin/sed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for mrc... /usr/local/bin/mrc
checking how to run the C++ preprocessor... g++ -std=c++17 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking filesystem usability... yes
checking filesystem presence... yes
checking for filesystem... yes
checking for boostlib >= 1.65.1 (106501)... yes
checking whether the Boost::IOStreams library is available... yes
checking for exit in -lboost_iostreams... yes
checking whether the Boost::Program_Options library is available... yes
checking for exit in -lboost_program_options... yes
checking whether the Boost::Date_Time library is available... yes
checking for exit in -lboost_date_time... yes
checking whether the Boost::Regex library is available... yes
checking for exit in -lboost_regex... yes
checking need to link zlib... no
checking need to link bzip2... no
checking cif++/Cif++.hpp usability... yes
checking cif++/Cif++.hpp presence... yes
checking for cif++/Cif++.hpp... yes
checking for cif++/Cif++.hpp... (cached) yes
checking for main in -lcifpp... no
configure: error: libcif++ not found

The installation of libcif++ seemed successful:

./configure
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++17 features with -std=c++17... yes
checking whether C++ compiler accepts -fstandalone-debug... no
checking how to run the C++ preprocessor... g++ -std=c++17 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking filesystem usability... yes
checking filesystem presence... yes
checking for filesystem... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /usr/bin/sed
checking how to run the C preprocessor... gcc -E
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking for gawk... gawk
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++ -std=c++17 -E
checking for ld used by g++ -std=c++17... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ -std=c++17 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ -std=c++17 option to produce PIC... -fPIC -DPIC
checking if g++ -std=c++17 PIC flag -fPIC -DPIC works... yes
checking if g++ -std=c++17 static flag -static works... yes
checking if g++ -std=c++17 supports -c -o file.o... yes
checking if g++ -std=c++17 supports -c -o file.o... (cached) yes
checking whether the g++ -std=c++17 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for mrc... /usr/local/bin/mrc
checking for filesystem... (cached) yes
checking for floor... yes
checking for pow... yes
checking for rint... yes
checking for sqrt... yes
checking for strchr... yes
checking for strerror... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
checking for ptrdiff_t... yes
checking whether make sets $(MAKE)... yes
checking for boostlib >= 1.71 (107100)... yes
checking whether the Boost::IOStreams library is available... yes
checking for exit in -lboost_iostreams... yes
checking whether the Boost::Date_Time library is available... yes
checking for exit in -lboost_date_time... yes
checking whether the Boost::Regex library is available... yes
checking for exit in -lboost_regex... yes
checking need to link zlib... no
checking need to link bzip2... no
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating libcifpp.pc
config.status: creating tools/update-dictionary-script
config.status: creating src/Config.hpp
config.status: executing libtool commands
(base) jarek@jrk:~/Documents/libcifpp$ make
mkdir -p obj
>> src/AtomType.cpp
>> src/BondMap.cpp
>> src/Cif2PDB.cpp
>> src/Cif++.cpp
>> src/CifParser.cpp
rm -f version-info-*.txt
>> src/CifUtils.cpp
>> src/CifValidator.cpp
>> src/Compound.cpp
>> src/PDB2Cif.cpp
>> src/PDB2CifRemark3.cpp
>> src/Point.cpp
>> src/Secondary.cpp
>> src/Structure.cpp
>> src/Symmetry.cpp
>> src/TlsParser.cpp
/bin/sh /home/jarek/Documents/libcifpp/libtool --silent --tag=CXX --mode=link g++ -std=c++17 -I/usr/include -g -O2 -pthread -Wall -Wno-multichar -I include -O2 -DCACHE_DIR='"/var/cache/libcifpp"' -DDATA_DIR='"/usr/local/share/libcifpp"' -DUSE_RSRC=1 -DNDEBUG -L/usr/lib/x86_64-linux-gnu -lz -lbz2 -version-info 1:1:1 -o libcifpp.la -rpath /usr/local/lib obj/AtomType.lo obj/BondMap.lo obj/Cif2PDB.lo obj/Cif++.lo obj/CifParser.lo obj/CifUtils.lo obj/CifValidator.lo obj/Compound.lo obj/PDB2Cif.lo obj/PDB2CifRemark3.lo obj/Point.lo obj/Secondary.lo obj/Structure.lo obj/Symmetry.lo obj/TlsParser.lo -lboost_iostreams -lboost_date_time -lboost_regex -lz -lbz2
(base) jarek@jrk:~/Documents/libcifpp$ sudo make install
mkdir -p data
wget -O data/components.cif.gz ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif.gz
--2021-05-21 15:04:31--  ftp://ftp.wwpdb.org/pub/pdb/data/monomers/components.cif.gz
           => ‘data/components.cif.gz’
Resolving ftp.wwpdb.org (ftp.wwpdb.org)... 128.6.158.66
Connecting to ftp.wwpdb.org (ftp.wwpdb.org)|128.6.158.66|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/pdb/data/monomers ... done.
==> SIZE components.cif.gz ... 78506636
==> PASV ... done.    ==> RETR components.cif.gz ... done.
Length: 78506636 (75M) (unauthoritative)

components.cif.gz                         100%[====================================================================================>]  74,87M  1,30MB/s    in 59s     

2021-05-21 15:05:32 (1,27 MB/s) - ‘data/components.cif.gz’ saved [78506636]

install -d /usr/local/share/libcifpp
install -m644 data/components.cif.gz /usr/local/share/libcifpp/
install -d /usr/local/lib
/bin/sh /home/jarek/Documents/libcifpp/libtool --mode=install install libcifpp.la /usr/local/lib
libtool: install: install .libs/libcifpp.lai /usr/local/lib/libcifpp.la
libtool: install: install .libs/libcifpp.a /usr/local/lib/libcifpp.a
libtool: install: chmod 644 /usr/local/lib/libcifpp.a
libtool: install: ranlib /usr/local/lib/libcifpp.a
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
install -d /usr/local/share/libcifpp
for d in mmcif_ddl.dic mmcif_pdbx_v50.dic; do \
        install -m644 rsrc/$d /usr/local/share/libcifpp; \
        gzip -f /usr/local/share/libcifpp/$d; \
done
install -d /var/cache/libcifpp
install -d /etc/cron.weekly
if [ ! -f /etc/libcifpp.conf ] ; then \
        echo "# Uncomment the next line to enable automatic updates" > /etc/libcifpp.conf; \
        echo "# update=true" >> /etc/libcifpp.conf; \
        echo ""; \
        echo "Update the /etc/libcifpp.conf file to enable automatic updates"; \
        echo ""; \
fi
install -m755 tools/update-dictionary-script /etc/cron.weekly/libcifpp
install -d /usr/local/include/cif++
for f in AtomType.hpp BondMap.hpp CifParser.hpp Compound.hpp PDB2CifRemark3.hpp Structure.hpp Cif2PDB.hpp CifUtils.hpp Point.hpp Symmetry.hpp Cif++.hpp CifValidator.hpp PDB2Cif.hpp Secondary.hpp TlsParser.hpp; do install include/cif++/$f /usr/local/include/cif++/$f; done
install -d /usr/local/lib/pkgconfig
install -m 644 libcifpp.pc /usr/local/lib/pkgconfig/libcifpp.pc

Do you have a suggestion on how to install the dssp?
Kind regards,
Jarek

DSSP within gromacs do_dssp wrapper function

Dear Developer,
Recently, I have installed dssp under ubuntu version 18 and the dssp program works fine as a stand alone version but if I call the function within the gromacs do_dssp wrapper function, it fails to execute the command and after a prolonged time , there is no output generated by the system.
There is no way I could figure out where the issue is from, could you please help me to fix it.
Regards,
Nataraj

Compatibility with Concoord

Hi, thanks for maintaining dssp!

I recently tried to use dssp with Concoord, but no version from 2. until 4. worked. Older versions of dssp have been shown to have worked, but those are not available anymore.
I just wanted to ask if you happened to know what could cause this.
Dssp 2.2.1 I found on Debian, at least told me it was a bad lexical cast. Every other version just told me "empty protein, or no valid complete residues".

Using any dssp as a standalone worked perfectly fine.

Many thanks
Tom Unterleiter

DSSP issue with building

Hi, Thanks for your work. I am trying to install dssp and ran into a problem.

The configuration is file ./configure --with-cif++=/home/yy/libcifpp

However, when I build with make I get the following error:
/usr/local/bin/mrc -o obj/mkdssp_rsrc.o /home/yy/libcifpp/rsrc/mmcif_pdbx_v50.dic
/usr/local/bin/mrc: error while loading shared libraries: libboost_program_options.so.1.66.0: cannot open shared object file: No such file or directory
make: *** [GNUmakefile:139: obj/mkdssp_rsrc.o] Error 127

Would you be able to help?
Thanks!

DSSP visualization tool

Any visualization tool of DSSP output file available. Can developer recommend any visualization software for DSSP ?

no compound information library was found, resulting data may be incorrect or incomplete

Hi - I have successfully installed DSSP after installing boost and libcifpp libraries. The dssp runs but shows this warning:

mkdssp 4bgq.pdb
no compound information library was found, resulting data may be incorrect or incomplete

Then the generated output does not have the secondary structure assignment. Any solution to this issue? What compound information library is it looking for?

DSSP fails without the normal header info

Hey DSSPers,

I've been trying to set up a workflow involving dssp so that I can apply it to many frames of a trajectory. Part of that is writing out my trajectory into several pdb files for dssp to use. The issue is that my pdbs do not have the normal remarks including journal information and the sort after going through this process.

Start of one of the pdbs:

CRYST1 0.000 0.000 0.000 90.00 90.00 90.00 P1 1
ATOM 1 N ALA X 1 -12.935 14.720 12.724 1.00 0.00 PROT
ATOM 2 HT1 ALA X 1 -12.744 14.789 13.744 1.00 0.00 PROT

I saw in issue #1 that the cryst1 line is required and I have it but I still get this error from dssp when trying to run one of these pdb files:

Expected record HEADER but found CRYST1
Expected record TITLE but found CRYST1
Expected record COMPND but found CRYST1
Expected record SOURCE but found CRYST1
Expected record KEYWDS but found CRYST1
Expected record EXPDTA but found CRYST1
Expected record AUTHOR but found CRYST1
Could not load the mon_lib_list.cif file from CCP4, please make sure you have installed CCP4 and sourced the environment.
missing mandatory field entity_id for Category struct_asym
missing mandatory field type_symbol for Category atom_site
Resulting mmCIF file is not valid!
missing mandatory field entity_id for Category struct_asym
missing mandatory field type_symbol for Category atom_site
Invalid mmCIF file.
Not a known element:

I have successfully used dssp on files containing these remarks (right off of the PDB) but get this error otherwise.

Any help would be appreciated!

Nick

mkdssp is not generating SS assignment on alpha fold pdb files

Hi - I have a DSSP set up in my Mac which works perfectly. This is the command I use: mkdssp 1mot.pdb -o 1mot.dssp

But that same command is not generating any SS assignment on AlphaFold generated pdb files. It only outputs the header, without any secondary structure assignment. Please find a sample AlphaFold generated pdb file and the output via the links.

While the command is not working, it also doesn't throw any error that I could dig into. Any help to resolve this, and to generate DSSP outputs on AlphaFold structures will be extremely helpful. Thank you!

Can you help me for installation?

명령어 'cmake' 을(를) 찾을 수 없습니다. 그러나 다음을 통해 설치할 수 있습니다:
(cannot find command 'cmake'. but you can install by this:)

sudo snap install cmake # version 3.21.4, or
sudo apt install cmake # version 3.16.3-1ubuntu1

'snap info cmake'에서 추가적인 버전을 확인하십시오.
(Check out the additional version in 'snap info cmake'.)

I success git clone and make build directory, but failed where cmake .. , it prints upper message.
I am using Ubuntu 20.04 LTS, and I tried substitute cmake to make but it failed by:
make: '..'을(를) 위해 할 일이 없습니다.
(make: There's nothing to do something for '..')

Installation error

Hey DSSPers!

I'm running into an issue during install that it cannot find something in the ./doc dir. This checks out as the ./doc dir does not exist. Guessing this is ultimately a problem with something in the $ make?

Any help is appreciated!

Nick

$ ./configure
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++17 features with -std=c++17... yes
checking whether C++ compiler accepts -fstandalone-debug... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type...
x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /bin/sed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for mrc... no
configure: WARNING: The mrc application was not found, not using resources.
checking how to run the C++ preprocessor... g++ -std=c++17 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking filesystem usability... yes
checking filesystem presence... yes
checking for filesystem... yes
checking for boostlib >= 1.65.1 (106501)... yes
checking whether the Boost::IOStreams library is available... yes
checking for exit in -lboost_iostreams... yes
checking whether the Boost::Program_Options library is available... yes
checking for exit in -lboost_program_options... yes
checking whether the Boost::Date_Time library is available... yes
checking for exit in -lboost_date_time... yes
checking whether the Boost::Regex library is available... yes
checking for exit in -lboost_regex... yes
checking for CIFPP... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for main in -lz... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for main in -lbz2... yes
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating src/config.hpp

$ make
mkdir -p obj
rm -f version-info-*.txt

src/mkdssp.cpp
-> mkdssp
nfrazee@cable:~

$ sudo make install
install -d /usr/local/bin
install mkdssp /usr/local/bin/mkdssp
install -d /usr/local/share/man/man1
install -m 644 doc/mkdssp.1 /usr/local/share/man/man1/mkdssp.1;
install: cannot stat 'doc/mkdssp.1': No such file or directory
make: *** [GNUmakefile:164: install] Error 1

Compilation on OSX fails due to boost dependency

Trying to build the program from source code seems to fail on OSX (10.15), due to an issue related to the boost dependency licudata. This issue has been reported by others in separate applications as well: Ref. 1, Ref. 2.

Based on some of the comments from those issues, I was able to resolve the installation here by removing the following lines from the CMakeLists.txt file (148–150, primarily the Boost_USE_STATIC_LIBS setting):

if(NOT BUILD_SHARED_LIBS)
	set(Boost_USE_STATIC_LIBS ON)
endif()

However, this seems like a bit of a hack, so I'd like to report the issue here for your review as well.

DSSP compilation

I am having a (really) hard time compiling DSSP/libcifpp/mrc on Windows.

First mrc:

$ ./configure --with-boost="E:\Boost175"
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++17 features with -std=c++17... yes
checking build system type... x86_64-pc-mingw64
checking host system type... x86_64-pc-mingw64
checking for boostlib >= 1.65.1 (106501) includes in "E:\Boost175/include"... no
checking for boostlib >= 1.65.1 (106501)... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether the Boost::Program_Options library is available... yes
checking for main in -lboost_program_options... no
checking for main in -lboost_program_options-boost_program_options... no
configure: error: Could not link against boost_program_options-boost_program_options !

Then libcifpp:

$ ./configure --with-boost="E:\Boost175"
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++17 features with -std=c++17... yes
checking whether C++ compiler accepts -fstandalone-debug... no
checking how to run the C++ preprocessor... g++ -std=c++17 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking filesystem usability... no
checking filesystem presence... yes
configure: WARNING: filesystem: present but cannot be compiled
configure: WARNING: filesystem:     check for missing prerequisite headers?
configure: WARNING: filesystem: see the Autoconf documentation
configure: WARNING: filesystem:     section "Present But Cannot Be Compiled"
configure: WARNING: filesystem: proceeding with the compiler's result
configure: WARNING:     ## --------------------------------- ##
configure: WARNING:     ## Report this to [email protected] ##
configure: WARNING:     ## --------------------------------- ##
checking for filesystem... no
configure: error: The file <filesystem> is missing, perhaps you should install a more recent libstdc++ implementation.

Would that be possible to get a build/release for Windows (and others) ?
Maybe a CMake version for the compilation tools ?

Thanks !

GNUmakefile does not honor DESTDIR for some files

When running make DESTDIR=... install , it still tries to install some files out of the wanted location

This patch solves it:

--- a/GNUmakefile.in.old	2021-08-31 12:04:11.657975463 +0200
+++ b/GNUmakefile.in	2021-08-31 12:05:01.753610209 +0200
@@ -48,7 +48,7 @@
 bindir				= @bindir@
 datarootdir			= @datarootdir@
 datadir				= @datadir@
-mandir				= @mandir@
+mandir				= $(DESTDIR)@mandir@
 
 GNUmakefile: config.status GNUmakefile.in
 	$(SHELL) ./config.status

Thanks

Problem installing DSSP 4.0

Hi!

I hope you are doing well. I have an issue installing DSSP4.0. when I run "cmake --build . --config Release", I get the following error.

[ 12%] Generating mkdssp_rsrc.obj, ALL
/usr/local/bin/mrc: error while loading shared libraries: libboost_program_options.so.1.80.0: cannot open shared object file: No such file or directory
gmake[2]: *** [CMakeFiles/mkdssp.dir/build.make:74: mkdssp_rsrc.obj] Error 127
gmake[1]: *** [CMakeFiles/Makefile2:814: CMakeFiles/mkdssp.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2

I have /usr/local/bin/mrc and the "libboost_program_options.so.1.80.0" is in "/opt/boost/lib/libboost_program_options.so.1.80.0".
I would appreciate it if you could help me with this problem.

This is the CMakeCache.txt content:

This is the CMakeCache file.

For build in directory: ~/softwares/dssp/build

It was generated by CMake: /usr/bin/cmake

You can edit this file to change values found and used by cmake.

If you do not want to change any of the values, simply exit the editor.

If you do want to change a value, simply edit, save, and exit the editor.

The syntax for the file is as follows:

KEY:TYPE=VALUE

KEY is the name of a variable in the cache.

TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.

VALUE is the current value for the KEY.

########################

EXTERNAL cache entries

########################

//Build the testing tree.
BUILD_TESTING:BOOL=ON

Boost_DATE_TIME_LIBRARY_RELEASE:STRING=/opt/boost/lib/libboost_date_time.so.1.80.0

//The directory containing a CMake configuration file for Boost.
Boost_DIR:PATH=/opt/boost/lib/cmake/Boost-1.80.0

//Path to a file.
Boost_INCLUDE_DIR:PATH=/opt/boost/include

Boost_IOSTREAMS_LIBRARY_RELEASE:STRING=/opt/boost/lib/libboost_iostreams.so.1.80.0

Boost_PROGRAM_OPTIONS_LIBRARY_RELEASE:STRING=/opt/boost/lib/libboost_program_options.so.1.80.0

Boost_REGEX_LIBRARY_RELEASE:STRING=/opt/boost/lib/libboost_regex.so.1.80.0

Boost_SYSTEM_LIBRARY_RELEASE:STRING=/opt/boost/lib/libboost_system.so.1.80.0

//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line

//Path to a program.
CMAKE_AR:FILEPATH=/usr/bin/ar

//Choose the type of build, options are: None Debug Release RelWithDebInfo
// MinSizeRel ...
CMAKE_BUILD_TYPE:STRING=

//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON

//CXX compiler
CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/c++

//A wrapper around 'ar' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_AR:FILEPATH=/usr/bin/gcc-ar

//A wrapper around 'ranlib' adding the appropriate '--plugin' option
// for the GCC compiler
CMAKE_CXX_COMPILER_RANLIB:FILEPATH=/usr/bin/gcc-ranlib

//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=

//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=-g

//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=-Os -DNDEBUG

//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=-O3 -DNDEBUG

//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-O2 -g -DNDEBUG

//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND

//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=

//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Enable/Disable output of compile commands during generation.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=

//User executables (bin)
CMAKE_INSTALL_BINDIR:PATH=bin

//Read-only architecture-independent data (DATAROOTDIR)
CMAKE_INSTALL_DATADIR:PATH=

//Read-only architecture-independent data root (share)
CMAKE_INSTALL_DATAROOTDIR:PATH=share

//Documentation root (DATAROOTDIR/doc/PROJECT_NAME)
CMAKE_INSTALL_DOCDIR:PATH=

//C header files (include)
CMAKE_INSTALL_INCLUDEDIR:PATH=include

//Info documentation (DATAROOTDIR/info)
CMAKE_INSTALL_INFODIR:PATH=

//Object code libraries (lib64)
CMAKE_INSTALL_LIBDIR:PATH=lib64

//Program executables (libexec)
CMAKE_INSTALL_LIBEXECDIR:PATH=libexec

//Locale-dependent data (DATAROOTDIR/locale)
CMAKE_INSTALL_LOCALEDIR:PATH=

//Modifiable single-machine data (var)
CMAKE_INSTALL_LOCALSTATEDIR:PATH=var

//Man documentation (DATAROOTDIR/man)
CMAKE_INSTALL_MANDIR:PATH=

//C header files for non-gcc (/usr/include)
CMAKE_INSTALL_OLDINCLUDEDIR:PATH=/usr/include

//...
CMAKE_INSTALL_PREFIX:PATH=~/.local

//Run-time variable data (LOCALSTATEDIR/run)
CMAKE_INSTALL_RUNSTATEDIR:PATH=

//System admin executables (sbin)
CMAKE_INSTALL_SBINDIR:PATH=sbin

//Modifiable architecture-independent data (com)
CMAKE_INSTALL_SHAREDSTATEDIR:PATH=com

//Read-only single-machine data (etc)
CMAKE_INSTALL_SYSCONFDIR:PATH=etc

//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld

//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake

//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_NM:FILEPATH=/usr/bin/nm

//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy

//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump

//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=

//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=mkdssp

//Value Computed by CMake
CMAKE_PROJECT_VERSION:STATIC=4.0.5

//Value Computed by CMake
CMAKE_PROJECT_VERSION_MAJOR:STATIC=4

//Value Computed by CMake
CMAKE_PROJECT_VERSION_MINOR:STATIC=0

//Value Computed by CMake
CMAKE_PROJECT_VERSION_PATCH:STATIC=5

//Value Computed by CMake
CMAKE_PROJECT_VERSION_TWEAK:STATIC=

//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib

//Path to a program.
CMAKE_READELF:FILEPATH=/usr/bin/readelf

//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO

//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO

//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=

//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=

//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=

//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=

//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=

//Path to a program.
CMAKE_STRIP:FILEPATH=/usr/bin/strip

//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE

//Path to program used to compress files for transfer to the dart
// server
COMPRESSIONCOMMAND:FILEPATH=/usr/bin/gzip

//Path to the coverage program that CTest uses for performing coverage
// inspection
COVERAGE_COMMAND:FILEPATH=/usr/bin/gcov

//Extra command line flags to pass to the coverage tool
COVERAGE_EXTRA_FLAGS:STRING=-l

//How many times to retry timed-out CTest submissions.
CTEST_SUBMIT_RETRY_COUNT:STRING=3

//How long to wait between timed-out CTest submissions.
CTEST_SUBMIT_RETRY_DELAY:STRING=5

//Limit of reported errors, -1 reports all.
DART_BUILD_ERROR_REPORT_LIMIT:BOOL=OFF

//Limit of reported warnings, -1 reports all.
DART_BUILD_WARNING_REPORT_LIMIT:BOOL=OFF

//If you have Dart installed, where is it located?
DART_ROOT:PATH=DART_ROOT-NOTFOUND

//Maximum time allowed before CTest will kill the test.
DART_TESTING_TIMEOUT:STRING=1500

//Show the actual output of the build, or if off show a . for each
// 1024 bytes.
DART_VERBOSE_BUILD:BOOL=OFF

//Should Dart server send email when build errors are found in
// Continuous builds?
DELIVER_CONTINUOUS_EMAIL:BOOL=Off

//Build an installer
DSSP_BUILD_INSTALLER:BOOL=OFF

//TRUE if we can run a program using std::filesystem
Filesystem_FOUND:BOOL=1

//Path to a program.
GITCOMMAND:FILEPATH=/usr/bin/git

//Git command line client
GIT_EXECUTABLE:FILEPATH=/usr/bin/git

//Path to gunzip executable
GUNZIPCOMMAND:FILEPATH=/usr/bin/gunzip

//Path to java command, used by the Dart server to create html.
JAVACOMMAND:FILEPATH=/usr/bin/java

//Command to build the project
MAKECOMMAND:STRING=/usr/bin/cmake --build . --config "${CTEST_CONFIGURATION_TYPE}"

//Path to the memory checking command, used for memory error detection.
MEMORYCHECK_COMMAND:FILEPATH=/usr/bin/valgrind

//File that contains suppressions for the memory checker
MEMORYCHECK_SUPPRESSIONS_FILE:FILEPATH=

//mrc executable
MRC_EXECUTABLE:FILEPATH=/usr/local/bin/mrc

//The directory containing a CMake configuration file for Mrc.
Mrc_DIR:PATH=/usr/local/share/mrc/cmake

//Name of the computer/site where compile is being run
SITE:STRING=my_username

//Use mrc to create resources
USE_RSRC:BOOL=ON

//Path to a file.
ZLIB_INCLUDE_DIR:PATH=/usr/include

//Path to a library.
ZLIB_LIBRARY_DEBUG:FILEPATH=ZLIB_LIBRARY_DEBUG-NOTFOUND

//Path to a library.
ZLIB_LIBRARY_RELEASE:FILEPATH=/usr/lib64/libz.so

//The directory containing a CMake configuration file for boost_date_time.
boost_date_time_DIR:PATH=/opt/boost/lib/cmake/boost_date_time-1.80.0

//The directory containing a CMake configuration file for boost_headers.
boost_headers_DIR:PATH=/opt/boost/lib/cmake/boost_headers-1.80.0

//The directory containing a CMake configuration file for boost_iostreams.
boost_iostreams_DIR:PATH=/opt/boost/lib/cmake/boost_iostreams-1.80.0

//The directory containing a CMake configuration file for boost_program_options.
boost_program_options_DIR:PATH=/opt/boost/lib/cmake/boost_program_options-1.80.0

//The directory containing a CMake configuration file for boost_regex.
boost_regex_DIR:PATH=/opt/boost/lib/cmake/boost_regex-1.80.0

//The directory containing a CMake configuration file for boost_system.
boost_system_DIR:PATH=/opt/boost/lib/cmake/boost_system-1.80.0

//The directory containing a CMake configuration file for cifpp.
cifpp_DIR:PATH=~/.local/lib64/cmake/cifpp

//Value Computed by CMake
mkdssp_BINARY_DIR:STATIC=~/softwares/dssp/build

//Value Computed by CMake
mkdssp_SOURCE_DIR:STATIC=~/softwares/dssp

########################

INTERNAL cache entries

########################

//ADVANCED property for variable: Boost_DIR
Boost_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/softwares/dssp/build
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=20
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=2
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
//ADVANCED property for variable: CMAKE_CTEST_COMMAND
CMAKE_CTEST_COMMAND-ADVANCED:INTERNAL=1
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_COMPILER
CMAKE_CXX_COMPILER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_AR
CMAKE_CXX_COMPILER_AR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_COMPILER_RANLIB
CMAKE_CXX_COMPILER_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Path to cache edit program executable.
CMAKE_EDIT_COMMAND:INTERNAL=/usr/bin/ccmake
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=ELF
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXPORT_COMPILE_COMMANDS
CMAKE_EXPORT_COMPILE_COMMANDS-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Test CMAKE_HAVE_LIBC_PTHREAD
CMAKE_HAVE_LIBC_PTHREAD:INTERNAL=
//Have library pthreads
CMAKE_HAVE_PTHREADS_CREATE:INTERNAL=
//Have library pthread
CMAKE_HAVE_PTHREAD_CREATE:INTERNAL=1
//Have include pthread.h
CMAKE_HAVE_PTHREAD_H:INTERNAL=1
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=
/softwares/dssp
//ADVANCED property for variable: CMAKE_INSTALL_BINDIR
CMAKE_INSTALL_BINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATADIR
CMAKE_INSTALL_DATADIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DATAROOTDIR
CMAKE_INSTALL_DATAROOTDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_DOCDIR
CMAKE_INSTALL_DOCDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INCLUDEDIR
CMAKE_INSTALL_INCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_INFODIR
CMAKE_INSTALL_INFODIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBDIR
CMAKE_INSTALL_LIBDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LIBEXECDIR
CMAKE_INSTALL_LIBEXECDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALEDIR
CMAKE_INSTALL_LOCALEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_LOCALSTATEDIR
CMAKE_INSTALL_LOCALSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_MANDIR
CMAKE_INSTALL_MANDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_OLDINCLUDEDIR
CMAKE_INSTALL_OLDINCLUDEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_RUNSTATEDIR
CMAKE_INSTALL_RUNSTATEDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SBINDIR
CMAKE_INSTALL_SBINDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_INSTALL_SHAREDSTATEDIR
CMAKE_INSTALL_SHAREDSTATEDIR-ADVANCED:INTERNAL=1
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=0
//ADVANCED property for variable: CMAKE_INSTALL_SYSCONFDIR
CMAKE_INSTALL_SYSCONFDIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/share/cmake
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: COMPRESSIONCOMMAND
COMPRESSIONCOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: COVERAGE_COMMAND
COVERAGE_COMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: COVERAGE_EXTRA_FLAGS
COVERAGE_EXTRA_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CTEST_SUBMIT_RETRY_COUNT
CTEST_SUBMIT_RETRY_COUNT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CTEST_SUBMIT_RETRY_DELAY
CTEST_SUBMIT_RETRY_DELAY-ADVANCED:INTERNAL=1
//Test CXX_FILESYSTEM_NO_LINK_NEEDED
CXX_FILESYSTEM_NO_LINK_NEEDED:INTERNAL=
//Test CXX_FILESYSTEM_STDCPPFS_NEEDED
CXX_FILESYSTEM_STDCPPFS_NEEDED:INTERNAL=1
//ADVANCED property for variable: DART_BUILD_ERROR_REPORT_LIMIT
DART_BUILD_ERROR_REPORT_LIMIT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DART_BUILD_WARNING_REPORT_LIMIT
DART_BUILD_WARNING_REPORT_LIMIT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DART_ROOT
DART_ROOT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DART_TESTING_TIMEOUT
DART_TESTING_TIMEOUT-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DART_VERBOSE_BUILD
DART_VERBOSE_BUILD-ADVANCED:INTERNAL=1
//ADVANCED property for variable: DELIVER_CONTINUOUS_EMAIL
DELIVER_CONTINUOUS_EMAIL-ADVANCED:INTERNAL=1
//Details about finding Boost
FIND_PACKAGE_MESSAGE_DETAILS_Boost:INTERNAL=[/opt/boost/lib/cmake/Boost-1.80.0/BoostConfig.cmake][cfound components: date_time program_options ][v1.80.0()]
//Details about finding Mrc
FIND_PACKAGE_MESSAGE_DETAILS_Mrc:INTERNAL=[/usr/local/bin/mrc][v()]
//Details about finding Threads
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
//Details about finding ZLIB
FIND_PACKAGE_MESSAGE_DETAILS_ZLIB:INTERNAL=[/usr/lib64/libz.so][/usr/include][v1.2.11()]
//ADVANCED property for variable: GITCOMMAND
GITCOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GIT_EXECUTABLE
GIT_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: GUNZIPCOMMAND
GUNZIPCOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: JAVACOMMAND
JAVACOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MAKECOMMAND
MAKECOMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MEMORYCHECK_COMMAND
MEMORYCHECK_COMMAND-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MEMORYCHECK_SUPPRESSIONS_FILE
MEMORYCHECK_SUPPRESSIONS_FILE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: MRC_EXECUTABLE
MRC_EXECUTABLE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: SITE
SITE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ZLIB_INCLUDE_DIR
ZLIB_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ZLIB_LIBRARY_DEBUG
ZLIB_LIBRARY_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: ZLIB_LIBRARY_RELEASE
ZLIB_LIBRARY_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: _CXX_FILESYSTEM_HAVE_HEADER
_CXX_FILESYSTEM_HAVE_HEADER-ADVANCED:INTERNAL=1
//Have include filesystem
_CXX_FILESYSTEM_HAVE_HEADER:INTERNAL=1
//CMAKE_INSTALL_PREFIX during last run
_GNUInstallDirs_LAST_CMAKE_INSTALL_PREFIX:INTERNAL=~/.local
//ADVANCED property for variable: boost_date_time_DIR
boost_date_time_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: boost_headers_DIR
boost_headers_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: boost_iostreams_DIR
boost_iostreams_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: boost_program_options_DIR
boost_program_options_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: boost_regex_DIR
boost_regex_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: boost_system_DIR
boost_system_DIR-ADVANCED:INTERNAL=1

Error

when I run command cmake --build . --config Release, an error has shown:
/home/localuser/boost/lib/libboost_iostreams.a(zlib.o): In function boost::iostreams::detail::zlib_base::after(char const*&, char*&, bool)':
zlib.cpp:(.text+0x138): undefined reference to crc32' /home/localuser/boost/lib/libboost_iostreams.a(zlib.o): In function boost::iostreams::detail::zlib_base::reset(bool, bool)':
zlib.cpp:(.text+0x1b1): undefined reference to deflateReset' zlib.cpp:(.text+0x1c6): undefined reference to inflateEnd'
zlib.cpp:(.text+0x1d9): undefined reference to inflateReset' zlib.cpp:(.text+0x1f1): undefined reference to deflateEnd'
/home/localuser/boost/lib/libboost_iostreams.a(zlib.o): In function boost::iostreams::detail::zlib_base::do_init(boost::iostreams::zlib_params const&, bool, void* (*)(void*, unsigned int, unsigned int), void (*)(void*, void*), void*)': zlib.cpp:(.text+0x3f3): undefined reference to inflateInit2_'
zlib.cpp:(.text+0x447): undefined reference to deflateInit2_' /home/localuser/boost/lib/libboost_iostreams.a(zlib.o): In function boost::iostreams::detail::zlib_base::xdeflate(int)':
zlib.cpp:(.text+0x184): undefined reference to deflate' /home/localuser/boost/lib/libboost_iostreams.a(zlib.o): In function boost::iostreams::detail::zlib_base::xinflate(int)':
zlib.cpp:(.text+0x194): undefined reference to inflate'

Rsync cannot connect

I am trying to test rsync but not working. I have all permissions since this is my own laptop and I get the same issue from both my laptop and linux server from clientserver.c

macbook

% rsync -v -avz rsync://rsync.cmbi.umcn.nl/dssp_redo/5gq9.dssp .
opening tcp connection to rsync.cmbi.umcn.nl port 873
rsync: failed to connect to rsync.cmbi.umcn.nl: Connection refused (61)
rsync error: error in socket IO (code 10) at /AppleInternal/Library/BuildRoots/a0876c02-1788-11ed-b9c4-96898e02b808/Library/Caches/com.apple.xbs/Sources/rsync/rsync/clientserver.c(106) [receiver=2.6.9]

centos server

$ rsync -v -avz rsync://rsync.cmbi.umcn.nl/dssp_redo/5gq9.dssp .
opening tcp connection to rsync.cmbi.umcn.nl port 873
rsync: failed to connect to rsync.cmbi.umcn.nl (131.174.161.51): Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(125) [Receiver=3.1.2]

but I know it works from ftp:

$ wget ftp://ftp.cmbi.umcn.nl/pub/molbio/data/dssp/5gq9.dssp
--2023-02-10 22:11:31--  ftp://ftp.cmbi.umcn.nl/pub/molbio/data/dssp/5gq9.dssp
           => ‘5gq9.dssp’
Resolving ftp.cmbi.umcn.nl (ftp.cmbi.umcn.nl)... 131.174.161.51
Connecting to ftp.cmbi.umcn.nl (ftp.cmbi.umcn.nl)|131.174.161.51|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/molbio/data/dssp ... done.
==> SIZE 5gq9.dssp ... 184049
==> PASV ... done.    ==> RETR 5gq9.dssp ... done.
Length: 184049 (180K) (unauthoritative)

100%[==============================================================================================================================================================================================>] 184,049      502KB/s   in 0.4s

2023-02-10 22:11:32 (502 KB/s) - ‘5gq9.dssp’ saved [184049]

PDB2Cif error

Hi
I am using mkdssp for my own database. For some pdb files the server gives the massage below.
can you tell me what is causing it?
Thanks a lot.
mkdssp: /libcifpp/src/PDB2Cif.cpp:5512: PDBFileParser::ParseCoordinate(int)::<lambda(atomRec&, atomRec&)>: Assertion `d != 0' failed.

DSSP 4.0 can't be compiled

Ubuntu Linux 16.04 LTS latest patches, BOOST 1.74.0, libcif++ and MRC are installed successfully. Configure finishes successfully, but make fails:
./configure
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++-9 accepts -g... yes
checking whether g++-9 supports C++17 features with -std=c++17... yes
checking whether C++ compiler accepts -fstandalone-debug... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for mrc... /usr/local/bin/mrc
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc-9
checking whether we are using the GNU C compiler... yes
checking whether gcc-9 accepts -g... yes
checking for gcc-9 option to accept ISO C89... none needed
checking for a sed that does not truncate output... /bin/sed
checking how to run the C preprocessor... gcc-9 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc-9 is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking how to run the C++ preprocessor... g++-9 -std=c++17 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking filesystem usability... yes
checking filesystem presence... yes
checking for filesystem... yes
checking for boostlib >= 1.65.1 (106501)... configure: We will use a staged boost library from /root/boost_1_74_0
yes
checking whether the Boost::IOStreams library is available... yes
checking for exit in -lboost_iostreams... yes
checking whether the Boost::Program_Options library is available... yes
checking for exit in -lboost_program_options... yes
checking whether the Boost::Date_Time library is available... yes
checking for exit in -lboost_date_time... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for pkg-config... /usr/bin/pkg-config
checking for CIFPP... yes
configure: creating ./config.status
config.status: creating GNUmakefile
config.status: creating src/config.hpp

root@host:~/dssp# make -j4
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
mkdir -p obj
rm -f version-info-*.txt
fatal: Not a git repository (or any of the parent directories): .git
GNUmakefile:115: recipe for target 'version-info-.txt' failed
make: *** [version-info-.txt] Error 128

gcc-9 (Ubuntu 9.3.0-10ubuntu216.04) 9.3.0
g++-9 (Ubuntu 9.3.0-10ubuntu2
16.04) 9.3.0

incomplete dssp output

mkdssp version 46 2021-01-13

running on the original 101M entry produces a very short dssp file. Most residues are missing:

==== Secondary Structure Definition by the program DSSP, NKI version 3.0                           ==== DATE=2021-11-25        .
REFERENCE W. KABSCH AND C.SANDER, BIOPOLYMERS 22 (1983) 2577-2637                                                              .
HEADER    OXYGEN TRANSPORT                        13-DEC-97   101M                                                             .
COMPND    MOL_ID: 1; MOLECULE: MYOGLOBIN; CHAIN: A; MUTATION: YES; ENGINEERED: YES                                             .
SOURCE    MOL_ID: 1; ORGANISM_COMMON: SPERM WHALE; CELLULAR_LOCATION: CYTOPLASM; ORGANISM_SCIENTIFIC: PHYSETER CATODON; ORG... .
AUTHOR    R.D.Smith; J.S.Olson; G.N.Phillips Jr.                                                                               .
    6  5  0  0  0 TOTAL NUMBER OF RESIDUES, NUMBER OF CHAINS, NUMBER OF SS-BRIDGES(TOTAL,INTRACHAIN,INTERCHAIN)                .
  1513.3   ACCESSIBLE SURFACE OF PROTEIN (ANGSTROM**2)                                                                         .
    0  0.0   TOTAL NUMBER OF HYDROGEN BONDS OF TYPE O(I)-->H-N(J)  , SAME NUMBER PER 100 RESIDUES                              .
    0  0.0   TOTAL NUMBER OF HYDROGEN BONDS IN     PARALLEL BRIDGES, SAME NUMBER PER 100 RESIDUES                              .
    0  0.0   TOTAL NUMBER OF HYDROGEN BONDS IN ANTIPARALLEL BRIDGES, SAME NUMBER PER 100 RESIDUES                              .
    0  0.0   TOTAL NUMBER OF HYDROGEN BONDS OF TYPE O(I)-->H-N(I-5), SAME NUMBER PER 100 RESIDUES                              .
    0  0.0   TOTAL NUMBER OF HYDROGEN BONDS OF TYPE O(I)-->H-N(I-4), SAME NUMBER PER 100 RESIDUES                              .
    0  0.0   TOTAL NUMBER OF HYDROGEN BONDS OF TYPE O(I)-->H-N(I-3), SAME NUMBER PER 100 RESIDUES                              .
    0  0.0   TOTAL NUMBER OF HYDROGEN BONDS OF TYPE O(I)-->H-N(I-2), SAME NUMBER PER 100 RESIDUES                              .
    0  0.0   TOTAL NUMBER OF HYDROGEN BONDS OF TYPE O(I)-->H-N(I-1), SAME NUMBER PER 100 RESIDUES                              .
    0  0.0   TOTAL NUMBER OF HYDROGEN BONDS OF TYPE O(I)-->H-N(I+0), SAME NUMBER PER 100 RESIDUES                              .
    0  0.0   TOTAL NUMBER OF HYDROGEN BONDS OF TYPE O(I)-->H-N(I+1), SAME NUMBER PER 100 RESIDUES                              .
    0  0.0   TOTAL NUMBER OF HYDROGEN BONDS OF TYPE O(I)-->H-N(I+2), SAME NUMBER PER 100 RESIDUES                              .
    0  0.0   TOTAL NUMBER OF HYDROGEN BONDS OF TYPE O(I)-->H-N(I+3), SAME NUMBER PER 100 RESIDUES                              .
    0  0.0   TOTAL NUMBER OF HYDROGEN BONDS OF TYPE O(I)-->H-N(I+4), SAME NUMBER PER 100 RESIDUES                              .
    0  0.0   TOTAL NUMBER OF HYDROGEN BONDS OF TYPE O(I)-->H-N(I+5), SAME NUMBER PER 100 RESIDUES                              .
  1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30     *** HISTOGRAMS OF ***           .
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0    RESIDUES PER ALPHA HELIX         .
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0    PARALLEL BRIDGES PER LADDER      .   
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0    ANTIPARALLEL BRIDGES PER LADDER  .
  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0  0    LADDERS PER SHEET                .
  #  RESIDUE AA STRUCTURE BP1 BP2  ACC     N-H-->O    O-->H-N    N-H-->O    O-->H-N    TCO  KAPPA ALPHA  PHI   PSI    X-CA   Y-CA   Z-CA
    1   63 A K              0   0  316      0, 0.0     0, 0.0     0, 0.0     0, 0.0   0.000 360.0 360.0 360.0 360.0   44.4   10.0   15.5
    2        !              0   0    0      0, 0.0     0, 0.0     0, 0.0     0, 0.0   0.000 360.0 360.0 360.0 360.0    0.0    0.0    0.0 
    3   78 A K              0   0  206      1,-0.1     0, 0.0     3,-0.1     0, 0.0   0.000 360.0 360.0 360.0 -13.1   39.3   10.5   -7.3
    4   79 A K              0   0  250      2,-0.1    -1,-0.1     0, 0.0     0, 0.0   0.865 360.0 360.0  52.6 360.0   36.2   12.5   -8.4
    5        !              0   0    0      0, 0.0     0, 0.0     0, 0.0     0, 0.0   0.000 360.0 360.0 360.0 360.0    0.0    0.0    0.0 
    6   82 A H              0   0  244      0, 0.0    -2,-0.1     0, 0.0    -3,-0.1   0.000 360.0 360.0 360.0 360.0   36.8    5.4   -6.4
    7        !              0   0    0      0, 0.0     0, 0.0     0, 0.0     0, 0.0   0.000 360.0 360.0 360.0 360.0    0.0    0.0    0.0 
    8  112 A I              0   0  282      0, 0.0     0, 0.0     0, 0.0     0, 0.0   0.000 360.0 360.0 360.0 360.0   28.8   19.6    6.5 
    9        !              0   0    0      0, 0.0     0, 0.0     0, 0.0     0, 0.0   0.000 360.0 360.0 360.0 360.0    0.0    0.0    0.0 
   10  144 A A              0   0  215      0, 0.0     0, 0.0     0, 0.0     0, 0.0   0.000 360.0 360.0 360.0 360.0   25.7   -1.1   -2.9

Issue in installation

Hello!

First, thanks for your work! I am having some issues ranning the ./configure command for the installation process. It seems like the problem is recognising the libz library, which is installed (when I ran the command sudo apt install zlib1g is stated that the library is already installed).

Can you provide any advice for this error?
Thanks in advance!

g for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ supports C++17 features with -std=c++17... yes
checking whether C++ compiler accepts -fstandalone-debug... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /usr/bin/sed
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether gcc is Clang... no
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for mrc... no
configure: WARNING: The mrc application was not found, not using resources.
checking how to run the C++ preprocessor... g++ -std=c++17 -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking filesystem usability... yes
checking filesystem presence... yes
checking for filesystem... yes
checking for boostlib >= 1.65.1 (106501)... yes
checking whether the Boost::IOStreams library is available... yes
checking for exit in -lboost_iostreams... yes
checking whether the Boost::Program_Options library is available... yes
checking for exit in -lboost_program_options... yes
checking whether the Boost::Date_Time library is available... yes
checking for exit in -lboost_date_time... yes
checking whether the Boost::Regex library is available... yes
checking for exit in -lboost_regex... yes
checking need to link zlib... no
checking need to link bzip2... no
checking for CIFPP... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for main in -lz... no
configure: error: libz not found - compressed files not supported

DSSP does not detect libcifpp

I have the following dockerfile

FROM centos:latest
ENV PATH=/opt/rh/gcc-toolset-9/root/usr/bin:$PATH

# Install compile dependencies
RUN yum -y update && yum groupinstall -y 'Development Tools' &&  dnf -y install boost-devel  gcc-toolset-9-gcc gcc-toolset-9-gcc-c++ && yum clean all

# Install Boost
RUN curl -Lo boost_1_75_0.tar.gz https://dl.bintray.com/boostorg/release/1.75.0/source/boost_1_75_0.tar.gz && tar xvf boost_1_75_0.tar.gz && cd boost_1_75_0/ && ./bootstrap.sh && ./b2 install --prefix=/usr/local

WORKDIR /tmp/doss/

# Install mrc
RUN git clone https://github.com/mhekkel/mrc.git && cd mrc && ./configure && make && make install

# Install libcifpp
RUN git clone https://github.com/PDB-REDO/libcifpp.git && \
    cd libcifpp && ./configure  && make && make install

# Install dssp
RUN cd /tmp/doss/ && git clone https://github.com/PDB-REDO/dssp && cd dssp && ./configure && make && make install

I get the below error at dssp configure.

checking for CIFPP... no
configure: error: the required package libcifpp is not installed

Dictionary not found or defined (mmcif_pdbx)

I built and installed mkdssp from tag v4.0.0. When I run it however, I get the following error message:

$ mkdssp -v /srv/data/pdb/all/pdb1q5a.ent.gz /srv/data/dssp/1q5a.dssp

Error trying to load file "/srv/data/pdb/all/pdb1q5a.ent.gz"
Dictionary not found or defined (mmcif_pdbx)

The manual entry from mkdssp doesn't say anything about a dictionary. There is a file present though: rsrc/mmcif_pdbx.dic But I can't find any way to use it.

cmake compilation fails (libconfig not found)

Hi !

I am trying to build the dssp excutable, so I built first libcifpp in a directory "/apps/dssp/4.0" (cmake -DCMAKE_INSTALL_PREFIX=/apps/dssp/4.0 -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11). This worked well but when I tried to build dssp (cmake -DCMAKE_INSTALL_PREFIX=/apps/dssp/4.0 -DCMAKE_C_COMPILER=gcc-11 -DCMAKE_CXX_COMPILER=g++-11) I get the error below. I am on an openSUSE-Tumbleweed machine and I have libconfig installed. My default compiler is GCC 12 but I am trying to build with GCC 11 because libcifpp does not build with GCC 12.

Do you have any idea why is this happening and how to fix it ?

Thank you

Best wishes
Vlad

---ERROR----

CMake Error at CMakeLists.txt:127 (target_link_libraries):
Target "mkdssp" links to:

libconfig::libconfig

but the target was not found. Possible reasons include:

* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.

Can't make; which C++ compiler should I be using?

I am trying to compile dssp on Linux.

I've managed to get it to configure properly with libcif++ and boost (this was not easy!) but now when I try to make it I'm getting stuck.

If I use my system's default C++ compiler (g++) I get an extremely long error message starting with a complaint about the compiler not being from Intel:

error "This Intel <complex> is for use only with the Intel C++ compilers!"

But when I switch to an Intel C++ compiler that supports C++17 (icx), I get this error:

-> mkdssp
ld: obj/mkdssp.o: undefined reference to symbol '_ZNSt15basic_streambufIcSt11char_traitsIcEE8overflowEi@@GLIBCXX_3.4'
/cm/shared/apps/spack/cpu/opt/spack/linux-centos8-zen/gcc-8.3.1/anaconda3-2020.11-da3i7hmt6bdqbmuzq6pyt7kbm47wyrjp/lib/libstdc++.so.6: error adding symbols: DSO missing from command line
make: *** [GNUmakefile:147: mkdssp] Error 1

This seems to be indicating that it wants me to use a gcc compiler. When I try to configure with gcc, I get an error in the configuration itself:

configure: error: Could not link filesystem

And the other two compilers I've tried (icc and gcpc) fail to even get past the check for support for C++17 when configuring.

Any advice?

Compilation error

Dear dssp devs,

I'm trying to compile dssp with gcc 12.1.0 and running into some errors whose cause is not clear to me. I first built libcif++ from source and then ran the following in the dssp build directory:

`export libmcfp_DIR=/gpfs/software/mrc/build/1.3.6/lib64/cmake/libmcfp
export cifpp_DIR=/gpfs/software/libcifpp/build/5.0.7.1

cmake .. -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=pwd/4.2.2 -DCMAKE_PREFIX_PATH=/gpfs/software/mrc/build/1.3.6
`

The cmake output appears to be fine:

-- The CXX compiler identification is GNU 12.1.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /gpfs/software/gcc/12.1.0/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for C++ include filesystem -- Looking for C++ include filesystem - found -- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED -- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED - Success -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") Using resources compiled with -- Configuring done -- Generating done -- Build files have been written to: /gpfs/software/dssp/build

However, the build fails with a lot of errors:

cmake --build . --config Release [ 16%] Building CXX object CMakeFiles/dssp.dir/src/dssp.cpp.o [ 33%] Linking CXX static library libdssp.a [ 33%] Built target dssp [ 50%] Generating mkdssp_rsrc.obj, ALL [ 66%] Building CXX object CMakeFiles/mkdssp.dir/src/dssp-io.cpp.o /gpfs/software/dssp/src/dssp-io.cpp: In function ‘void writeSheets(cif::datablock&, const dssp&)’: /gpfs/software/dssp/src/dssp-io.cpp:668:48: error: ‘class cif::category’ has no member named ‘find_first’ 668 | auto b1 = pdbx_poly_seq_scheme.find_first("asym_id"_key == strand1.front().asym_id() and "seq_id"_key == beg1SeqID); | ^~~~~~~~~~ /gpfs/software/dssp/src/dssp-io.cpp:669:48: error: ‘class cif::category’ has no member named ‘find_first’ 669 | auto e1 = pdbx_poly_seq_scheme.find_first("asym_id"_key == strand1.front().asym_id() and "seq_id"_key == end1SeqID); | ^~~~~~~~~~ /gpfs/software/dssp/src/dssp-io.cpp:670:48: error: ‘class cif::category’ has no member named ‘find_first’ 670 | auto b2 = pdbx_poly_seq_scheme.find_first("asym_id"_key == strand2.front().asym_id() and "seq_id"_key == beg2SeqID); | ^~~~~~~~~~ /gpfs/software/dssp/src/dssp-io.cpp:671:48: error: ‘class cif::category’ has no member named ‘find_first’ 671 | auto e2 = pdbx_poly_seq_scheme.find_first("asym_id"_key == strand2.front().asym_id() and "seq_id"_key == end2SeqID); | ^~~~~~~~~~ /gpfs/software/dssp/src/dssp-io.cpp:686:79: error: expected primary-expression before ‘>’ token 686 | { "range_1_label_comp_id", b1["mon_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:686:81: error: expected primary-expression before ‘)’ token 686 | { "range_1_label_comp_id", b1["mon_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:687:80: error: expected primary-expression before ‘>’ token 687 | { "range_1_label_asym_id", b1["asym_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:687:82: error: expected primary-expression before ‘)’ token 687 | { "range_1_label_asym_id", b1["asym_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:688:78: error: expected primary-expression before ‘>’ token 688 | { "range_1_label_seq_id", b1["seq_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:688:80: error: expected primary-expression before ‘)’ token 688 | { "range_1_label_seq_id", b1["seq_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:689:84: error: expected primary-expression before ‘>’ token 689 | { "range_1_PDB_ins_code", b1["pdb_ins_code"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:689:86: error: expected primary-expression before ‘)’ token 689 | { "range_1_PDB_ins_code", b1["pdb_ins_code"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:691:83: error: expected primary-expression before ‘>’ token 691 | { "range_1_auth_comp_id", b1["auth_mon_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:691:85: error: expected primary-expression before ‘)’ token 691 | { "range_1_auth_comp_id", b1["auth_mon_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:692:85: error: expected primary-expression before ‘>’ token 692 | { "range_1_auth_asym_id", b1["pdb_strand_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:692:87: error: expected primary-expression before ‘)’ token 692 | { "range_1_auth_asym_id", b1["pdb_strand_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:693:83: error: expected primary-expression before ‘>’ token 693 | { "range_1_auth_seq_id", b1["auth_seq_num"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:693:85: error: expected primary-expression before ‘)’ token 693 | { "range_1_auth_seq_id", b1["auth_seq_num"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:695:79: error: expected primary-expression before ‘>’ token 695 | { "range_2_label_comp_id", b2["mon_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:695:81: error: expected primary-expression before ‘)’ token 695 | { "range_2_label_comp_id", b2["mon_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:696:80: error: expected primary-expression before ‘>’ token 696 | { "range_2_label_asym_id", b2["asym_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:696:82: error: expected primary-expression before ‘)’ token 696 | { "range_2_label_asym_id", b2["asym_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:697:78: error: expected primary-expression before ‘>’ token 697 | { "range_2_label_seq_id", b2["seq_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:697:80: error: expected primary-expression before ‘)’ token 697 | { "range_2_label_seq_id", b2["seq_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:698:84: error: expected primary-expression before ‘>’ token 698 | { "range_2_PDB_ins_code", b2["pdb_ins_code"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:698:86: error: expected primary-expression before ‘)’ token 698 | { "range_2_PDB_ins_code", b2["pdb_ins_code"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:700:83: error: expected primary-expression before ‘>’ token 700 | { "range_2_auth_comp_id", b2["auth_mon_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:700:85: error: expected primary-expression before ‘)’ token 700 | { "range_2_auth_comp_id", b2["auth_mon_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:701:85: error: expected primary-expression before ‘>’ token 701 | { "range_2_auth_asym_id", b2["pdb_strand_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:701:87: error: expected primary-expression before ‘)’ token 701 | { "range_2_auth_asym_id", b2["pdb_strand_id"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:702:83: error: expected primary-expression before ‘>’ token 702 | { "range_2_auth_seq_id", b2["auth_seq_num"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:702:85: error: expected primary-expression before ‘)’ token 702 | { "range_2_auth_seq_id", b2["auth_seq_num"].as<std::string>() }, | ^ /gpfs/software/dssp/src/dssp-io.cpp:680:48: error: no matching function for call to ‘cif::category::emplace(<brace-enclosed initializer list>)’ 680 | pdbx_struct_sheet_hbond.emplace({ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 681 | { "sheet_id", cif::cif_id_for_number(sheet) }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 682 | { "range_id_1", s1 + 1 }, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 683 | { "range_id_2", s2 + 1 }, | ~~~~~~~~~~~~~~~~~~~~~~~~~ 684 | | 685 | { "range_1_label_atom_id", beg1AtomID }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 686 | { "range_1_label_comp_id", b1["mon_id"].as<std::string>() }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 687 | { "range_1_label_asym_id", b1["asym_id"].as<std::string>() }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 688 | { "range_1_label_seq_id", b1["seq_id"].as<std::string>() }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 689 | { "range_1_PDB_ins_code", b1["pdb_ins_code"].as<std::string>() }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 690 | { "range_1_auth_atom_id", beg1AtomID }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 691 | { "range_1_auth_comp_id", b1["auth_mon_id"].as<std::string>() }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 692 | { "range_1_auth_asym_id", b1["pdb_strand_id"].as<std::string>() }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 693 | { "range_1_auth_seq_id", b1["auth_seq_num"].as<std::string>() }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 694 | { "range_2_label_atom_id", beg2AtomID }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 695 | { "range_2_label_comp_id", b2["mon_id"].as<std::string>() }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 696 | { "range_2_label_asym_id", b2["asym_id"].as<std::string>() }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 697 | { "range_2_label_seq_id", b2["seq_id"].as<std::string>() }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 698 | { "range_2_PDB_ins_code", b2["pdb_ins_code"].as<std::string>() }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 699 | { "range_2_auth_atom_id", beg2AtomID }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 700 | { "range_2_auth_comp_id", b2["auth_mon_id"].as<std::string>() }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 701 | { "range_2_auth_asym_id", b2["pdb_strand_id"].as<std::string>() }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 702 | { "range_2_auth_seq_id", b2["auth_seq_num"].as<std::string>() }, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 703 | }); | ~~

Any suggestions as to what the issue might be?
Thanks!
Dave

Standalone executable possible

Hi

we use a previous version of DSSP, where we have a standalone executable that we can easily transfer and run on different machines. Is this possible for DSSP4.0, as well?

I followed the installation instructions, including mrc, and am able to use mkdssp on my machine. The executable depends on Boost, stating

./mkdssp: error while loading shared libraries: libboost_program_options.so.1.73.0: cannot open shared object file: No such file or directory

after transferring to and running it on a different machine. Is it possible to create a standalone executable as before?

Thanks in advance for your answer.

Best wishes,
Niclas

How to pass only a single chain?

Dear authors, I wish to get accessible surface area values. Suppose a structure has two chains A,B, then when I pass the file (pdb or cif), DSSP calculates the ASA for all the chains present in it together. However, I want to calculate ASA, lets say, chain A and B separately and then together A,B. I could not find any help in the documentation on how to do it? Is it possible?

Expose "hidden options"

I was looking for a way to specify the mmCIF dict file, and found the "hidden options":

dssp/src/mkdssp.cpp

Lines 92 to 100 in 32b28bf

hidden_options.add_options()
("xyzin,i", po::value<std::string>(), "coordinates file")
("output,o", po::value<std::string>(), "Output to this file")
("debug,d", po::value<int>(), "Debug level (for even more verbose output)")
("compounds", po::value<std::string>(), "Location of the components.cif file from CCD")
("components", po::value<std::string>(), "Location of the components.cif file from CCD, alias")
("extra-compounds", po::value<std::string>(), "File containing residue information for extra compounds in this specific target, should be either in CCD format or a CCP4 restraints file")
("mmcif-dictionary", po::value<std::string>(), "Path to the mmcif_pdbx.dic file to use instead of default")

I wonder why these are hidden from the --help considering I just had use for them. Can they not be unhidden?

error when install dssp

Hi,

I'm trying to install dssp, when I run "cmake .." in the directory build, I got an error below:

########################################
CMake Error at CMakeLists.txt:110 (find_package):
By not providing "Findlibconfig.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"libconfig", but CMake did not find one.

Could not find a package configuration file provided by "libconfig" with
any of the following names:

libconfigConfig.cmake
libconfig-config.cmake
Add the installation prefix of "libconfig" to CMAKE_PREFIX_PATH or set
"libconfig_DIR" to a directory containing one of the above files. If
"libconfig" provides a separate development package or SDK, be sure it has
been installed.
#########################################

I have installed the two repo you mentioned above, and noticed https://github.com/mhekkel/libconfig.git has the file "libconfigCondig.cmake", so it confused me, to why the error still appears.

‘addFileResource’ is not a member of ‘cif’

Dear developers,
i have encountered following issues during compiling mkdssp.cpp:

src/mkdssp.cpp: In function 'int d_main(int, const char**)':
src/mkdssp.cpp:532:8: error: 'addFileResource' is not a member of 'cif'
532 | cif::addFileResource("components.cif", vm["compounds"].asstd::string());
| ^~~~~~~~~~~~~~~
src/mkdssp.cpp:534:8: error: 'addFileResource' is not a member of 'cif'
534 | cif::addFileResource("components.cif", vm["components"].asstd::string());
| ^~~~~~~~~~~~~~~
src/mkdssp.cpp:542:8: error: 'addFileResource' is not a member of 'cif'
542 | cif::addFileResource("mmcif_pdbx_v50.dic", vm["mmcif-dictionary"].asstd::string());
| ^~~~~~~~~~~~~~~
make: *** [obj/mkdssp.o] Error 1

i have already installed libcifpp ver 1.0.0 and boost ver 1.76.0
the compilation is carried out with gnu compiler ver 9.3.0
what can i do with the problem??
thank you very much in advance

Koichi

Tag 4.0.0 release

Hello,

I was trying to download the official tarball for dssp-4.0.0 but I couldn't find it. Before cloning the git repo, I thought that maybe tagging a 4.0.0 release here would also help others (like other downstreams trying to package updated dssp for their distributions)

Thanks a lot

Unable to use MRC

Hello everyone,

I am not able to use MRC while invoking cmake for DSSP installation:

cmake --cifpp_DIR=/home/peter/libcifpp/build/cifpp/ ..


-- Could NOT find Mrc (missing: MRC_EXECUTABLE) 
CMake Warning at CMakeLists.txt:128 (find_package):
  Found package configuration file:

    /home/peter/mrc/mrc-config.cmake

  but it set Mrc_FOUND to FALSE so package "Mrc" is considered to be NOT
  FOUND.


CMake Warning at CMakeLists.txt:133 (message):
  Not using resources since mrc was not found


-- Configuring done
-- Generating done
-- Build files have been written to: /home/peter/dssp/build

Could someone please highlight the issue here?

If I proceed without making any changes, I get the following errors in the next step:

cmake --build . --config Release


Scanning dependencies of target unit-test
[ 16%] Building CXX object CMakeFiles/unit-test.dir/test/unit-test.cpp.o
[ 33%] Building CXX object CMakeFiles/unit-test.dir/src/dssp.cpp.o
[ 50%] Linking CXX executable unit-test
/usr/bin/ld: CMakeFiles/unit-test.dir/src/dssp.cpp.o: in function `boost::date_time::month_formatter<boost::gregorian::greg_month, boost::date_time::iso_extended_format<char>, char>::format_month(boost::gregorian::greg_month const&, std::ostream&)':
dssp.cpp:(.text._ZN5boost9date_time15month_formatterINS_9gregorian10greg_monthENS0_19iso_extended_formatIcEEcE12format_monthERKS3_RSo[_ZN5boost9date_time15month_formatterINS_9gregorian10greg_monthENS0_19iso_extended_formatIcEEcE12format_monthERKS3_RSo]+0x4c): undefined reference to `boost::gregorian::greg_month::as_short_string() const'
/usr/bin/ld: dssp.cpp:(.text._ZN5boost9date_time15month_formatterINS_9gregorian10greg_monthENS0_19iso_extended_formatIcEEcE12format_monthERKS3_RSo[_ZN5boost9date_time15month_formatterINS_9gregorian10greg_monthENS0_19iso_extended_formatIcEEcE12format_monthERKS3_RSo]+0x6f): undefined reference to `boost::gregorian::greg_month::as_long_string() const'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/unit-test.dir/build.make:105: unit-test] Error 1
make[1]: *** [CMakeFiles/Makefile2:106: CMakeFiles/unit-test.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

Regards
Peter

Error in cmake build

I get the below error when running cmake --build . for both mrc and dssp. libcifcpp seems to compile just fine

/bin/ld: CMakeFiles/mrc-unit-test.dir/mrc-unit-test.cpp.o: in function `boost::unit_test::timer::timer::elapsed() const':
mrc-unit-test.cpp:(.text._ZNK5boost9unit_test5timer5timer7elapsedEv[_ZNK5boost9unit_test5timer5timer7elapsedEv]+0x43): undefined reference to `clock_gettime'

cmake version 3.24.0
cpp (conda-forge gcc 10.4.0-16) 10.4.0
cc (conda-forge gcc 10.4.0-16) 10.4.0
GNU ld (GNU Binutils) 2.36.1
CentOS Linux 8

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.