Combine flags file with command line arguments?

Member Site Forums Rosetta 3 Rosetta 3 – General Combine flags file with command line arguments?

Viewing 1 reply thread
  • Author
    Posts
    • #2106
      Anonymous

        Is it possible to combine a flags file with command line arguments?

        For example, something like this:

        minimize_with_cst.linuxgccrelease -in:file:l min_pdb_file_list @flags_file

        where flags_file contains additional options. Moreover, what is the effect of changing the order of command line arguments and flags files? Which takes precedence? That is, what is the difference between the above command and:

        minimize_with_cst.linuxgccrelease @flags_file -in:file:l min_pdb_file_list

        Thanks.

      • #10720
        Anonymous

          Not to put too fine a point on it, but you are a scientist – this is easy to determine experimentally.

          Rosetta definitely allows you to use command line flags and flags files simultaneously. Our integration testing system takes advantage of this, for example.

          If you specify multiple arguments for a command, it just uses the last one specified. If it is a vectorized flag (takes multiple arguments) it may append instead.

          It appears to parse options in the order they are specified, so the @file is processed after options that are before it and before options that are after it.

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