remove_resname.m

Contents

Version

2.11

Contact

Please report problems/bugs to michael.holmboe@umu.se

Examples

  1. atom = remove_resname(atom,{'SOL' 'Protein'}) % Basic input arguments
function atom = remove_resname(atom,resnames)

for i=1:size(resnames,2)
     atom(strcmp([atom.resname],resnames(i)))=[];
end

atom=atom_update(atom);
composition_atom(atom);