Allows for multiple ranges, single residue selections, or both:
pdb_selres -1:10,20:30 random.pdbpdb_selres -1,10,22,56 random.pdb
EDIT:
In addition, the code now allows for a proper printing of n-th residues (when using the step option), by using the actual resid list instead of a sequential range.
Addresses #34
Allows for multiple ranges, single residue selections, or both:
pdb_selres -1:10,20:30 random.pdb
pdb_selres -1,10,22,56 random.pdb
EDIT: In addition, the code now allows for a proper printing of n-th residues (when using the step option), by using the actual resid list instead of a sequential range.