remove_resname.m
- This function removes residue with molid MolID and residue names resnames
Contents
Version
2.11
Contact
Please report problems/bugs to michael.holmboe@umu.se
Examples
- 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);