Opened 9 years ago
Closed 6 years ago
#528 closed enhancement (fixed)
Atom specifier wildcard characters * and ? in chain name
Reported by: | Tom Goddard | Owned by: | Conrad Huang |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | Command Line | Version: | |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
I'd like to be able to use wildcard characters * and ? in chain names in atom specs.
My current problem is PDB entry 4v7s that has two copies of a ribosome, 106 chains, all with 2 letter chain names. The second copy is 58 chains /c?,d?. I want to delete this second copy but don't seem to have any way to do it other than type 58 two letter chain names in because I don't have wildcard characters.
Change History (4)
comment:1 by , 9 years ago
follow-up: 2 comment:2 by , 9 years ago
Oops! Didn’t think of ranges! That solves my problem. Maybe change the ticket to low priority until a need arises for wild cards.
comment:4 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
This was apparently implemented at some point.
Note:
See TracTickets
for help on using tickets.
Chain specs allow ranges, so you can:
That chain id matching is strictly ASCII alphabetical, so note that:
actually deletes more chains. In particular, chains D0-D3 are deleted.
Obviously, wildcard characters and regular expressions are more flexible, but are they really used that often for it to be worth implementing?