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
create a program that can determine the number of students that are doing their final year for a particular program (e.g. BCOM Information Systems), calculate the required credits

We want a program that will allow us to print a "grade list" of the students in a class. The program should loop, asking for a name, midterm score, and final score. It should th

Write a script called 'prob3.m' that does the same thing as the previous question except that it makes use of a switch-case construct instead of an if-else. In the file 'hw4.m'


Write an assembly program that computes Fibonacci numbers 2-5. a. Assume Fib(0)=0 and Fib(1)=1. b. Store Fib(2) in EAX, Fib(3) in EBX, Fib(4) in ECX and Fib(5) in EDX. c. Use a LOO

This section is proposed to be a catch all for several of the fundamental concepts which are used occasionally in working with systems of differential equations. There will not be

Write a Prolog predicate has_duplicates(L) that is true if list L contains duplicated elements (that is at least 2 copies of an element). For instance: ?- has_duplicates([a,e,b,

Task 1 Think about a Web site you would like to work on for Assignment 2. For example, you can do a personal interest site, a site for your favourite nonprofit organization,

need a command to : Display user id, first and last names of all the students the class specified by the prefix in alphabetical order by last name from /etc/passwd

The idea of this section is not to do anything new along with a series solution problem.  Instead this is here to exemplify that moving in a higher order differential equation does