public class ChimeraXCommands extends ChimeraCommands
{
private static final StructureCommand SHOW_BACKBONE = new StructureCommand(
- "~display all;show @CA|P pbonds");
+ "~display all;~ribbon;show @CA|P atoms");
private static final StructureCommand FOCUS_VIEW = new StructureCommand(
"view");
appendModel(sb, model, atomSpec);
if (alphaOnly)
{
- sb.append("@CA|P");
+ // TODO @P if RNA - add nucleotide flag to AtomSpecModel?
+ sb.append("@CA");
}
// todo: is there ChimeraX syntax to exclude altlocs?
}
}
@Override
- public List<StructureCommandI> superposeStructures(AtomSpecModel spec,
- AtomSpecModel ref)
+ public List<StructureCommandI> superposeStructures(AtomSpecModel ref,
+ AtomSpecModel spec)
{
/*
* Form ChimeraX match command to match spec to ref
*
* match #1/A:2-94 toAtoms #2/A:1-93
*
- * @see
- * https://www.cgl.ucsf.edu/chimera/docs/UsersGuide/midas/match.html
+ * @see https://www.cgl.ucsf.edu/chimerax/docs/user/commands/align.html
*/
StringBuilder cmd = new StringBuilder();
String atomSpec = getAtomSpec(spec, true);