This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Help With A Biojava Method "Getproteinsequenceforstructure"

I am still a newbie to biojava. I wanted a sample example to learn how to use getProteinSequenceForStructure(Structure struct, Map<Integer,Group> groupIndexPosition) of class StructureSequenceMatcher to obtain a the protein sequence. I have the pdb file of a protein and i know how to get the structure based on the pdbid. I need to get the protein sequence from the structure now.. Please help me..

biojava

1 answer

Read the documentation, there is an example how to read a pdb file: http://www.biojava.org/docs/api/org/biojava/bio/structure/Structure.html

Hi Michael! The example does show how to read a PDB file but now how to use the method in question.

OP has not been active for >6 months so I'm toggling the Accepted Status on this now.

Log in to answer this question.