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