You are here

Combine flags file with command line arguments?

2 posts / 0 new
Last post
Combine flags file with command line arguments?

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


Post Situation: 
Mon, 2014-12-22 13:52

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.

Tue, 2014-12-23 13:58