Andrew Severin | 6 Sep 2007 22:25
Favicon

calcDaRh.py

I have noticed when I use this script with my data that I get this

WARNING: large difference in mode (maximum of distribution)
calcDaRh.py(385):     print "  observed: %7.3f  calculated: %7.3f" % (modeObs,modePowder)
  observed:   5.920  calculated: -19.595


I realize that this means the calculated result isn't representative of the data.  Does this mean I can not use this script with my data?  Is there a common error I may have made with the data that causes this error?

Any suggestions would be appreciated.


Andrew Severin
Graduate Student
Biochem/Biophys
Iowa State University

_______________________________________________
Xplor-nih mailing list
Xplor-nih <at> nmr.cit.nih.gov
http://dcb.cit.nih.gov/mailman/listinfo/xplor-nih
Charles | 6 Sep 2007 22:57

Re: calcDaRh.py


Hello Andrew--

> I have noticed when I use this script with my data that I get this
> 
> WARNING: large difference in mode (maximum of distribution)
> calcDaRh.py(385):     print "  observed: %7.3f  calculated: %7.3f" %
> (modeObs,modePowder)
>   observed:   5.920  calculated: -19.595
> 
> 
> I realize that this means the calculated result isn't representative of the
> data.  Does this mean I can not use this script with my data?  Is there a
> common error I may have made with the data that causes this error?

I think there's a bug in the released version of calcDaRh.py. Please
grab an updated version from 
http://nmr.cit.nih.gov/xplor-nih/updates/current/

The warning may go away with the new version.

thanks--
Charles
Mahalakshmi Radhakrishnan | 18 Sep 2007 19:10

Different outputs for different OSs

Hello!

I have been trying to refine the structure of my protein using dipolar 
coupling constraints using the latest version (2.18) of Xplor-NIH. I 
downloaded and installed the package for both Linux (CentOS) and Mac (iMac).

When I ran my data files, I found that the output files showed different 
violations for the same input files in the two OSs. I used the same 
seed, the same set of dipolar couplings and the same input structure, 
for refinement. The iMac version shows more violations in the output 
file vs the one installed in the CentOS system. Has this been seen 
before? Which output file do I work on?
I can mail the input and output files if you want to have a look at it.

Thank you so much!

With best regards,
Maha
---
R. Mahalakshmi
Postdoctoral Associate
Marassi Lab
Burnham Institute for Medical Research
La Jolla, CA 92037
Ph: 858-646-3100x3724
Charles | 18 Sep 2007 19:49

Re: Different outputs for different OSs


Hello Maha--

> When I ran my data files, I found that the output files showed different 
> violations for the same input files in the two OSs. I used the same 
> seed, the same set of dipolar couplings and the same input structure, 
> for refinement. The iMac version shows more violations in the output 
> file vs the one installed in the CentOS system. Has this been seen 
> before? Which output file do I work on?

The two binaries were produced with different compilers and utilize
different libraries on the two platforms- therefore, different results
are expected. However, when you calculate enough structures, these
differences should wash out. 

If you are convinced there is a problem, please calculate 20 structures
on each platform. If the results in the resulting .stats files do not
overlap, then there probably really is a problem, and I should take a
look.

best regards--
Charles
Gary Thompson | 27 Sep 2007 15:27
Picon

fitting speed

Hi
I am using the Fit and RMSD objects to fit structures to a starting 
structure as shown in the example python/tests/fitTest.py . However, it 
seems to be incredibly slow (it takes minutes to fit 50 structures with 
CA overlay and 150 residues...) is this expected

regards
gary

--

-- 
-------------------------------------------------------------------
Dr Gary Thompson
Astbury Centre for Structural Molecular Biology,
University of Leeds, Astbury Building,
Leeds, LS2 9JT, West-Yorkshire, UK             Tel. +44-113-3433024
email: garyt <at> bmb.leeds.ac.uk                   Fax  +44-113-2331407
-------------------------------------------------------------------
John Kuszewski | 27 Sep 2007 18:44
Picon

Re: fitting speed

Hi Gary,

Sounds painful.  The TCL version is very fast.  Take a look at
xplor/tcl/noe_reporting.tcl  There's a proc called  
summarizeMarvinResults.
Inside it are calls to TCL procs called meanStruct,  
compareToReference, and structPrecision.

You'd use it something like this:

set allFiles [grabPDBFiles -fileNames [glob *.pdb]]

set backboneSel [AtomSel -args "(name ca or name c or name n)"]
set heavyatomSel [AtomSel -args "(not name h*)"]

meanStruct -files $allFiles -selection $backboneSel

