Hi,
On Thu, Jan 14, 2016 at 9:43 AM, Chris Moth <cmoth08.gmail.com> wrote:
> If this idea already exists, it should be very simple to wire in the
> very powerful boost:: regular expression parser.
Actually, I would prefer to keep cpptraj independent of the Boost
library. Even though it can do some very cool and powerful things, I
don't think that the benefits of introducing a dependency on Boost
outweigh the potential costs in terms of complexity and portability.
> If you care to point me to the bit of code that expands the wildcard
> currently, I'd welcome the chance to extend this.
Feel free to check out the cpptraj GitHub site:
https://github.com/Amber-MD/cpptraj
Let me know if you have any questions,
-Dan
>
> Chris
>
> On 01/14/2016 10:15 AM, Daniel Roe wrote:
>> 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
>>>
>>
>>
>
>
> _______________________________________________
> 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 - 13:00:03 PST