Re: Troubleshooting model-free analysis

2016-08-08 Thread Edward d'Auvergne
On 8 August 2016 at 21:04, Mahdi, Sam  wrote:
> Hi, I had some general questions regarding model-free analysis that came up
> as I was running it. About 2 months ago, I ran model-free on a 126 residue
> protein. The pdb file I used for the protein had an extra 7 residue
> modifier at one of the terminals, which made it 133 residues; thus, my data
> did not match the pdf file. That run took a little over a week, with the
> sphere model running about 2 models, along with every other model being
> about 2. The data for this run I obtained was unusable (values as small as
> 5x10^-30 for S^2). I attributed this to the fact that my pdf files sequence
> did not align with my data.

Do you mean that the residue numbers were out by 7?  I have considered
this, but relax currently has no way of renumbering the residues in a
3D structure or renumbering the residues of the input data.  So
unfortunately you'll either have to use a molecular view to change
your PDF file, or a script or spreadsheet to renumber your input data.


> I adjusted my relax data (simply added 7 residues with no values), and ran
> it again (all settings the same as before, everything automatic).

I don't think that your data will match up to the correct residues.
The residue numbers in the PDB file and the input relaxation data must
be exact matches.

> This time
> it has taken almost a month, with the sphere model on its 20th run. I saw
> in a previous email that the max is 30 iterations. Is it normal to hit the
> max? Does this mean my data is bad if it requires the max 30 iterations?
> Also, why is it running up to 20 now? The 7 residues I added didn't have
> data, so it doesn't run models for them. I assumed there would be a
> difference in time since the data is now attributed to different spins, but
> not this much of a difference.

If the 3D info and input data do not match, then the results for
non-isotropic (ellipsoidal and spheroidal diffusion) will make no
sense.  In relax you should never need to add relaxation data for
these 7 residues, as relax will handle this situation automatically.
What does your input relaxation data look like?

Regards,

Edward

___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users


Troubleshooting model-free analysis

2016-08-08 Thread Mahdi, Sam
Hi, I had some general questions regarding model-free analysis that came up
as I was running it. About 2 months ago, I ran model-free on a 126 residue
protein. The pdb file I used for the protein had an extra 7 residue
modifier at one of the terminals, which made it 133 residues; thus, my data
did not match the pdf file. That run took a little over a week, with the
sphere model running about 2 models, along with every other model being
about 2. The data for this run I obtained was unusable (values as small as
5x10^-30 for S^2). I attributed this to the fact that my pdf files sequence
did not align with my data.

I adjusted my relax data (simply added 7 residues with no values), and ran
it again (all settings the same as before, everything automatic). This time
it has taken almost a month, with the sphere model on its 20th run. I saw
in a previous email that the max is 30 iterations. Is it normal to hit the
max? Does this mean my data is bad if it requires the max 30 iterations?
Also, why is it running up to 20 now? The 7 residues I added didn't have
data, so it doesn't run models for them. I assumed there would be a
difference in time since the data is now attributed to different spins, but
not this much of a difference.

Thank you in advance!
___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users


Re: error in final execution of NOE in relax

2016-08-08 Thread Edward d'Auvergne
On 24 June 2016 at 06:49, Rakesh Sharma  wrote:
> Dear all,
>
> I am getting an error in final step of NOE which is the "execution" step.
> the error reads as follows:
>
> Traceback (most recent call last):
>   File "gui/analyses/execute.py", line 87, in run
> self.run_analysis()
>   File "gui/analyses/auto_noe.py", line 378, in run_analysis
> NOE_calc(pipe_name=self.data.pipe_name,
> pipe_bundle=self.data.pipe_bundle, file_root=self.data.file_root,
> results_dir=self.data.save_dir, save_state=False)
>   File "auto_analyses/noe.py", line 90, in __init__
> self.run()
>   File "auto_analyses/noe.py", line 105, in run
> self.interpreter.minimise.calculate()
>   File "prompt/uf_objects.py", line 225, in __call__
> self._backend(*new_args, **uf_kargs)
>   File "pipe_control/minimise.py", line 102, in calc
> api = return_api()
>   File "specific_analyses/api.py", line 133, in return_api
> from specific_analyses.noe.api import Noe
> ImportError: No module named api
>
>
> I have loaded my ref and sat files and when i  try to execute i am getting
> this error every time.
> basic informations:
> I have used all files from test suite itself.
> and the loaded spins are from a structure file 172 spin system
> every step same as mentioned in program noe.py  or manual gui.
>
> if anyone can help me please reply .
> waiting for your reply.

Hi Rakesh (or Akshay?),

Sorry for the late reply, I have been quite busy over the last two
months and have been unable to reply to any messages.  For this error,
which version of relax are you using?  And which operating system are
you running on?  What do you see when you run:

$ relax -i --tee log

This error is quite strange, as the file that cannot be imported
should exist on the system:

[edward@localhost relax-trunk]$ ls specific_analyses/noe/api.py
specific_analyses/noe/api.py

Can you run the test suite?  The following should give zero errors:

$ relax --test-suite --tee tests.log

