Write a function to draw backbone of the protein, Programming Languages

Write a function drawCA(aname, coords) that uses the plot3 command to draw the Cα backbone of the protein. When calling this function, you should pass in the aname and coords variables returned by the readPDBfile function from Part 1. Your function for this part does not return anything; it draws a 3D plot.

Your drawCA function should loop over all the atoms, and pull out the xyz coordinates for all atoms with the name ' CA ', and ignore all the other atoms. The plot3() function is the 3D equivalent of the familiar plot(), and is called in much the same way. Try doc plot3 for more information.

Posted Date: 4/2/2013 1:59:41 AM | Location : United States







Related Discussions:- Write a function to draw backbone of the protein, Assignment Help, Ask Question on Write a function to draw backbone of the protein, Get Answer, Expert's Help, Write a function to draw backbone of the protein Discussions

Write discussion on Write a function to draw backbone of the protein
Your posts are moderated
Related Questions
I have a problem which seems to be quite a rare one and I can safely say I know what exactly what is causing it. After some process of elimination I reached the conclusion that, in

Write a program that draws the initials J G P on the form similar to that shown in Fig J 1 (using straight lines and curve semicircles). The figure can not have corners. All ends a

Implement a two-dimensional table in Prolog. Your program will contain: 1.  An insert_entry predicate that takes a table, row, column and an entry and inserts the entry at the g

The schematic of the traffic light controller is as shown in figure 1. There are three control buttons on the panel: HAZ (Hazard), LT (Left) and RT (Right). Whenever, HAZ is clicke

Design an application that opens and analyses word files. Requirements: Create an application that analyses text documents. It should open a text file, read each word in

n2=2:100; t=3; while t { g3(t)=(1/2)*(0.63)*(0.8.^(n2)); t=t+1; } g3(1)=0; g3(2)=0; what is wrong with the code above? it tells me that line: g3(t)=(1/2)

I have to create a bank atm machine using MS-DOS. I am struggling to create LIST ALL ACCOUNTS ROLL-BACK TRANSACTIONS ACCESS AN ACCOUNT

Question: (a) Outline the six norms to be considered before designing a Web page. (b) Write a program such that when a user right-clicks anywhere on a Web page, the follow

Problem Specification I/O programming is the \bread and butter", the raison d'etre, of microcontrollers. After all, our definition of a microcontroller is \a microprocessor wit

i have a database having field name title and comm. I want to search by name and get the all data remaining title and comm(comm is integer)