09 December 2022 0 3K Report

I've a protein and want to insert in lipid bilayer membrane using a set of VMD commands

1- set membrane [atomselect top all]

2- set BSAmol [mol new BSA.psf]

3- mol addfile BSA.pdb

4- set BSA [atomselect $BSAmol all]

5- $membrane moveby [vecinvert [measure centre $membrane weight mass]]

6- $membrane writepdb membrane_temp.pdb

7- $BSA moveby [vecinvert [measure centre $BSA weight mass]]

But everytime getting error after 5th command (error- can't use non-numeric string as operand of "-" )

Now I don't know how to resolve this. kindly help me out.

More Archi Gupta's questions See All
Similar questions and discussions