From the error itself, this simply means that the file
specific_analyses/noe/api.py is missing.  Are you sure your downloaded
relax distribution file is not corrupt?  Does the md5sum value match
the published value:

http://www.nmr-relax.com/download.html

Regards,

Edward

___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users


Re: Troubleshooting model-free analysis

2016-08-08 Thread Edward d'Auvergne
Hi Sam,

Welcome to the relax mailing lists.  Sorry for the late reply, I've
been quite busy for the last two months.  Please see below:

On 2 July 2016 at 02:41, Mahdi, Sam  wrote:
> I had 2 questions regarding the relax model-free analysis.
> 1: When uploading a pdb file for the spin system, is there a certain way to
> have some residues spins ignored?

I guess you mean reading the spin system from a PDB file.  You can do
this when running the structure.load_spins user function via the
spin_id parameter:

http://www.nmr-relax.com/manual/structure_load_spins.html

Or you can do this afterwards, either using the deselect.spin or
spin.delete user functions:

http://www.nmr-relax.com/manual/deselect_spin.html
http://www.nmr-relax.com/manual/spin_delete.html

> i.e. give it a certain range. E.g. The
> structural data for the pdb file I want uses an extra linker at the
> C-terminus of my protein that is about 7 residues long. The relaxation data
> I have however is for the protein without those 7 extra residues (thus
> residue 7 for the pdb file is residue 1 for my relaxation data). Is there a
> way I can get the relax program to ignore the first 7 residues?

If this is a model-free analysis, the residues without data will be
automatically deselected prior to optimisation (you'll see this in the
logs).

> I tried
> typing in the range I wanted (residue 8 to residue 133 inputed as [8-133])
> in the molecule number to read option, but when I did that, it gave me this
> error RelaxError: No PDB file has been loaded. When I removed the range, it
> uploaded the file but with all the residues, including the linker I didn't
> want.

Ah, I think you might be confusing the loading of a structural file
and the creation of NMR-active spin systems.   All atoms of the
structural file will be loaded into relax, but none of these atoms
will be set a spin systems.  You then have to use the
structure.load_spins user function to pick our the NH atoms pairs of
interest.


> 2: The relaxation data I have is for the backbone (NH), thus the values I
> have for the backbone are for that bond. The pdb file I uploaded has both
> of their spins. The relaxation data I have is one value for each residue
> (for the NH bond). So I assumed that value is the same for both the
> Nitrogen and Hydrogen spin of that residue. E.g. If residue 3 has a R1
> value of 1.03, I assume the nitrogen spin and hydrogen spin both have an R1
> value of 1.03.

This is not correct.  The proton relaxation values will be very
different.  Note that almost no one collects this data as the proton
spin cannot be considered as isolated.  Therefore the normal
assumptions for a model-free analysis of an isolated two spin system
do no hold.  E.g. spin diffusion is an important effect in protons.
This is also why carbon relaxation and model-free analyses are only
performed at natural abundance, to ensure that the system is isolated.

> When I upload the relaxation data with the Nitrogen @N spin
> id string it works fine, each residue has the proper value. However, the
> value for the hydrogen is 0 for each residue.  I tried to create a new data
> set, this time with the spin id string for Hydrogen using the same R1 file
> I had used for the nitrogen, but when I did this I was given this error:
> RelaxWarning: The sequence data in the line ['Residue', 'R1', 'Error'] is
> invalid, the residue number data 'Residue' is invalid.
> RelaxWarning: The sequence data in the line ['0', '0'] is invalid, the
> error data is missing.
> RelaxWarning: The sequence data in the line ['0', '0'] is invalid, the
> error data is missing.
> RelaxWarning: The sequence data in the line ['0', '0'] is invalid, the
> error data is missing.
> RelaxWarning: The sequence data in the line ['0', '0'] is invalid, the
> error data is missing.
> RelaxWarning: The sequence data in the line ['0', '0'] is invalid, the
> error data is missing.
> Traceback (most recent call last):
>   File "/usr/local/Relax/relax-2.2.5/gui/wizard.py", line 163, in _apply
> self.exec_status = self.on_execute()
>   File "/usr/local/Relax/relax-2.2.5/gui/uf_objects.py", line 867, in
> on_execute
> return_status = self.execute(self.name, **kargs)
>   File "/usr/local/Relax/relax-2.2.5/gui/uf_objects.py", line 797, in
> execute
> return_status = interpreter.apply(uf, *args, **kwds)
>   File "/usr/local/Relax/relax-2.2.5/gui/interpreter.py", line 112, in apply
> apply(fn, args, kwds)
>   File "/usr/local/Relax/relax-2.2.5/generic_fns/relax_data.py", line 1033,
> in read
> pack_data(ri_id, ri_type, frq, values, errors, mol_names=mol_names,
> res_nums=res_nums, res_names=res_names, spin_nums=spin_nums,
> spin_names=spin_names, spin_id=spin_id)
>   File "/usr/local/Relax/relax-2.2.5/generic_fns/relax_data.py", line 870,
> in pack_data
> new_id = new_ids[0]
> IndexError: list index out of range

You should simply not load any data for the proton.  Then the analysis
will 

