Help With A Biojava Method "Getproteinsequenceforstructure"
1
0
Entering edit mode
11.3 years ago

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 • 2.2k views
ADD COMMENT
1
Entering edit mode

Another case of RTFM

ADD REPLY
0
Entering edit mode
11.3 years ago
Michael 54k

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

ADD COMMENT
0
Entering edit mode

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

ADD REPLY
0
Entering edit mode

Then read the documentation of the method http://www.biojava.org/docs/api/org/biojava/bio/structure/io/StructureSequenceMatcher.html and combine them, the only objects you need is a Structure from reading the PDB file and an empty Map.

ADD REPLY
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 1954 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6