I have some queries regarding the code. As I am new to python so I request you to help me. I mentioned the queries below:
1. u = mda.Universe("no_water.M29_ions_1264.prmtop", "M29_ions_1264_combined_imaged_full_no_water.nc")
It requires only two files as input, right? a .prmtop file and .nc file. I run simulations on NAMD with input files generated through CHARMM force field and I have files with different formats, so here I have to use a .psf file (contains coordinates information), and a trajectory file (.dcd).. please correct me if I am wrong.
2. def check_in_cylinder_upper_or_lower(pos_array, cylinder_center, cylinder_rad, cylinder_height):
Here, you defined a function,, what do you mean by pos array?
3. center_pore_ag_1 = u.select_atoms("(resid 25 97 506 99) and name CA")
print(center_pore_ag_1.resnames)
center_pore_ag_2 = u.select_atoms("(resid 796 868 870 249) and name CA")
print(center_pore_ag_2.resnames)
center_pore_ag_3 = u.select_atoms("(resid 1125 1127 1020 1053) and name CA")
print(center_pore_ag_3.resnames) .......................
In this part of your code, which type of residues you mentioned here? If they are the residues present in pore lining?
I am working on a water channel protein, named aquaporin. It is a tetramer, having 4 water channel pores. Depending on 4 pores, I should mention the pore lining residues of all four pores here?
4.
| # backup constants |
| cyl_rad = 15 #angstrom |
| cyl_height = 10 #angstrom |
| twiddle_z_pore = -0.0 #shift pore down slightly
|
Here, it build one cylinder as a whole, or it builds cylinder for each pore?
I am attaching the images for reference. One is a view with protein and water box (I hide the lipids), and the other picture is from the above of protein, showing four pores.
Thanks.
Respects,