Re: Issue in ModelFree Calculation

2016-08-08 Thread Edward d'Auvergne
On 20 July 2016 at 16:02, Troels Emtekær Linnet  wrote:
> Hi.
>
> Did you compile relax yourself?
> Try compiled version of relax.
>
> Have you tried running the systemtests?
> http://wiki.nmr-relax.com/Installation_test
>
> It looks like you are running mpirun.
> Try running without.
>
> Or look here:
> http://wiki.nmr-relax.com/Run_relax_at_Google_Cloud_Computing
>
> http://wiki.nmr-relax.com/OpenMPI#Relax_In_multiprocessor_mode
>
> 2016-07-20 15:18 GMT+02:00 :
>
>> Dear all,I am a new user of Relax and I am trying to perform ModelFree
>> calculation with a 207 residue protein using both fully automated and
>> manual protocol of Relax GUI mode. But every time the calculation is
>> stopped with a "bad_alloc" error. The details of the is as follows:
>> terminate called after throwing an instance of 'std::bad_alloc'what():
>>  std::bad_alloc*** Process received signal ***Signal: Aborted (6)Signal
>> code:
>>  
>> (-6)[0x2e040c]/lib/libc.so.6(abort+0x17a)[0xb415ea]/usr/lib/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x167)[0x65c0397]/usr/lib/libstdc++.so.6(+0x57f226)[0x65be226]/usr/lib/libstdc++.so.6(+0x57f263)[0x65be263]/usr/lib/libstdc++.so.6(+0x57f3a2)[0x65be3a2]/usr/lib/libstdc++.so.6(_Znwj+0x87)[0x65be937]/usr/lib/libstdc++.so.6(_ZNSbIwSt11char_traitsIwESaIwEE4_Rep9_S_createEjjRKS1_+0x79)[0x65b35a9]/usr/lib/libstdc++.so.6(_ZNSbIwSt11char_traitsIwESaIwEE9_M_mutateEjjj+0x51)[0x65b5471]/usr/lib/libstdc++.so.6(_ZNSbIwSt11char_traitsIwESaIwEE15_M_replace_safeEjjPKwj+0x3b)[0x65b562b]/usr/lib/libstdc++.so.6(_ZNSbIwSt11char_traitsIwESaIwEE6assignEPKwj+0x5f)[0x65b56ef]/usr/local/lib/libwx_gtk2u_stc-3.0.so.0(+0x3a535)[0x1fc8535]/usr/local/lib/libwx_gtk2u_stc-3.0.so.0(+0x40714)[0x1fce714]/usr/local/lib/libwx_gtk2u_stc-3.0.so.0(+0x7c1bd)[0x200a1bd]/usr/local/lib/libwx_gtk2u_stc-3.0.so.0(+0x7c38f)[0x200a38f]/usr/local/lib/libwx_gtk2u_stc-3.0.so.0(+0x83a3f)[0x2011a3f]/usr/local/lib/libwx_gtk2u_stc-3.0.so.0(+0x98d24)[0x2026d24]/usr/local/lib/libwx_gtk2u_stc-3.0.so.0(+0x3f03e)[0x1fcd03e]/usr/local/lib/libwx_gtk2u_stc-3.0.so.0(_ZNK16wxStyledTextCtrl7SendMsgEiml+0x2f)[0x1fae5ff]/usr/local/lib/libwx_gtk2u_stc-3.0.so.0(_ZN16wxStyledTextCtrl17SetSelectionStartEi+0x34)[0x1fb0f34]/usr/local/lib/libwx_gtk2u_stc-3.0.so.0(+0x33dd4)[0x1fc1dd4]/usr/lib/python2.6/site-packages/wx-3.0-gtk2/wx/_core_.so(+0x10a489)[0x10b0489]/usr/lib/libpython2.6.so.1.0(PyCFunction_Call+0x148)[0x2d77218]/usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x499f)[0x2dd475f]/usr/lib/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x85d)[0x2dd63fd]/usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x48de)[0x2dd469e]/usr/lib/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x85d)[0x2dd63fd]/usr/lib/libpython2.6.so.1.0(PyEval_EvalFrameEx+0x48de)[0x2dd469e]/usr/lib/libpython2.6.so.1.0(PyEval_EvalCodeEx+0x85d)[0x2dd63fd]/usr/lib/libpython2.6.so.1.0[0x2d63397]***
>> End of error message
>> ***--mpirun
>> noticed that process rank 0 with PID 15605 on node madhava exited on signal
>> 6
>> (Aborted).--
>> So kindly suggest some details about the error and suggest specific hints
>> to resolve the problem.Thanks in advance.
>> Aritra BejDoctoral FellowCSIR - IICB

Hi Aritra,

Did you get a change to look at Troels' suggestions?  Do you see this
error when you run the test suite?  To me this looks like a faulty
installation of wxPython.  These errors and the files listed have
nothing to do with relax.  What is your output when you run:

$ relax -i

Can you run the wxPython demo or the wxPython tests to make sure this
is set up correctly?

Regards,

Edward

___
relax (http://www.nmr-relax.com)

This is the relax-users mailing list
relax-users@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-users