Changes between Version 121 and Version 122 of Needed Command Functionality


Ignore:
Timestamp:
Nov 6, 2015, 1:49:29 PM (10 years ago)
Author:
Elaine Meng
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Needed Command Functionality

    v121 v122  
    1414 - Nov 5 2015 Greg will add Log message to remind users of '''stop''' function if no ongoing motion
    1515-  ~~'''~select/select''' (model activation/deactivation) → '''freeze/~freeze'''~~
    16  - Nov 5 2015 decided activation concept not needed in Chimear2
     16 - Nov 5 2015 decided activation concept not needed in Chimera2
    1717- ~~'''window, focus''' → '''view ''spec'' '''~~ (done)
    1818- ~~'''windowsize''' → '''window'''~~
     
    3131
    3232Initial versions (not necessarily full implementations) of:
    33 * '''open''' (suggest same general syntax as Chimera1, possibly adjusting prefixes; covers both local files and web-fetch)
     33* '''open''' (both local files and web-fetch)
    3434  - for this release: PDB, PDB/mmCIF, density maps, sessions
    3535  - as of Nov 2 2015 done for the above except sessions
    3636  - prefixes (''e.g.'' '''pdb:''' should allow opening file with non-standard suffix as that format; currently only treats the string as an ID code)
    37   - Nov 5 2015 intend to add keywords '''from''' to specify database for web fetch and '''format''' which could useful for both fetch and local files, and possibly other keywords; retain colon syntax as alternative
     37  - Nov 5 2015 intend to add keywords '''from''' to specify database for web fetch and '''format''' which could be useful for both fetch and local files, and possibly other keywords; retain colon syntax as alternative
    3838* ~~'''close'''~~ (done for models; might want to add '''session''' and/or '''all''' keywords later)
    3939* ~~'''exit, quit''' or equivalent~~ (done)
     
    4444  - see [http://www.cgl.ucsf.edu/home/meng/chi2/ribbons.html ribbons writeup]
    4545  - for this release, just ribbons (not pipes/cylinders or worm-by-attr)
    46   - as of Nov 2 2015 partial implementation: protein only, no controls for style (width, thickness, cross-sectional shape; would this be in '''cartoon''' or '''style'''?)
    47 * '''surface''' solvent-excluded molecular surface
     46  - as of Nov 2 2015 the above is done but no controls for width, thickness, cross-sectional shape (would this be in '''cartoon''' or '''style'''?)
     47* ~~'''surface''' solvent-excluded molecular surface~~ (done)
    4848  - see [[SurfaceCategories]] discussion of categories and command design
    4949  - see [http://www.cgl.ucsf.edu/home/meng/chi2/surface.html surface command mockup] based on subsequent discussion
    50   - as of Nov 2 2015 a fairly extensive '''surface''' implementation including calculation options, showing/hiding down to the level of atomic patches
    51   - EM remaining thoughts:
    52     - do we want to add '''~surface''' as synonym for '''surface hide'''?
    53     - do we need mesh or dot options, and if so, via what command ('''surface''' or '''style''' or other?)
    54 * '''repr''', '''ribrepr''', '''ribscale''', '''surfrepr''' (maybe consolidate into a new '''style''' command, generalizing ribbon to cartoon as per [http://www.cgl.ucsf.edu/home/meng/chi2/ribbons.html ribbons writeup], and including pseudobonds; I'm not sure consolidation is better, however, since consolidation makes longer commands, and these will be used frequently); styles for this release:
    55   - ~~atom/bond '''stick, bs, sphere'''~~ (implemented via '''style'''; do we need a '''line''' style?)
    56   - pseudobond '''dashedStick''' (since TomG already added it; could be named something else)
    57   - '''stick''' and '''line''' (if we even have the latter) would apply to both atoms/bonds and pseudobonds
    58   - surface (volume isosurface and molecular surface) '''solid, mesh'''
    59   - a default style or a few possibilities for ribbons/cartoons (say '''smooth''' and '''edged''', maybe '''flat''', with default scaling; '''tube''' should be easier to implement than those, even though it's down in the '''Would be nice''' section)
    60   - each style could have sub-options (''e.g.'' stick radius), or if it's too complicated to include them in the '''style''' command, they could be adjusted with '''setattr'''
    61   - see [http://www.cgl.ucsf.edu/home/meng/chi2/command-structure.html#examples command examples] for more detailed thoughts
     50  - Nov 5 2015 plan to add '''~surface''' as undocumented alias to '''surface hide''', if possible
    6251* ~~'''color''' (just the first usage with single colorname in the [http://www.cgl.ucsf.edu/home/meng/chi2/color.html color command mockup]~~ (done)
    6352  - leaving color-by-attr as in '''rangecolor''', color-by-scalar-field as in '''scolor''', and '''rainbow''' for later
    6453* '''volume''' control over isosurface display (redundancy with show/hide/color etc. OK with me, but should review structure and keywords ''vs.'' the negotiable [http://www.cgl.ucsf.edu/home/meng/chi2/command-structure.html command guidelines])
    65   - I ''think'' it's done, in that '''volume''' has been completely ported over from Chimera1
    66 * some way to adjust subdivision/smoothness; any global setting could be covered by '''set''' (see below) and any attribute by '''setattr''', but there could also be options in '''surface''', '''volume''', '''cartoon''' and/or a top-level '''quality''' command
     54  - Nov 5 2015 '''volume''' has been ported over from Chimera1 but Tom G will check over it to see which parts are functional (we know at least a few things related to commas are problematic in Chimera2)
     55* some way to adjust subdivision/smoothness
     56  - Nov 5 2015 done for atoms/bonds ('''set subdivision''') but not cartoons
     57  - done for molecular surfaces; '''surface''' has grid-spacing, resolution options
    6758
    6859Extremely useful catchalls that I suggest retaining as permanent commands even though there will be some redundancy:
    6960* '''set''' global settings
    70   - for this release: silhouettes, background color, depth-cuing amount and color, interactive shadows, lighting (ambient occlusion, ambient-only, N-point)
     61  - for this release: ~~silhouettes, background color, depth-cuing amount and color, interactive shadows, lighting (ambient occlusion, ambient-only, N-point)~~ (done, some via '''set''', some via other commands such as '''lighting''')
    7162  - if many sub-options, e.g. '''lighting''', could make a separate top-level command; also keeping a redundant but longer '''set''' command is OK with me
    72   - as of Nov 2 2015 at least some of this is done, some via '''set''', some via other commands such as '''lighting'''
    7363* '''setattr''' attribute values
    7464  - need some way for the user to look up the names and possible values of attributes
     
    7868  - as of Nov 2 2015 a good '''select''' command but hierarchy is very limited compared to Chimera1 (presumably will be expanded later) and command doesn't include up/down options
    7969* '''save session''' with restore covered by '''open''', or '''session (save|restore)'''
    80 * '''save image''' with supersampling option
     70* ~~'''save image''' with supersampling option~~ (done)
    8171
    8272Command accoutrements:
     
    128118
    129119Again listed but not necessarily as commands:
     120* '''repr''', '''ribrepr''', '''ribscale''', '''surfrepr''' (maybe consolidate into '''style''' command, generalizing ribbon to cartoon as per [http://www.cgl.ucsf.edu/home/meng/chi2/ribbons.html ribbons writeup], and including pseudobonds; I'm not sure consolidation is better, however, since consolidation makes longer commands, and these will be used frequently):
     121  - ~~atom/bond '''stick, bs, sphere'''~~ (implemented via '''style'''; do we need a '''line''' or '''wire'''?)
     122  - pseudobond '''dashedStick''' (since TomG already added it; could be named something else)
     123  - '''stick''' and '''line''' (if we even have the latter) would apply to both atoms/bonds and pseudobonds
     124  - surface (volume isosurface and molecular surface) '''solid, mesh'''
     125  - a default style or a few possibilities for ribbons/cartoons (say '''smooth''' and '''edged''', maybe '''flat''', with default scaling; '''tube''' should be easier to implement than those, even though it's down in the '''Would be nice''' section)
     126  - each style could have sub-options (''e.g.'' stick radius), or if it's too complicated to include them in the '''style''' command, they could be adjusted with '''setattr'''
     127  - see [http://www.cgl.ucsf.edu/home/meng/chi2/command-structure.html#examples command examples] for more detailed thoughts
     128  - Nov 5 2015 decided to leave on the table, revisit when we figure out what comprises a cartoon style and have more of them to play with
    130129* smart molecule display
    131130  - IMO, this implies the need for '''preset''' with at least two interactive options: one with all atoms shown and one similar to the smart display; I'd vote for a third one with molecular surface(s) colored to match the corresponding chain's ribbon, possibly transparent
    132131* color-by-attr as in '''rangecolor''', color-by-scalar-field as in '''scolor''', and color sequentially as in '''rainbow'''
    133    - EM: I favor merging with main '''color''' command, see [http://www.cgl.ucsf.edu/home/meng/chi2/color.html omnibus color command mockup] ( [http://www.cgl.ucsf.edu/home/meng/chi2/vcolor.html color-by-value command mockup] is less refined, I stopped working on it)
     132   - merge into main'''color''' command, see [http://www.cgl.ucsf.edu/home/meng/chi2/color.html color command mockup]
     133   - need to add more palettes, including color-blind-friendly
    134134  - '''defattr''' would be useful for reading in custom attributes
    135135* '''findhbond'''
     
    185185 - patch boundary-smoothing, see '''smoothBorders''' in the [http://www.cgl.ucsf.edu/home/meng/chi2/surface.html surface command mockup]
    186186  - as of Nov 2 2015 done-ish, '''sharpBoundaries''' option fulfills similar role
     187* surface '''style''' option '''mesh'''
    187188* atoms/bonds ring fill, aromaticity, and bond multiplicity display (sub-options of '''style stick''' and/or settable with '''setattr'''; could also apply to '''style line''', but do we still need that style?)
    188189* smart clipping, leaving individual objects such as multiscale surfaces whole