Hi,
In addition to the good advice given by others, I did want to mention
that cpptraj has some limited wildcard support.
On Thu, Jan 14, 2016 at 5:25 AM, Falko Jähnert
<falko.jaehnert.biochemtech.uni-halle.de> wrote:
> Is there a way in cpptraj to call multiple files with one trajin command? (i.e.: trajin xxx1.mdcrd xxx2.mdcrd xxx3.mdcrd)
The trajin and parm commands both understand file wildcards (*, ?), so
assuming 'ls *_?.mdcrd' gives you the order you want you could do:
trajin *_?.mdcrd
Any other keywords you provide to 'trajin' (start, stop etc) will be
applied to all files selected this way.
> Alternative, is it possible to get those trajin commands in a single line? (i.e.: trajin xxx1.mdcrd; trajin xxx2.mdcrd; trajin xxx3.mdcrd)
Not at this time.
Hope this helps,
-Dan
>
> This will enforce the way I have to use for implementing the array filling function.
>
> Thanks in advance for your help! Hope, I didn't oversee these question in the Mailing Archive...
> Falko.
>
>
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
--
-------------------------
Daniel R. Roe, PhD
Department of Medicinal Chemistry
University of Utah
30 South 2000 East, Room 307
Salt Lake City, UT 84112-5820
http://home.chpc.utah.edu/~cheatham/
(801) 587-9652
(801) 585-6208 (Fax)
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Jan 14 2016 - 08:30:04 PST