Re: Group to AminoAcid ?

Andreas Prlic <[email protected]>
Newsgroups gmane.comp.java.bio.general
Message-ID <[email protected]>
Hi Jay,

you could do this:

if ( group instanceof AminoAcid ) {
 AminoAcid aa = (AminoAcid) group;
}

A


On Wed, May 11, 2011 at 2:42 PM, Jay Vyas <[email protected]> wrote:

> Hi Everyone :  Im trying to convert a "Group" to an "AminoAcid" in biojava,
> so that I can use the "getPhi()" "getPsi()" on my protein.  My input is
> just
> a Chain of Groups (typical pdb structure).
>
> I figured maybe I could make one using the AminoAcid constructor, so I
> tried
>
> //Group g
> new AminoAcidImpl(g)
>
> but of course, this isnt in the api.
>
> Any ideas ?
> _______________________________________________
> Biojava-l mailing list  -  [email protected]
> http://lists.open-bio.org/mailman/listinfo/biojava-l
>
_______________________________________________
Biojava-l mailing list  -  [email protected]
http://lists.open-bio.org/mailman/listinfo/biojava-l
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.