Re: [AMBER] cpptraj: dihcovar and projection need trajin to work properly?

From: Daniel Roe <daniel.r.roe.gmail.com>
Date: Wed, 1 Mar 2017 11:26:10 -0500

Hi,

This behavior occurs because of the way cpptraj (like ptraj before it)
is set up to handle 'Actions'. By definition, an 'Action' is something
that operates on input trajectory frames, which is why the 'matrix'
Action requires input trajectory frames. In reality the construction
of matrices from derived data (like dihedral covariance, IRED, etc)
should be an 'Analysis', but is in the 'matrix' Action for historical
reasons.

I should probably create an Analysis called 'buildmatrix' or something
for creating matrices from derived data in this manner. I'll open up
an issue on GitHub and try to get to it ASAP.

Thanks for the report! Let me know if anything is unclear or if you
have more questions.

-Dan


On Tue, Feb 28, 2017 at 10:33 AM, Thomas Fox <thomas_fox.gmx.net> wrote:
>
> Hi,
>
> I found a cpptraj behavior that I think is at least unintuitive:
>
> From a previous cpptraj run, I have a data set of dihedrals which I would
> like to further process in a separate cpptraj run.
> So I use the "readdata" and "dataset mode torsion" commands followed by
> "matrix dihcovar dihedrals".
> However, unless I have read in a structure with trajin before (a single
> frame is enough, no matter how large my data set is),
> the size of the resulting matrix is 0.
>
> I find this weird, as I dont need the parm or trajin info - I exclusively
> work on the data set I got from readdata.
> The same is true for the projection command...
>
> Ah, and this occurs both with Amber16 cpptraj and with the (current?)
> cpptraj (it says version V17.00b) I got from github.
>
> I have attached my cpptraj input file as well as the dihedral data file and
> the output files for the two cases.
>
> Best,
> Th.
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>



-- 
-------------------------
Daniel R. Roe
Laboratory of Computational Biology
National Institutes of Health, NHLBI
5635 Fishers Ln, Rm T900
Rockville MD, 20852
https://www.lobos.nih.gov/lcb
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Mar 01 2017 - 08:30:04 PST
Custom Search