cartesian_ddg error: “Assertion `files.size() == 1` failed.”

Member Site Forums Rosetta 3 Rosetta 3 – Applications cartesian_ddg error: “Assertion `files.size() == 1` failed.”

Viewing 1 reply thread
  • Author
    Posts
    • #2918
      Anonymous

        I am trying to run the cartesian_ddg protocol (https://www.rosettacommons.org/docs/latest/cartesian-ddG).

        I am using the following command:


        cartesian_ddg.static.linuxgccrelease
        -database $ROSETTADB
        -s min_2b5i-A_0001_clean_0011.pdb
        –ddg:mut_file themutfile.txt
        -ddg:iterations 3
        -ddg::cartesian
        -ddg::dump_pdbs false
        -bbnbr 1
        -fa_max_dis 9.0
        -beta_cart

         

        where $ROSETTADB points to the database directory. I am attaching the .pdb and mutfile.

        I am getting the following error:


        Using mutfile: themutfile.txt
        core.init: Rosetta version: rosetta.binary.linux.release-171 r171 2018.09+release.333d996 333d99699777cd6a50d1c1736bacd689f8f1d1df https://www.rosettacommons.org 2018-02-27T09:57:00.705373
        core.init: command: cartesian_ddg.static.linuxgccrelease -database /home/cossio/apps/rosetta_bin_linux_2018.09.60072_bundle/main/database -s min_2b5i-A_0001_clean_0011.pdb –ddg:mut_file themutfile.txt -ddg:iterations 3 -ddg::cartesian -ddg::dump_pdbs false -bbnbr 1 -fa_max_dis 9.0 -beta_cart
        core.init: 'RNG device' seed mode, using '/dev/urandom', seed=-2080023677 seed_offset=0 real_seed=-2080023677
        core.init.random: RandomGenerator:init: Normal mode, seed=-2080023677 RG_type=mt19937

        ERROR: Assertion `files.size() == 1` failed.
        ERROR:: Exit from: src/basic/options/util.cc line: 49
        BACKTRACE:
        [0x58ccf98]
        [0x5566c4a]
        [0x4110dd]
        [0x5e12cf4]
        [0x61855d]
        caught exception

        File: src/basic/options/util.cc:49
        [ ERROR ] UtilityExitException
        ERROR: Assertion `files.size() == 1` failed.

         

         

         

      • #14239
        Anonymous

          This is kinda tricky — you have an en-dash before ddg:mut_file, rather than a dash. This means that you’re effectively passing a filename “<endash>ddg:mut_file” to the -s parameter, which is why you’re getting the error about number of files.

          This looks to be a mistake in the original documentation (which you apparently copy-pasted). Sorry about that. I’ll fix that for the next release.

          • #14240
            Anonymous

              Wow, that was subtle. Thanks a lot for taking a look.

        Viewing 1 reply thread
        • You must be logged in to reply to this topic.