set bbnRMSD [compareToReference -referenceFileName "answer.pdb" - 
selection $backboneSel]
set heavyRMSD [compareToReference -referenceFileName "answer.pdb" - 
selection $heavyatomSel]

set precisionReport [structPrecision -files $allFiles \
					-backboneSelection $backboneSel \
					-heavyatomSelection $heavyatomSel \
					-verbose]

puts [format "Accuracy of the mean structure is %f A backbone, %f A  
heavyatoms" $bbnRMSD $heavyRMSD]
puts [format "Precision of the individual ensemble members to the  
mean is %s" $precisionReport]

Hope this helps.

--JK

On Sep 27, 2007, at 9:27 AM, Gary Thompson wrote:

> Hi
> I am using the Fit and RMSD objects to fit structures to a starting
> structure as shown in the example python/tests/fitTest.py .  
> However, it
> seems to be incredibly slow (it takes minutes to fit 50 structures  
> with
> CA overlay and 150 residues...) is this expected
>
> regards
> gary
>
> -- 
> -------------------------------------------------------------------
> Dr Gary Thompson
> Astbury Centre for Structural Molecular Biology,
> University of Leeds, Astbury Building,
> Leeds, LS2 9JT, West-Yorkshire, UK             Tel. +44-113-3433024
> email: garyt <at> bmb.leeds.ac.uk                   Fax  +44-113-2331407
> -------------------------------------------------------------------
>
>
> _______________________________________________
> Xplor-nih mailing list
> Xplor-nih <at> nmr.cit.nih.gov
> http://dcb.cit.nih.gov/mailman/listinfo/xplor-nih
Charles | 27 Sep 2007 20:06

Re: fitting speed


Hello Gary--

> I am using the Fit and RMSD objects to fit structures to a starting 
> structure as shown in the example python/tests/fitTest.py . However, it 
> seems to be incredibly slow (it takes minutes to fit 50 structures with 
> CA overlay and 150 residues...) is this expected

That is not expected. Something's wrong- I suspect an I/O issue. Which
platform are you running on? Is you send your script I should be able to
help.

regards--
Charles
Gary Thompson | 28 Sep 2007 18:14
Picon

Re: fitting speed


> Hello Gary--
>
>> > I am using the Fit and RMSD objects to fit structures to a starting 
>> > structure as shown in the example python/tests/fitTest.py . However, it 
>> > seems to be incredibly slow (it takes minutes to fit 50 structures with 
>> > CA overlay and 150 residues...) is this expected
>
> That is not expected. Something's wrong- I suspect an I/O issue. Which
> platform are you running on? Is you send your script I should be able to
> help.
>
> regards--
> Charles

Hi Charles

IO speed could be the problem here as we do have known IO speed problems its just that i wasn't aware that they
were that bad, I will have to investigate further

regards
gary
--

-- 
-------------------------------------------------------------------
Dr Gary Thompson
Astbury Centre for Structural Molecular Biology,
University of Leeds, Astbury Building,
Leeds, LS2 9JT, West-Yorkshire, UK             Tel. +44-113-3433024
email: garyt <at> bmb.leeds.ac.uk                   Fax  +44-113-2331407
-------------------------------------------------------------------
Jeff Ellena | 28 Sep 2007 18:50
Favicon

planeDistPot

Hi,

 

I have used eginput/prot_prot/sa_cross_tor.inp as a starting point for a similar calculation that included classic Xplor harmonic plane restraints. I would now like to use the new planeDistPot instead of classic Xplor harmonic plane restraints. I expect that to use planeDistPot one has to use the python versions of the commands for dynamics and energy minimization or can one use the classic Xplor dynamics and energy minimization commands and add planeDistPot to a classic include statement? Can you direct me to any examples which use planeDistPot? I looked at the xplorNIH python reference manual but I can’t find the format required for specifying the atoms that define the plane (oAtom, xAtom, and yAtom). Can you provide a description and/or example of the format required for specification of the atoms defining the plane? My calculation will include two molecules, one will undergo dynamics and energy minimization and the other will be fixed and contain the atoms defining the plane.

 

Thanks,

Jeff Ellena

 

_______________________________________________
Xplor-nih mailing list
Xplor-nih <at> nmr.cit.nih.gov
http://dcb.cit.nih.gov/mailman/listinfo/xplor-nih
Charles | 28 Sep 2007 19:42

Re: fitting speed


Hello Gary--

> 
> IO speed could be the problem here as we do have known IO speed
> problems its just that i wasn't aware that they were that bad, I will
> have to investigate further 
> 

For reading the files in the loop: use pdbTool, not the helpers in
protocol, as the former has less overhead. You also might try
eginput/gb1_rdc/aveStruct.py, as that fits structures as a side-effect.

beest regards--
Charles

Gmane