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
Given grammar Grammar M following: 1 - - > begin end 2 - - > 3 - - > 4 - - > ? 5 - - > Id : = ; 6 - - > read ( ) ; 7 - - > write ( )

i have a=[0 1 1 2 2 3 6 7 0 4 ] i want to delent elemet but keep its position i.e a(4)=[] it gives me 0 1 1 2 3 6 7 0 4 but i need 0 1 1 [] 2 3 6 7 0 4

Improved Support for JavaScript Debugging ASP.NET has many benefits over vintage ASP in the place of debugging. You can now quickly debug your server-side value using the complete

Exception handling Exception handling is a mechanism that separates code that detects and handles exceptional circumstances from the rest of your program. Note that an exceptional

A non-empty string β is called a repeat pre x of a string s if ββ is a pre x of s. Give a linear time algorithm to find the longest repeat prefix of s. Hint: Think of using lca

write a function that raises an integer to a positive integer power. call the function x_to_the_n taking two integer arguments x and n. have the function return a long int, which r

Your task for this project is to develop a system that would provide the following features: 1. Register new student 2. Drop student from university 3. Add a course and gr

Extensive programming platform .NET It is a new, simple, and comprehensive selection foundation. It is not a selection terminology, but it can handle several selection dialects.

what is a microprocessor? types of microprocessors? advantages disadvantages

i have 4 variables in my linkage section of PIC 9(3) ..while submitting i m passing parameter value i.e. numeic to them but its taking space for 2 varaible and for two its taking c