Hi,
On 19 Sep, 2013, at 02:46, Natalia Kanaan Izquierdo wrote:
> Hi all,
> I'm using the module MDAnalysis.analysis.hbonds and it works but, depending on the selection, it doesn't.
> For instance, if my selection is:
> h = MDAnalysis.analysis.hbonds.HydrogenBondAnalysis(u, 'resname HSP and resid 151', 'resname TIP3', distance=3.0, angle=120.0)
> it works, but if it is:
> h = MDAnalysis.analysis.hbonds.HydrogenBondAnalysis(u, 'resname THY and resid 11', 'resname TIP3', distance=3.0, angle=120.0)
What kind of residue is "THY"?
What are the atoms called? If this is non-standard then you might have to explicitly say which atoms are considered donors or acceptors. See http://pythonhosted.org/MDAnalysis/documentation_pages/analysis/hbonds.html#MDAnalysis.analysis.hbonds.HydrogenBondAnalysis
If you think that your atoms names will be of general use to the community then we can add them to the code.
Oliver
> I checked and it understands the selection, but there is a problem when it is searching for the neighbours.
> Does anyone have a clue on what the problem can be?
> Thanks a lot in advance,
> Natal
>
> --
> You received this message because you are subscribed to the Google Groups "MDnalysis discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to mdnalysis-discussion+unsub...@googlegroups.com.
> > To unsubscribe from this group and stop receiving emails from it, send an email to mdnalysis-discussion+unsub...@googlegroups.com.
> > To post to this group, send email to mdnalysis-...@googlegroups.com.
> > Visit this group at http://groups.google.com/group/mdnalysis-discussion.
> > For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> Oliver Beckstein * orbe...@gmx.net
> skype: orbeckst * orbe...@gmail.com
>
>
> --
> You received this message because you are subscribed to the Google Groups "MDnalysis discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to mdnalysis-discussion+unsub...@googlegroups.com.
> > To unsubscribe from this group and stop receiving emails from it, send an email to mdnalysis-discus...@googlegroups.com.
> > To post to this group, send email to mdnalysis-...@googlegroups.com.
> > Visit this group at http://groups.google.com/group/mdnalysis-discussion.
> > For more options, visit https://groups.google.com/groups/opt_out.
>
> --
> Oliver Beckstein * orbe...@gmx.net
> skype: orbeckst * orbe...@gmail.com
>
>
> --
> You received this message because you are subscribed to the Google Groups "MDnalysis discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to mdnalysis-discus...@googlegroups.com.
> To post to this group, send email to mdnalysis-...@googlegroups.com.
> Visit this group at https://groups.google.com/group/mdnalysis-discussion.
> For more options, visit https://groups.google.com/d/optout.
--
Oliver Beckstein * orbe...@gmx.net
skype: orbeckst * orbe...@gmail.com
--
You received this message because you are subscribed to the Google Groups "MDnalysis discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mdnalysis-discus...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mdnalysis-discus...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mdnalysis-discus...@googlegroups.com.