@Override public void apply(NexusStreamParser np) throws Exception {
  np.matchIgnoreCase("set sortreads=");
  String which=np.getWordMatchesIgnoringCase("alphabetically no");
  np.matchIgnoreCase(";");
  InspectorWindow inspectorWindow=(InspectorWindow)getViewer();
  inspectorWindow.setSortReadsAlphabetically(which.equalsIgnoreCase("alphabetically"));
}

@ Override public void apply ( NexusStreamParser np ) throws Exception { np . matchIgnoreCase ( "set sortreads=" ) ; String which = np . getWordMatchesIgnoringCase ( "alphabetically no" ) ; np . matchIgnoreCase ( ";" ) ; InspectorWindow inspectorWindow = ( InspectorWindow ) getViewer ( ) ; inspectorWindow . setSortReadsAlphabetically ( which . equalsIgnoreCase ( "alphabetically" ) ) ; }
parses the given command and executes it
