From: <rv...@us...> - 2009-12-15 18:13:08
|
Revision: 374 http://treebase.svn.sourceforge.net/treebase/?rev=374&view=rev Author: rvos Date: 2009-12-15 18:12:58 +0000 (Tue, 15 Dec 2009) Log Message: ----------- Adding mesquite classes Added Paths: ----------- trunk/treebase-core/lib/examples/Basic_Examples/ trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/ trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/01-basics.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/02-standardMenus.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/03-characterMatrices.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/04-treeWindow.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/04a-windowTabs.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/05-windowModes.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/06-helpMenu.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/07-moreHelp.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/08-logFile.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/09-windowFonts.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/10-scripting.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/11-newFile.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/12-fileFormats.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/13-blockOfTaxa.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/13-matrix.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/13-trees.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/14-included.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/15-annotations.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/16-webLinks.nex trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/fubonidianImages/ trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/fubonidianImages/fubonidiaGizmoid.gif trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/fubonidianImages/fubonidiaKnobble.gif trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/fubonidianImages/fubonidiaZibinator.gif trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/fubonidianImages/quidnubiaGizmoid.gif trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/fubonidianImages/quidnubiaKnobble.gif trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/fubonidianImages/quidnubiaZibinator.gif trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/fubonidianImages/snorolopaGizmoid.gif trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/fubonidianImages/snorolopaKnobble.gif trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/fubonidianImages/snorolopaZibinator.gif trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/fubonidianImages/zorabynyxGizmoid.gif trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/fubonidianImages/zorabynyxKnobble.gif trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/fubonidianImages/zorabynyxZibinator.gif trunk/treebase-core/lib/examples/Basic_Examples/characters/ trunk/treebase-core/lib/examples/Basic_Examples/characters/01-characters.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/02-newMatrix.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/03-newMatrix.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/04-characterLists.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/05-dataEditing.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/06-fill.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/07-dataEditing.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/08-addDelete.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/09-copyPaste.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/10-names.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/11-viewingStyles.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/11a-annotations.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/12-continuous.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/13-continuousItems.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/14-partitions.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/15-selecting.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/16-charSources.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/17-charSources.nex trunk/treebase-core/lib/examples/Basic_Examples/characters/fubonidianImages/ trunk/treebase-core/lib/examples/Basic_Examples/characters/fubonidianImages/fubonidiaGizmoid.gif trunk/treebase-core/lib/examples/Basic_Examples/characters/fubonidianImages/fubonidiaKnobble.gif trunk/treebase-core/lib/examples/Basic_Examples/characters/fubonidianImages/fubonidiaZibinator.gif trunk/treebase-core/lib/examples/Basic_Examples/characters/fubonidianImages/quidnubiaGizmoid.gif trunk/treebase-core/lib/examples/Basic_Examples/characters/fubonidianImages/quidnubiaKnobble.gif trunk/treebase-core/lib/examples/Basic_Examples/characters/fubonidianImages/quidnubiaZibinator.gif trunk/treebase-core/lib/examples/Basic_Examples/characters/fubonidianImages/snorolopaGizmoid.gif trunk/treebase-core/lib/examples/Basic_Examples/characters/fubonidianImages/snorolopaKnobble.gif trunk/treebase-core/lib/examples/Basic_Examples/characters/fubonidianImages/snorolopaZibinator.gif trunk/treebase-core/lib/examples/Basic_Examples/characters/fubonidianImages/zorabynyxGizmoid.gif trunk/treebase-core/lib/examples/Basic_Examples/characters/fubonidianImages/zorabynyxKnobble.gif trunk/treebase-core/lib/examples/Basic_Examples/characters/fubonidianImages/zorabynyxZibinator.gif trunk/treebase-core/lib/examples/Basic_Examples/charts/ trunk/treebase-core/lib/examples/Basic_Examples/charts/01-charts.nex trunk/treebase-core/lib/examples/Basic_Examples/charts/02-histogram.nex trunk/treebase-core/lib/examples/Basic_Examples/charts/03-scattergram.nex trunk/treebase-core/lib/examples/Basic_Examples/charts/04-scattergram.nex trunk/treebase-core/lib/examples/Basic_Examples/continuous/ trunk/treebase-core/lib/examples/Basic_Examples/continuous/01-editContinuous.nex trunk/treebase-core/lib/examples/Basic_Examples/continuous/03-trace.nex trunk/treebase-core/lib/examples/Basic_Examples/continuous/04-branchLengths.nex trunk/treebase-core/lib/examples/Basic_Examples/continuous/05-treeSearch.nex trunk/treebase-core/lib/examples/Basic_Examples/continuous/06-sim.nex trunk/treebase-core/lib/examples/Basic_Examples/continuous/07-mirrorTree.nex trunk/treebase-core/lib/examples/Basic_Examples/continuous/08-plotTree.nex trunk/treebase-core/lib/examples/Basic_Examples/continuous/09-plotTreeSim.nex trunk/treebase-core/lib/examples/Basic_Examples/introduction.nex trunk/treebase-core/lib/examples/Basic_Examples/taxa/ trunk/treebase-core/lib/examples/Basic_Examples/taxa/01-taxa.nex trunk/treebase-core/lib/examples/Basic_Examples/taxa/02-addingDeleting.nex trunk/treebase-core/lib/examples/Basic_Examples/taxa/03-partitions.nex trunk/treebase-core/lib/examples/Basic_Examples/taxa/04-partitions.nex trunk/treebase-core/lib/examples/Basic_Examples/taxa/05-selecting.nex trunk/treebase-core/lib/examples/Basic_Examples/taxa/06-selecting.nex trunk/treebase-core/lib/examples/Basic_Examples/taxa/07-selecting.nex trunk/treebase-core/lib/examples/Basic_Examples/taxa/08-multipleBlocks.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_manipulation/ trunk/treebase-core/lib/examples/Basic_Examples/tree_manipulation/01-editingTrees.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_manipulation/02-editingTrees.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_manipulation/03-editingTrees.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_manipulation/04-branchLengths.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_manipulation/05-branchColorNames.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_manipulation/06-branchSelection.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_manipulation/07-storedTrees.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_manipulation/08-listOfTrees.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_manipulation/09-treeBlocks.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_manipulation/10-externalTrees.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_manipulation/10-treeFile.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_manipulation/11-treeSources.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_manipulation/12-treeSources.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_manipulation/13-instability.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_viewing/ trunk/treebase-core/lib/examples/Basic_Examples/tree_viewing/01-treeWindow.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_viewing/02-treeForm.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_viewing/03-drawingSize.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_viewing/04-moreTreeForms.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_viewing/05-moreTreeForms.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_viewing/06-printingTrees.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_viewing/07-dependentWindow.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_viewing/08-mirrorTree.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_viewing/09-multiTrees.nex trunk/treebase-core/lib/examples/Basic_Examples/tree_viewing/10-multiTrees.nex Added: trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/01-basics.nex =================================================================== --- trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/01-basics.nex (rev 0) +++ trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/01-basics.nex 2009-12-15 18:12:58 UTC (rev 374) @@ -0,0 +1,112 @@ +#NEXUS +[written Mon Aug 20 22:10:59 PDT 2007 by Mesquite version 2.0BETA3 (build i50) at Thrandina.local/10.0.1.4 (Wayne Maddison)] + +BEGIN TAXA; + DIMENSIONS NTAX=9; + TAXLABELS + Aus Fubonidia Ibbinidibe Snorolopa Quidnubia Suinon Zorabynyx Huichoros Jotinupa + ; + BLOCKID WM114861883b02; + +END; + + +BEGIN CHARACTERS; + DIMENSIONS NCHAR=2; + FORMAT DATATYPE = STANDARD GAP = - MISSING = ? SYMBOLS = " 0 1"; + CHARSTATELABELS + 1 number_of_eyes / one two, 2 tail_color / blue red ; + MATRIX + Aus 11 + Fubonidia 11 + Ibbinidibe 11 + Snorolopa 1(0,1) + Quidnubia 00 + Suinon 00 + Zorabynyx 00 + Huichoros 00 + Jotinupa 00 + +; + BLOCKID WM114861883d90; + + +END; +BEGIN TREES; + TRANSLATE + 1 Aus, + 2 Fubonidia, + 3 Ibbinidibe, + 4 Snorolopa, + 5 Quidnubia, + 6 Suinon, + 7 Zorabynyx, + 8 Huichoros, + 9 Jotinupa; + TREE First_Tree = ((((1,5),4),((7,6),2)),((9,8),3)); + TREE Second_Tree = ((((9,((4,1),2)),6),3),((8,7),5)); + TREE Third_Tree = ((8,((2,6),1)),((((3,9),7),4),5)); + TREE Polytomous = ((1,5),(7,6,2),4,((9,8),3)); + TREE Partial_tree = (((9,(1,2)),(8,7)),(3,5)); + +END; + + +BEGIN CODONS; +CODESET * UNTITLED = universal: 1 - 2; + + +END; + +BEGIN ASSUMPTIONS; +OPTIONS DEFTYPE = unord PolyTcount = MINSTEPS; + TYPESET * UNTITLED = unord: 1 - 2; +TYPESET Current_Parsimony_Models = unord: 1 - 2; + +END; + +BEGIN MESQUITECHARMODELS; + ProbModelSet * UNTITLED = 'Mk1 (est.)': 1 - 2; +END; + +Begin MESQUITE; + MESQUITESCRIPTVERSION 2; + TITLE AUTO; + tell ProjectCoordinator; + getEmployee #mesquite.minimal.ManageTaxa.ManageTaxa; + tell It; + setID 0 8476784597994698209 WM114861883b02; + endTell; + getEmployee #mesquite.charMatrices.ManageCharacters.ManageCharacters; + tell It; + setID 0 974864624972105434 WM114861883d90; + checksum 0 4129971366; + endTell; + newAssistant #mesquite.basic.ExamplesNavigator.ExamplesNavigator; + tell It; + setNextFileName '02-standardMenus.nex'; + setPrevFileName '../introduction.nex'; + getWindow; + tell It; + setExplanationSize 0; + setAnnotationSize 0; + setFontIncAnnot 0; + setFontIncExp 0; + setSize 528 432; + setLocation 420 31; + setFont SanSerif; + setFontSize 10; + setActive; + setExplanation 'Mesquite has a few standard windows, such as the startup window, and the main Mesquite window (showing the Mesquite log, Project and Files, and Search results). ^n^nThe Mesquite Log window shows you a log of what commands have been given, and it may display errors. Also, you can use it to give commands if you have that mode selected in its Defaults submenu of the File menu.^n^nThe Projects and Files window shows the files that are currently open, and some of their major components. For instance, there is currently one file open, named "01-basics.nex" (to which this note belongs). Included in the file are one block of taxa, a character matrix, and a tree block. To see this, touch on the Projects & Files tab of the main Mesquite window.^n^nMesquite automatically groups files into projects. When you have only one file open, you can consider a "project" to be equivalent to that open file. The idea of a project becomes useful if you link several files together. If you link several files together so that their information can be combined in analyses, Mesquite considers all the linked files to belong to a single "project". A subsequent example file will discuss linking and including files.^n^nThe Projects and Files window is a useful place to manage the contents of files. If you touch on the labels (e.g., for taxa, matrices, etc.) in the window, a menu will drop down that will allow you to do various things to the object touched. For example, touching on "Taxa: Fubonidians" yields a drop-down menu that will display the list of taxa, or allow you to rename or delete the taxa block, etc. Also, as you pass the cursor over the labels, the explanation area in the window gives useful information about the objects.^n^nHit the Next button in to go to the next example file.'; + setTitle 'Windows, Log, and Projects'; + toggleFileNames off; + setPrevButtonName Return; + setNextButtonName Next; + addFileLink 'Extra example: linking' '13-blockOfTaxa.nex'; + endTell; + showWindow; + endTell; + endTell; +end; + + Property changes on: trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/01-basics.nex ___________________________________________________________________ Added: svn:executable + * Added: trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/02-standardMenus.nex =================================================================== --- trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/02-standardMenus.nex (rev 0) +++ trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/02-standardMenus.nex 2009-12-15 18:12:58 UTC (rev 374) @@ -0,0 +1,112 @@ +#NEXUS +[written Mon Aug 20 20:33:30 PDT 2007 by Mesquite version 2.0BETA3 (build i50) at Thrandina.local/10.0.1.6 (Wayne Maddison)] + +BEGIN TAXA; + DIMENSIONS NTAX=9; + TAXLABELS + Aus Fubonidia Ibbinidibe Snorolopa Quidnubia Suinon Zorabynyx Huichoros Jotinupa + ; + BLOCKID WM1148618b2783; + +END; + + +BEGIN CHARACTERS; + DIMENSIONS NCHAR=2; + FORMAT DATATYPE = STANDARD GAP = - MISSING = ? SYMBOLS = " 0 1"; + CHARSTATELABELS + 1 number_of_eyes / one two, 2 tail_color / blue red ; + MATRIX + Aus 11 + Fubonidia 11 + Ibbinidibe 11 + Snorolopa 1(0,1) + Quidnubia 00 + Suinon 00 + Zorabynyx 00 + Huichoros 00 + Jotinupa 00 + +; + BLOCKID WM1148618b2900; + + +END; +BEGIN TREES; + TRANSLATE + 1 Aus, + 2 Fubonidia, + 3 Ibbinidibe, + 4 Snorolopa, + 5 Quidnubia, + 6 Suinon, + 7 Zorabynyx, + 8 Huichoros, + 9 Jotinupa; + TREE First_Tree = ((((1,5),4),((7,6),2)),((9,8),3)); + TREE Second_Tree = ((((9,((4,1),2)),6),3),((8,7),5)); + TREE Third_Tree = ((8,((2,6),1)),((((3,9),7),4),5)); + TREE Polytomous = ((1,5),(7,6,2),4,((9,8),3)); + TREE Partial_tree = (((9,(1,2)),(8,7)),(3,5)); + +END; + + +BEGIN CODONS; +CODESET * UNTITLED = universal: 1 - 2; + + +END; + +BEGIN ASSUMPTIONS; +OPTIONS DEFTYPE = unord PolyTcount = MINSTEPS; + TYPESET * UNTITLED = unord: 1 - 2; +TYPESET Current_Parsimony_Models = unord: 1 - 2; + +END; + +BEGIN MESQUITECHARMODELS; + ProbModelSet * UNTITLED = 'Mk1 (est.)': 1 - 2; +END; + +Begin MESQUITE; + MESQUITESCRIPTVERSION 2; + TITLE AUTO; + tell ProjectCoordinator; + getEmployee #mesquite.minimal.ManageTaxa.ManageTaxa; + tell It; + setID 0 8476784597994698209 WM1148618b2783; + endTell; + getEmployee #mesquite.charMatrices.ManageCharacters.ManageCharacters; + tell It; + setID 0 974864624972105434 WM1148618b2900; + checksum 0 4129971366; + endTell; + newAssistant #mesquite.basic.ExamplesNavigator.ExamplesNavigator; + tell It; + setNextFileName '03-characterMatrices.nex'; + setPrevFileName '01-basics.nex'; + getWindow; + tell It; + setExplanationSize 0; + setAnnotationSize 0; + setFontIncAnnot 0; + setFontIncExp 0; + setSize 462 368; + setLocation 418 30; + setFont SanSerif; + setFontSize 10; + setActive; + setExplanation 'Mesquite has several standard menus:^n^nFile - Making new files, open, saving, printing, and closing files, quitting.^n^nEdit - Copying, pasting, undoing, and some other basic features for editing.^n^nCharacters - Managing characters, character matrices, and associated information like assumptions about characters.^n^nTaxa&Trees - Managing trees and taxa, showing tree windows.^n^nAnalysis - Displaying charts for trees, taxa and characters, tracing characters, creating batch files for automated analyses, and doing various other analyes.^n^nWindows - Controlling the current window, displaying and managing other windows.^n^nHelp - Links to documentation.^n^nThe menus that are available at any one time depend upon which window is frontmost. If you cannot find a menu item to do something you wish to do to the contents of a window, click on the window to make sure it is frontmost, and its menus will appear.^n^nTo learn more about Mesquite''s menus, use the button below.'; + setTitle Standard_menus; + toggleFileNames off; + setPrevButtonName Previous; + setNextButtonName Next; + addWebLink Menu_documentation 'mesquite:docs/mesquite/menus.html'; + endTell; + showWindow; + endTell; + endTell; +end; + + Property changes on: trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/02-standardMenus.nex ___________________________________________________________________ Added: svn:executable + * Added: trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/03-characterMatrices.nex =================================================================== --- trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/03-characterMatrices.nex (rev 0) +++ trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/03-characterMatrices.nex 2009-12-15 18:12:58 UTC (rev 374) @@ -0,0 +1,185 @@ +#NEXUS +[written Thu Nov 22 19:48:16 PST 2007 by Mesquite version 2.0+ (build j18a) at Thrandina.local/10.0.1.3 (Wayne Maddison)] + +BEGIN TAXA; + TITLE Untitled_Block_of_Taxa; + DIMENSIONS NTAX=9; + TAXLABELS + Aus Fubonidia Ibbinidibe Snorolopa Quidnubia Suinon Zorabynyx Huichoros Jotinupa + ; + BLOCKID WM114861935156; + +END; + + +BEGIN CHARACTERS; + TITLE 'Matrix in file "03-characterMatrices.nex"'; + DIMENSIONS NCHAR=2; + FORMAT DATATYPE = STANDARD GAP = - MISSING = ? SYMBOLS = " 0 1"; + CHARSTATELABELS + 1 number_of_eyes / one two, 2 tail_color / blue red ; + MATRIX + Aus 11 + Fubonidia 11 + Ibbinidibe 11 + Snorolopa 1(0,1) + Quidnubia 00 + Suinon 00 + Zorabynyx 00 + Huichoros 00 + Jotinupa 00 + +; + BLOCKID WM114861935490; + + +END; +BEGIN TREES; + Title 'Trees from "03-characterMatrices.nex"'; + LINK Taxa = Untitled_Block_of_Taxa; + TRANSLATE + 1 Aus, + 2 Fubonidia, + 3 Ibbinidibe, + 4 Snorolopa, + 5 Quidnubia, + 6 Suinon, + 7 Zorabynyx, + 8 Huichoros, + 9 Jotinupa; + TREE First_Tree = ((((1,5),4),((7,6),2)),((9,8),3)); + TREE Second_Tree = ((((9,((4,1),2)),6),3),((8,7),5)); + TREE Third_Tree = ((8,((2,6),1)),((((3,9),7),4),5)); + TREE Polytomous = ((1,5),(7,6,2),4,((9,8),3)); + TREE Partial_tree = (((9,(1,2)),(8,7)),(3,5)); + +END; + + +BEGIN NOTES; + + TEXT TAXA = Untitled_Block_of_Taxa TAXON = 5 TEXT = Lives_deep_in_dark_caves; + + TEXT TAXON = 4 CHARACTER = 2 TEXT = 'Some individuals are blue, others are red. Why, no one knows.'; + +END; + +BEGIN CODONS; +CODESET * UNTITLED = universal: 1 - 2; + + +END; + +BEGIN ASSUMPTIONS; +OPTIONS DEFTYPE = unord PolyTcount = MINSTEPS; + TYPESET * UNTITLED = unord: 1 - 2; +TYPESET Current_Parsimony_Models = unord: 1 - 2; + +END; + +BEGIN MESQUITECHARMODELS; + ProbModelSet * UNTITLED = 'Mk1 (est.)': 1 - 2; +END; + +Begin MESQUITE; + MESQUITESCRIPTVERSION 2; + TITLE AUTO; + tell ProjectCoordinator; + getEmployee #mesquite.minimal.ManageTaxa.ManageTaxa; + tell It; + setID 0 8476784597994698209 WM114861935156; + endTell; + getEmployee #mesquite.charMatrices.ManageCharacters.ManageCharacters; + tell It; + setID 0 974864624972105434 WM114861935490; + checksum 0 4129971366 WM114861935490; + endTell; + getEmployee #mesquite.charMatrices.BasicDataWindowCoord.BasicDataWindowCoord; + tell It; + showDataWindow #974864624972105434 #mesquite.charMatrices.BasicDataWindowMaker.BasicDataWindowMaker; + tell It; + getWindow; + tell It; + setExplanationSize 52; + setAnnotationSize 52; + setFontIncAnnot 0; + setFontIncExp 0; + setSize 677 223; + setLocation 460 22; + setFont SanSerif; + setFontSize 10; + getToolPalette; + tell It; + endTell; + setActive; + setTool mesquite.charMatrices.BasicDataWindowMaker.BasicDataWindow.arrow; + colorCells #mesquite.charMatrices.NoColor.NoColor; + setBackground White; + toggleShowNames on; + toggleShowTaxonNames on; + toggleTight off; + toggleShowChanges on; + toggleSeparateLines off; + toggleShowStates on; + toggleAutoWCharNames on; + toggleShowDefaultCharNames off; + toggleConstrainCW on; + setColumnWidth 16; + toggleBirdsEye off; + toggleColorsPanel off; + birdsEyeWidth 2; + toggleLinkedScrolling on; + toggleScrollLinkedTables off; + endTell; + showWindow; + getEmployee #mesquite.categ.StateNamesStrip.StateNamesStrip; + tell It; + showStrip off; + endTell; + getEmployee #mesquite.charMatrices.AnnotPanel.AnnotPanel; + tell It; + togglePanel off; + endTell; + getEmployee #mesquite.charMatrices.CharReferenceStrip.CharReferenceStrip; + tell It; + showStrip off; + endTell; + getEmployee #mesquite.charMatrices.ColorCells.ColorCells; + tell It; + setColor Red; + removeColor off; + endTell; + getEmployee #mesquite.charMatrices.QuickKeySelector.QuickKeySelector; + tell It; + autotabOff; + endTell; + endTell; + endTell; + newAssistant #mesquite.basic.ExamplesNavigator.ExamplesNavigator; + tell It; + setNextFileName '04-treeWindow.nex'; + setPrevFileName '02-standardMenus.nex'; + getWindow; + tell It; + popOut; + setExplanationSize 0; + setAnnotationSize 0; + setFontIncAnnot 0; + setFontIncExp 0; + setSize 441 418; + setLocation 6 22; + setFont SanSerif; + setFontSize 10; + setExplanation 'This file shows the spreadsheet editor for character matrices. At its left side is a tool palette with a selection tool (the arrow), an editing tool (the I-beam), and others. When you select a tool by touching its button, its explanation shows up in the explanation area at the bottom of the window.^n^nThe matrix editing window has a "Matrix" menu which controls many of its functions. In it you can control appearance and operate utilities that alter the data. You can also add and delete taxa and characters.^n^nWhen you touch a cell in the matrix that begins or ends with *, you may see an annotation (footnote) for that cell in the annotation area near the bottom of the window (the white area just above the yellowish explanation area). To edit an annotation, select the cell, and then go down to the annotation area and type in it.^n^nTo see more details on the data editor, touch the button in below. Otherwise, use the Next button to go to the next example.'; + setTitle Character_matrix_editor; + toggleFileNames off; + setPrevButtonName Previous; + setNextButtonName Next; + addFileLink More_details_on_characters '../characters/01-characters.nex'; + endTell; + showWindow; + endTell; + endTell; +end; + + Property changes on: trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/03-characterMatrices.nex ___________________________________________________________________ Added: svn:executable + * Added: trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/04-treeWindow.nex =================================================================== --- trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/04-treeWindow.nex (rev 0) +++ trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/04-treeWindow.nex 2009-12-15 18:12:58 UTC (rev 374) @@ -0,0 +1,209 @@ +#NEXUS +[written Thu Sep 20 14:03:46 MST 2007 by Mesquite version 2.0BETA4 (build i64) at Odontium.local/192.168.0.3 (David Maddison)] + +BEGIN TAXA; + TITLE Untitled_Block_of_Taxa; + DIMENSIONS NTAX=9; + TAXLABELS + Aus Fubonidia Ibbinidibe Snorolopa Quidnubia Suinon Zorabynyx Huichoros Jotinupa + ; + BLOCKID WM11486199fff7; + +END; + + +BEGIN CHARACTERS; + TITLE 'Matrix in file "04-treeWindow.nex"'; + DIMENSIONS NCHAR=2; + FORMAT DATATYPE = STANDARD GAP = - MISSING = ? SYMBOLS = " 0 1"; + CHARSTATELABELS + 1 number_of_eyes / one two, 2 tail_color / blue red ; + MATRIX + Aus 11 + Fubonidia 11 + Ibbinidibe 11 + Snorolopa 1(0,1) + Quidnubia 00 + Suinon 00 + Zorabynyx 00 + Huichoros 00 + Jotinupa 00 + +; + BLOCKID WM1148619a00b0; + + +END; +BEGIN TREES; + Title 'Trees from "04-treeWindow.nex"'; + LINK Taxa = Untitled_Block_of_Taxa; + TRANSLATE + 1 Aus, + 2 Fubonidia, + 3 Ibbinidibe, + 4 Snorolopa, + 5 Quidnubia, + 6 Suinon, + 7 Zorabynyx, + 8 Huichoros, + 9 Jotinupa; + TREE First_Tree = ((((1,5),4),((7,6),2)),((9,8),3)); + TREE Second_Tree = ((((9,((4,1),2)),6),3),((8,7),5)); + TREE Third_Tree = ((8,((2,6),1)),((((3,9),7),4),5)); + TREE Polytomous = ((1,5),(7,6,2),4,((9,8),3)); + TREE Partial_tree = (((9,(1,2)),(8,7)),(3,5)); + +END; + + +BEGIN NOTES; + + TEXT TAXA = Untitled_Block_of_Taxa TAXON = 5 TEXT = Lives_deep_in_dark_caves; + + TEXT TAXON = 4 CHARACTER = 2 TEXT = 'Some individuals are blue, others are red. Why, no one knows.'; + +END; + +BEGIN CODONS; +CODESET * UNTITLED = universal: 1 - 2; + + +END; + +BEGIN ASSUMPTIONS; +OPTIONS DEFTYPE = unord PolyTcount = MINSTEPS; + TYPESET * UNTITLED = unord: 1 - 2; +TYPESET Current_Parsimony_Models = unord: 1 - 2; + +END; + +BEGIN MESQUITECHARMODELS; + ProbModelSet * UNTITLED = 'Mk1 (est.)': 1 - 2; +END; + +Begin MESQUITE; + MESQUITESCRIPTVERSION 2; + TITLE AUTO; + tell ProjectCoordinator; + getEmployee #mesquite.minimal.ManageTaxa.ManageTaxa; + tell It; + setID 0 8476784597994698209 WM11486199fff7; + endTell; + getEmployee #mesquite.charMatrices.ManageCharacters.ManageCharacters; + tell It; + setID 0 974864624972105434 WM1148619a00b0; + checksum 0 4129971366 WM1148619a00b0; + endTell; + getEmployee #mesquite.trees.BasicTreeWindowCoord.BasicTreeWindowCoord; + tell It; + makeTreeWindow #8476784597994698209 #mesquite.trees.BasicTreeWindowMaker.BasicTreeWindowMaker; + tell It; + setTreeSource #mesquite.trees.StoredTrees.StoredTrees; + tell It; + setTreeBlock 1; + toggleUseWeights off; + endTell; + setAssignedID 908.983934835544.585850784873249678; + getTreeWindow; + tell It; + setExplanationSize 52; + setAnnotationSize 20; + setFontIncAnnot 0; + setFontIncExp 0; + setSize 560 306; + setLocation 500 34; + setFont SanSerif; + setFontSize 10; + getToolPalette; + tell It; + endTell; + setActive; + getTreeDrawCoordinator #mesquite.trees.BasicTreeDrawCoordinator.BasicTreeDrawCoordinator; + tell It; + suppress; + setTreeDrawer #mesquite.trees.DiagonalDrawTree.DiagonalDrawTree; + tell It; + setNodeLocs #mesquite.trees.NodeLocsStandard.NodeLocsStandard; + tell It; + stretchToggle off; + branchLengthsToggle off; + toggleScale on; + toggleBroadScale off; + toggleCenter off; + toggleEven off; + namesAngle ?; + endTell; + setEdgeWidth 12; + orientUp; + endTell; + setBackground White; + setBranchColor Black; + showNodeNumbers off; + showBranchColors on; + labelBranchLengths off; + centerBrLenLabels on; + showBrLensUnspecified on; + showBrLenLabelsOnTerminals on; + setBrLenLabelColor 0 0 255; + setNumBrLenDecimals 6; + desuppress; + getEmployee #mesquite.trees.BasicDrawTaxonNames.BasicDrawTaxonNames; + tell It; + setColor Black; + toggleColorPartition on; + toggleShadePartition off; + toggleNodeLabels on; + toggleCenterNodeNames off; + toggleShowNames on; + endTell; + endTell; + setTreeNumber 1; + useSuggestedSize off; + toggleSizeToFit on; + toggleTextOnTree off; + endTell; + showWindow; + getEmployee #mesquite.trees.ColorBranches.ColorBranches; + tell It; + setColor Red; + removeColor off; + endTell; + getEmployee #mesquite.ornamental.BranchNotes.BranchNotes; + tell It; + setAlwaysOn off; + endTell; + getEmployee #mesquite.ornamental.ColorTreeByPartition.ColorTreeByPartition; + tell It; + colorByPartition off; + endTell; + endTell; + endTell; + newAssistant #mesquite.basic.ExamplesNavigator.ExamplesNavigator; + tell It; + setNextFileName '04a-windowTabs.nex'; + setPrevFileName '03-characterMatrices.nex'; + getWindow; + tell It; + popOut; + setExplanationSize 0; + setAnnotationSize 0; + setFontIncAnnot 0; + setFontIncExp 0; + setSize 480 375; + setLocation 8 27; + setFont SanSerif; + setFontSize 10; + setExplanation 'This file shows the tree window in which trees can be viewed and edited. At left is a tool palette, whose tools can be used for manipulating the tree. There is also a control with blue arrows to scroll from one tree to another from the current source of trees. ^n^nThe Tree Window has a Tree menu in which you can control the trees appearance, and choose the source of trees. There is also an Analysis menu from which you can initiate analyses with the tree.^n^nThe tree window also has an annotation and explanation area at the bottom for communicating with the user.^n^nFor more information about viewing and editing trees, follow the "Go" button below beside "Viewing trees". For more information about manipulating trees, follow the "Go" button beside "Manipulating trees". Otherwise, go to the next example via the Next button.'; + setTitle Tree_window; + toggleFileNames off; + setPrevButtonName Previous; + setNextButtonName Next; + addFileLink Viewing_trees '../tree_viewing/01-treeWindow.nex'; + addFileLink Manipulating_trees '../tree_manipulation/01-editingTrees.nex'; + endTell; + showWindow; + endTell; + endTell; +end; + + Property changes on: trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/04-treeWindow.nex ___________________________________________________________________ Added: svn:executable + * Added: trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/04a-windowTabs.nex =================================================================== --- trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/04a-windowTabs.nex (rev 0) +++ trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/04a-windowTabs.nex 2009-12-15 18:12:58 UTC (rev 374) @@ -0,0 +1,296 @@ +#NEXUS +[written Thu Nov 22 19:49:10 PST 2007 by Mesquite version 2.0+ (build j18a) at Thrandina.local/10.0.1.3 (Wayne Maddison)] + +BEGIN TAXA; + TITLE Untitled_Block_of_Taxa; + DIMENSIONS NTAX=9; + TAXLABELS + Aus Fubonidia Ibbinidibe Snorolopa Quidnubia Suinon Zorabynyx Huichoros Jotinupa + ; + BLOCKID WM11486199fff7; + +END; + + +BEGIN CHARACTERS; + TITLE 'Matrix in file "04a-windowTabs.nex"'; + DIMENSIONS NCHAR=2; + FORMAT DATATYPE = STANDARD GAP = - MISSING = ? SYMBOLS = " 0 1"; + CHARSTATELABELS + 1 number_of_eyes / one two, 2 tail_color / blue red ; + MATRIX + Aus 11 + Fubonidia 11 + Ibbinidibe 11 + Snorolopa 1(0,1) + Quidnubia 00 + Suinon 00 + Zorabynyx 00 + Huichoros 00 + Jotinupa 00 + +; + BLOCKID WM1148619a00b0; + + +END; +BEGIN TREES; + Title 'Trees from "04a-windowTabs.nex"'; + LINK Taxa = Untitled_Block_of_Taxa; + TRANSLATE + 1 Aus, + 2 Fubonidia, + 3 Ibbinidibe, + 4 Snorolopa, + 5 Quidnubia, + 6 Suinon, + 7 Zorabynyx, + 8 Huichoros, + 9 Jotinupa; + TREE First_Tree = ((((1,5),4),((7,6),2)),((9,8),3)); + TREE Second_Tree = ((((9,((4,1),2)),6),3),((8,7),5)); + TREE Third_Tree = ((8,((2,6),1)),((((3,9),7),4),5)); + TREE Polytomous = ((1,5),(7,6,2),4,((9,8),3)); + TREE Partial_tree = (((9,(1,2)),(8,7)),(3,5)); + +END; + + +BEGIN NOTES; + + TEXT TAXA = Untitled_Block_of_Taxa TAXON = 5 TEXT = Lives_deep_in_dark_caves; + + TEXT TAXON = 4 CHARACTER = 2 TEXT = 'Some individuals are blue, others are red. Why, no one knows.'; + +END; + +BEGIN CODONS; +CODESET * UNTITLED = universal: 1 - 2; + + +END; + +BEGIN ASSUMPTIONS; +OPTIONS DEFTYPE = unord PolyTcount = MINSTEPS; + TYPESET * UNTITLED = unord: 1 - 2; +TYPESET Current_Parsimony_Models = unord: 1 - 2; + +END; + +BEGIN MESQUITECHARMODELS; + ProbModelSet * UNTITLED = 'Mk1 (est.)': 1 - 2; +END; + +Begin MESQUITE; + MESQUITESCRIPTVERSION 2; + TITLE AUTO; + tell ProjectCoordinator; + getEmployee #mesquite.minimal.ManageTaxa.ManageTaxa; + tell It; + setID 0 8476784597994698209 WM11486199fff7; + endTell; + getEmployee #mesquite.charMatrices.ManageCharacters.ManageCharacters; + tell It; + setID 0 974864624972105434 WM1148619a00b0; + checksum 0 4129971366 WM1148619a00b0; + endTell; + getEmployee #mesquite.minimal.ManageTaxa.ManageTaxa; + tell It; + showTaxa #8476784597994698209 #mesquite.lists.TaxonList.TaxonList; + tell It; + setTaxa #8476784597994698209; + getWindow; + tell It; + newAssistant #mesquite.lists.DefaultTaxaOrder.DefaultTaxaOrder; + newAssistant #mesquite.lists.TaxonListCurrPartition.TaxonListCurrPartition; + setExplanationSize 30; + setAnnotationSize 20; + setFontIncAnnot 0; + setFontIncExp 0; + setSize 647 380; + setLocation 500 34; + setFont SanSerif; + setFontSize 10; + getToolPalette; + tell It; + endTell; + setActive; + endTell; + showWindow; + getEmployee #mesquite.lists.TaxonListAnnotPanel.TaxonListAnnotPanel; + tell It; + togglePanel off; + endTell; + endTell; + endTell; + getEmployee #mesquite.trees.BasicTreeWindowCoord.BasicTreeWindowCoord; + tell It; + makeTreeWindow #8476784597994698209 #mesquite.trees.BasicTreeWindowMaker.BasicTreeWindowMaker; + tell It; + setTreeSource #mesquite.trees.StoredTrees.StoredTrees; + tell It; + setTreeBlock 1; + toggleUseWeights off; + endTell; + setAssignedID 908.983934835544.585850784873249678; + getTreeWindow; + tell It; + setExplanationSize 52; + setAnnotationSize 20; + setFontIncAnnot 0; + setFontIncExp 0; + setSize 647 358; + setLocation 500 34; + setFont SanSerif; + setFontSize 10; + getToolPalette; + tell It; + endTell; + getTreeDrawCoordinator #mesquite.trees.BasicTreeDrawCoordinator.BasicTreeDrawCoordinator; + tell It; + suppress; + setTreeDrawer #mesquite.trees.DiagonalDrawTree.DiagonalDrawTree; + tell It; + setNodeLocs #mesquite.trees.NodeLocsStandard.NodeLocsStandard; + tell It; + stretchToggle off; + branchLengthsToggle off; + toggleScale on; + toggleBroadScale off; + toggleCenter off; + toggleEven off; + namesAngle ?; + endTell; + setEdgeWidth 12; + orientUp; + endTell; + setBackground White; + setBranchColor Black; + showNodeNumbers off; + showBranchColors on; + labelBranchLengths off; + centerBrLenLabels on; + showBrLensUnspecified on; + showBrLenLabelsOnTerminals on; + setBrLenLabelColor 0 0 255; + setNumBrLenDecimals 6; + desuppress; + getEmployee #mesquite.trees.BasicDrawTaxonNames.BasicDrawTaxonNames; + tell It; + setColor Black; + toggleColorPartition on; + toggleShadePartition off; + toggleNodeLabels on; + toggleCenterNodeNames off; + toggleShowNames on; + endTell; + endTell; + setTreeNumber 1; + useSuggestedSize off; + toggleSizeToFit on; + toggleTextOnTree off; + endTell; + showWindow; + getEmployee #mesquite.trees.ColorBranches.ColorBranches; + tell It; + setColor Red; + removeColor off; + endTell; + getEmployee #mesquite.ornamental.BranchNotes.BranchNotes; + tell It; + setAlwaysOn off; + endTell; + getEmployee #mesquite.ornamental.ColorTreeByPartition.ColorTreeByPartition; + tell It; + colorByPartition off; + endTell; + endTell; + endTell; + getEmployee #mesquite.charMatrices.BasicDataWindowCoord.BasicDataWindowCoord; + tell It; + showDataWindow #974864624972105434 #mesquite.charMatrices.BasicDataWindowMaker.BasicDataWindowMaker; + tell It; + getWindow; + tell It; + setExplanationSize 30; + setAnnotationSize 20; + setFontIncAnnot 0; + setFontIncExp 0; + setSize 647 380; + setLocation 500 34; + setFont SanSerif; + setFontSize 10; + getToolPalette; + tell It; + endTell; + setTool mesquite.charMatrices.BasicDataWindowMaker.BasicDataWindow.arrow; + colorCells #mesquite.charMatrices.NoColor.NoColor; + setBackground White; + toggleShowNames on; + toggleShowTaxonNames on; + toggleTight off; + toggleShowChanges on; + toggleSeparateLines off; + toggleShowStates on; + toggleAutoWCharNames on; + toggleShowDefaultCharNames off; + toggleConstrainCW on; + setColumnWidth 16; + toggleBirdsEye off; + toggleColorsPanel off; + birdsEyeWidth 2; + toggleLinkedScrolling on; + toggleScrollLinkedTables off; + endTell; + showWindow; + getEmployee #mesquite.categ.StateNamesStrip.StateNamesStrip; + tell It; + showStrip off; + endTell; + getEmployee #mesquite.charMatrices.AnnotPanel.AnnotPanel; + tell It; + togglePanel off; + endTell; + getEmployee #mesquite.charMatrices.CharReferenceStrip.CharReferenceStrip; + tell It; + showStrip off; + endTell; + getEmployee #mesquite.charMatrices.ColorCells.ColorCells; + tell It; + setColor Red; + removeColor off; + endTell; + getEmployee #mesquite.charMatrices.QuickKeySelector.QuickKeySelector; + tell It; + autotabOff; + endTell; + endTell; + endTell; + newAssistant #mesquite.basic.ExamplesNavigator.ExamplesNavigator; + tell It; + setNextFileName '05-windowModes.nex'; + setPrevFileName '04-treeWindow.nex'; + getWindow; + tell It; + popOut; + setExplanationSize 0; + setAnnotationSize 0; + setFontIncAnnot 0; + setFontIncExp 0; + setSize 480 353; + setLocation 8 27; + setFont SanSerif; + setFontSize 10; + setExplanation 'This file shows how Mesquite''s functional windows are grouped as tabs within a single window of your operating system. At right is a window showing a list of taxa (the List of Taxa window). If you touch on the tabs along the top of the window, you can see a Tree Window, and a Character Matrix Editor. ^n^nThis system of tabs represents a change from version 1 of Mesquite. You can pop out a window to be independent by touching on the little circled arrow in the tab for the window; after it''s independent you can pop it back in by touching the arrow at top left of the indepedent window.^n^nYou can revert to the old style of all independent windows if you deselect Open Windows as Tabs in the Defaults submenu of the File menu.'; + setTitle Window_Tabs; + toggleFileNames off; + setPrevButtonName Previous; + setNextButtonName Next; + setEditorsVisible; + endTell; + showWindow; + endTell; + endTell; +end; + + Added: trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/05-windowModes.nex =================================================================== --- trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/05-windowModes.nex (rev 0) +++ trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/05-windowModes.nex 2009-12-15 18:12:58 UTC (rev 374) @@ -0,0 +1,453 @@ +#NEXUS +[written Thu Sep 20 14:09:04 MST 2007 by Mesquite version 2.0BETA4 (build i64) at Odontium.local/192.168.0.3 (David Maddison)] + +BEGIN TAXA; + TITLE Untitled_Block_of_Taxa; + DIMENSIONS NTAX=9; + TAXLABELS + Aus Fubonidia Ibbinidibe Snorolopa Quidnubia Suinon Zorabynyx Huichoros Jotinupa + ; + BLOCKID WM114861a64c410; + +END; + + +BEGIN CHARACTERS; + TITLE 'Matrix in file "05-windowModes.nex"'; + DIMENSIONS NCHAR=2; + FORMAT DATATYPE = STANDARD GAP = - MISSING = ? SYMBOLS = " 0 1"; + CHARSTATELABELS + 1 number_of_eyes / one two, 2 tail_color / blue red ; + MATRIX + Aus 11 + Fubonidia 11 + Ibbinidibe 11 + Snorolopa 1(0,1) + Quidnubia 00 + Suinon 00 + Zorabynyx 00 + Huichoros 00 + Jotinupa 00 + +; + BLOCKID WM114861a64f80; + + +END; +BEGIN TREES; + Title 'Trees from "05-windowModes.nex"'; + LINK Taxa = Untitled_Block_of_Taxa; + TRANSLATE + 1 Aus, + 2 Fubonidia, + 3 Ibbinidibe, + 4 Snorolopa, + 5 Quidnubia, + 6 Suinon, + 7 Zorabynyx, + 8 Huichoros, + 9 Jotinupa; + TREE First_Tree = ((((1,5),4),((7,6),2)),((9,8),3)); + TREE Second_Tree = ((((9,((4,1),2)),6),3),((8,7),5)); + TREE Third_Tree = ((8,((2,6),1)),((((3,9),7),4),5)); + TREE Polytomous = ((1,5),(7,6,2),4,((9,8),3)); + TREE Partial_tree = (((9,(1,2)),(8,7)),(3,5)); + +END; + + +BEGIN NOTES; + + TEXT TAXA = Untitled_Block_of_Taxa TAXON = 5 TEXT = Lives_deep_in_dark_caves; + + TEXT TAXON = 4 CHARACTER = 2 TEXT = 'Some individuals are blue, others are red. Why, no one knows.'; + +END; + +BEGIN CODONS; +CODESET * UNTITLED = universal: 1 - 2; + + +END; + +BEGIN ASSUMPTIONS; +OPTIONS DEFTYPE = unord PolyTcount = MINSTEPS; + TYPESET * UNTITLED = unord: 1 - 2; +TYPESET Current_Parsimony_Models = unord: 1 - 2; + +END; + +BEGIN MESQUITECHARMODELS; + ProbModelSet * UNTITLED = 'Mk1 (est.)': 1 - 2; +END; + +Begin MESQUITE; + MESQUITESCRIPTVERSION 2; + TITLE AUTO; + tell ProjectCoordinator; + getEmployee #mesquite.minimal.ManageTaxa.ManageTaxa; + tell It; + setID 0 8476784597994698209 WM114861a64c410; + endTell; + getEmployee #mesquite.charMatrices.ManageCharacters.ManageCharacters; + tell It; + setID 0 974864624972105434 WM114861a64f80; + checksum 0 4129971366 WM114861a64f80; + endTell; + getEmployee #mesquite.trees.BasicTreeWindowCoord.BasicTreeWindowCoord; + tell It; + makeTreeWindow #8476784597994698209 #mesquite.trees.BasicTreeWindowMaker.BasicTreeWindowMaker; + tell It; + setTreeSource #mesquite.trees.StoredTrees.StoredTrees; + tell It; + setTreeBlock 1; + toggleUseWeights off; + endTell; + setAssignedID 908.983934835544.585850784873249678; + getTreeWindow; + tell It; + popOut; + setExplanationSize 20; + setAnnotationSize 20; + setFontIncAnnot 0; + setFontIncExp 0; + setSize 537 282; + setLocation 533 24; + setFont SanSerif; + setFontSize 10; + getToolPalette; + tell It; + endTell; + getTreeDrawCoordinator #mesquite.trees.BasicTreeDrawCoordinator.BasicTreeDrawCoordinator; + tell It; + suppress; + setTreeDrawer #mesquite.trees.DiagonalDrawTree.DiagonalDrawTree; + tell It; + setNodeLocs #mesquite.trees.NodeLocsStandard.NodeLocsStandard; + tell It; + stretchToggle off; + branchLengthsToggle off; + toggleScale on; + toggleBroadScale off; + toggleCenter off; + toggleEven off; + namesAngle ?; + endTell; + setEdgeWidth 12; + orientUp; + endTell; + setBackground White; + setBranchColor Black; + showNodeNumbers off; + showBranchColors on; + labelBranchLengths off; + centerBrLenLabels on; + showBrLensUnspecified on; + showBrLenLabelsOnTerminals on; + setBrLenLabelColor 0 0 255; + setNumBrLenDecimals 6; + desuppress; + getEmployee #mesquite.trees.BasicDrawTaxonNames.BasicDrawTaxonNames; + tell It; + setColor Black; + toggleColorPartition on; + toggleShadePartition off; + toggleNodeLabels on; + toggleCenterNodeNames off; + toggleShowNames on; + endTell; + endTell; + setTreeNumber 1; + useSuggestedSize off; + toggleSizeToFit on; + toggleTextOnTree off; + endTell; + showWindow; + getEmployee #mesquite.trees.ColorBranches.ColorBranches; + tell It; + setColor Red; + removeColor off; + endTell; + getEmployee #mesquite.ornamental.BranchNotes.BranchNotes; + tell It; + setAlwaysOn off; + endTell; + getEmployee #mesquite.ornamental.ColorTreeByPartition.ColorTreeByPartition; + tell It; + colorByPartition off; + endTell; + endTell; + makeTreeWindow #8476784597994698209 #mesquite.trees.BasicTreeWindowMaker.BasicTreeWindowMaker; + tell It; + setTreeSource #mesquite.trees.StoredTrees.StoredTrees; + tell It; + setTreeBlock 1; + toggleUseWeights off; + endTell; + setAssignedID 886.1053111291939.6488771259174774010; + getTreeWindow; + tell It; + popOut; + setExplanationSize 20; + setAnnotationSize 20; + setFontIncAnnot 0; + setFontIncExp 0; + setSize 492 395; + setLocation 9 403; + setFont SanSerif; + setFontSize 10; + getToolPalette; + tell It; + endTell; + showPage 1; + getTreeDrawCoordinator #mesquite.trees.BasicTreeDrawCoordinator.BasicTreeDrawCoordinator; + tell It; + suppress; + setTreeDrawer #mesquite.trees.DiagonalDrawTree.DiagonalDrawTree; + tell It; + setNodeLocs #mesquite.trees.NodeLocsStandard.NodeLocsStandard; + tell It; + stretchToggle off; + branchLengthsToggle off; + toggleScale on; + toggleBroadScale off; + toggleCenter off; + toggleEven off; + namesAngle ?; + endTell; + setEdgeWidth 12; + orientUp; + endTell; + setBackground White; + setBranchColor Black; + showNodeNumbers off; + showBranchColors on; + labelBranchLengths off; + centerBrLenLabels on; + showBrLensUnspecified on; + showBrLenLabelsOnTerminals on; + setBrLenLabelColor 0 0 255; + setNumBrLenDecimals 6; + desuppress; + getEmployee #mesquite.trees.BasicDrawTaxonNames.BasicDrawTaxonNames; + tell It; + setColor Black; + toggleColorPartition on; + toggleShadePartition off; + toggleNodeLabels on; + toggleCenterNodeNames off; + toggleShowNames on; + endTell; + endTell; + setTreeNumber 1; + useSuggestedSize off; + toggleSizeToFit on; + toggleTextOnTree off; + endTell; + showWindow; + getEmployee #mesquite.trees.ColorBranches.ColorBranches; + tell It; + setColor Red; + removeColor off; + endTell; + getEmployee #mesquite.ornamental.BranchNotes.BranchNotes; + tell It; + setAlwaysOn off; + endTell; + getEmployee #mesquite.ornamental.ColorTreeByPartition.ColorTreeByPartition; + tell It; + colorByPartition off; + endTell; + endTell; + makeTreeWindow #8476784597994698209 #mesquite.trees.BasicTreeWindowMaker.BasicTreeWindowMaker; + tell It; + setTreeSource #mesquite.trees.StoredTrees.StoredTrees; + tell It; + setTreeBlock 1; + toggleUseWeights off; + endTell; + setAssignedID 908.1053111292798.248682516746150818; + getTreeWindow; + tell It; + popOut; + setExplanationSize 20; + setAnnotationSize 20; + setFontIncAnnot 0; + setFontIncExp 0; + setSize 487 225; + setLocation 529 400; + setFont SanSerif; + setFontSize 10; + getToolPalette; + tell It; + endTell; + showPage 2; + getTreeDrawCoordinator #mesquite.trees.BasicTreeDrawCoordinator.BasicTreeDrawCoordinator; + tell It; + suppress; + setTreeDrawer #mesquite.trees.DiagonalDrawTree.DiagonalDrawTree; + tell It; + setNodeLocs #mesquite.trees.NodeLocsStandard.NodeLocsStandard; + tell It; + stretchToggle off; + branchLengthsToggle off; + toggleScale on; + toggleBroadScale off; + toggleCenter off; + toggleEven off; + namesAngle ?; + endTell; + setEdgeWidth 12; + orientUp; + endTell; + setBackground White; + setBranchColor Black; + showNodeNumbers off; + showBranchColors on; + labelBranchLengths off; + centerBrLenLabels on; + showBrLensUnspecified on; + showBrLenLabelsOnTerminals on; + setBrLenLabelColor 0 0 255; + setNumBrLenDecimals 6; + desuppress; + getEmployee #mesquite.trees.BasicDrawTaxonNames.BasicDrawTaxonNames; + tell It; + setColor Black; + toggleColorPartition on; + toggleShadePartition off; + toggleNodeLabels on; + toggleCenterNodeNames off; + toggleShowNames on; + endTell; + endTell; + setTreeNumber 1; + useSuggestedSize off; + toggleSizeToFit on; + toggleTextOnTree off; + endTell; + showWindow; + getEmployee #mesquite.trees.ColorBranches.ColorBranches; + tell It; + setColor Red; + removeColor off; + endTell; + getEmployee #mesquite.ornamental.BranchNotes.BranchNotes; + tell It; + setAlwaysOn off; + endTell; + getEmployee #mesquite.ornamental.ColorTreeByPartition.ColorTreeByPartition; + tell It; + colorByPartition off; + endTell; + endTell; + makeTreeWindow #8476784597994698209 #mesquite.trees.BasicTreeWindowMaker.BasicTreeWindowMaker; + tell It; + setTreeSource #mesquite.trees.StoredTrees.StoredTrees; + tell It; + setTreeBlock 1; + toggleUseWeights off; + endTell; + setAssignedID 930.1053111293428.7666447681000981525; + getTreeWindow; + tell It; + popOut; + setExplanationSize 52; + setAnnotationSize 20; + setFontIncAnnot 0; + setFontIncExp 0; + setSize 485 265; + setLocation 706 505; + setFont SanSerif; + setFontSize 10; + getToolPalette; + tell It; + endTell; + showPage 3; + getTreeDrawCoordinator #mesquite.trees.BasicTreeDrawCoordinator.BasicTreeDrawCoordinator; + tell It; + suppress; + setTreeDrawer #mesquite.trees.DiagonalDrawTree.DiagonalDrawTree; + tell It; + setNodeLocs #mesquite.trees.NodeLocsStandard.NodeLocsStandard; + tell It; + stretchToggle off; + branchLengthsToggle off; + toggleScale on; + toggleBroadScale off; + toggleCenter off; + toggleEven off; + namesAngle ?; + endTell; + setEdgeWidth 12; + orientUp; + endTell; + setBackground White; + setBranchColor Black; + showNodeNumbers off; + showBranchColors on; + labelBranchLengths off; + centerBrLenLabels on; + showBrLensUnspecified on; + showBrLenLabelsOnTerminals on; + setBrLenLabelColor 0 0 255; + setNumBrLenDecimals 6; + desuppress; + getEmployee #mesquite.trees.BasicDrawTaxonNames.BasicDrawTaxonNames; + tell It; + setColor Black; + toggleColorPartition on; + toggleShadePartition off; + toggleNodeLabels on; + toggleCenterNodeNames off; + toggleShowNames on; + endTell; + endTell; + setTreeNumber 1; + useSuggestedSize off; + toggleSizeToFit on; + toggleTextOnTree off; + endTell; + showWindow; + getEmployee #mesquite.trees.ColorBranches.ColorBranches; + tell It; + setColor Red; + removeColor off; + endTell; + getEmployee #mesquite.ornamental.BranchNotes.BranchNotes; + tell It; + setAlwaysOn off; + endTell; + getEmployee #mesquite.ornamental.ColorTreeByPartition.ColorTreeByPartition; + tell It; + colorByPartition off; + endTell; + endTell; + endTell; + newAssistant #mesquite.basic.ExamplesNavigator.ExamplesNavigator; + tell It; + setNextFileName '06-helpMenu.nex'; + setPrevFileName '04a-windowTabs.nex'; + getWindow; + tell It; + setExplanationSize 0; + setAnnotationSize 0; + setFontIncAnnot 0; + setFontIncExp 0; + setSize 520 303; + setLocation 4 22; + setFont SanSerif; + setFontSize 10; + setActive; + setExplanation 'Most windows have several modes for viewing, controlled by the information bar at the top. The information bar has five tabs, "Graphics", "Text", "Parameters", "Modules" and "Citations". If the information bar does not appear at the top of a window, it may be turned on using the "Show Information Bar" menu item in the Windows menu.^n^nThe four windows shown here are all tree windows, being show in each of four different modes. The "Graphics" mode is the standard mode in which you''re likely to work. The "Text" mode gives an alternative, text-based view of the window. The "Parameters" mode shows important parameter settings of the various modules participating in the window. This can be useful to see what are the parameters values or assumptions for an analysis. The "Modules" mode shows the hierarchy of Mesquite modules involved in making the window. If you pass the cursor over the names of the modules, information about each module will appear in the explanation area at the bottom of the window. Touching on the name of the module also gives information. The "Citations" mode shows citations of any modules involved in the calculations that consider themselves citable in the sense of producing substantive results.'; + setTitle Window_modes; + toggleFileNames off; + setPrevButtonName Previous; + setNextButtonName Next; + endTell; + showWindow; + endTell; + endTell; +end; + + Property changes on: trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/05-windowModes.nex ___________________________________________________________________ Added: svn:executable + * Added: trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/06-helpMenu.nex =================================================================== --- trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/06-helpMenu.nex (rev 0) +++ trunk/treebase-core/lib/examples/Basic_Examples/basic_operation/06-helpMenu.nex 2009-12-15 18:12:58 UTC (rev 374) @@ -0,0 +1,208 @@ +#NEXUS +[written Thu Sep 20 14:09:20 MST 2007 by Mesquite version 2.0BETA4 (build i64) at Odontium.local/192.168.0.3 (David Maddison)] + +BEGIN TAXA; + TITLE Untitled_Block_of_Taxa; + DIMENSIONS NTAX=9; + TAXLABELS + Aus Fubonidia Ibbinidibe Snorolopa Quidnubia Suinon Zorabynyx Huichoros Jotinupa + ; + BLOCKID WM114861b8cfd11; + +END; + + +BEGIN CHARACTERS; + TITLE 'Matrix in file "06-helpMenu.nex"'; + DIMENSIONS NCHAR=2; + FORMAT DATATYPE = STANDARD GAP = - MISSING = ? SYMBOLS = " 0 1"; + CHARSTATELABELS + 1 number_of_eyes / one two, 2 tail_color / blue red ; + MATRIX + Aus 11 + Fubonidia 11 + Ibbinidibe 11 + Snorolopa 1(0,1) + Quidnubia 00 + Suinon 00 + Zorabynyx 00 + Huichoros 00 + Jotinupa 00 + +; + BLOCKID WM114861b8d080; + + +END; +BEGIN TREES; + Title 'Trees from "06-helpMenu.nex"'; + LINK Taxa = Untitled_Block_of_Taxa; + TRANSLATE + 1 Aus, + 2 Fubonidia, + 3 Ibbinidibe, + 4 Snorolopa, + 5 Quidnubia, + 6 Suinon, + 7 Zorabynyx, + 8 Huichoros, + 9 Jotinupa; + TREE First_Tree = ((((1,5),4),((7,6),2)),((9,8),3)); + TREE Second_Tree = ((((9,((4,1),2)),6),3),((8,7),5)); + TREE Third_Tree = ((8,((2,6),1)),((((3,9),7),4),5)); + TREE Polytomous = ((1,5),(7,6,2),4,((9,8),3)); + TREE Partial_tree = (((9,(1,2)),(8,7)),(3,5)); + +END; + + +BEGIN NOTES; + + TEXT TAXA = Untitled_Block_of_Taxa TAXON = 5 TEXT = Lives_deep_in_dark_caves; + + TEXT TAXON = 4 CHARACTER = 2 TEXT = 'Some individuals are blue, others are red. Why, no one knows.'; + +END; + +BEGIN CODONS; +CODESET * UNTITLED = universal: 1 - 2; + + +END; + +BEGIN ASSUMPTIONS; +OPTIONS DEFTYPE = unord PolyTcount = MINSTEPS; + TYPESET * UNTITLED = unord: 1 - 2; +TYPESET Current_Parsimony_Models = unord: 1 - 2; + +END; + +BEGIN MESQUITECHARMODELS; + ProbModelSet * UNTITLED = 'Mk1 (est.)': 1 - 2; +END; + +Begin MESQUITE; + MESQUITESCRIPTVERSION 2; + TITLE AUTO; + tell ProjectCoordinator; + getEmployee #mesquite.minimal.ManageTaxa.ManageTaxa; + tell It; + setID 0 8476784597994698209 WM114861b8cfd11; + endTell; + getEmployee #mesquite.charMatrices.ManageCharacters.ManageCharacters; + tell It; + setID 0 974864624972105434 WM114861b8d080; + checksum 0 4129971366 WM114861b8d080; + endTell; + getEmployee #mesquite.trees.BasicTreeWindowCoord.BasicTreeWindowCoord; + tell It; + makeTreeWindow #8476784597994698209 #mesquite.trees.BasicTreeWindowMaker.BasicTreeWindowMaker; + tell It; + setTreeSource #mesquite.trees.StoredTrees.StoredTrees; + tell It; + setTreeBlock 1; + toggleUseWeights off; + endTell; + setAssignedID 908.983934835544.585850784873249678; + getTreeWindow; + tell It; + setExplanationSize 52; + setAnnotationSize 20; + setFontIncAnnot 0; + setFontIncExp 0; + setSize 589 413; + setLocation 475 22; + setFont SanSerif; + setFontSize 10; + getToolPalette; + tell It; + endTell; + setActive; + getTreeDrawCoordinator #mesquite.trees.BasicTreeDrawCoordinator.BasicTreeDrawCoordinator; + tell It; + suppress; + setTreeDrawer #mesquite.trees.DiagonalDrawTree.DiagonalDrawTree; + tell It; + setNodeLocs #mesquite.trees.NodeLocsStandard.NodeLocsStandard; + tell It; + stretchToggle off; + branchLengthsToggle off; + toggleScale on; + toggleBroadScale off; + toggleCenter off; + toggleEven off; + namesAngle ?; + endTell; + setEdgeWidth 12; + orientUp; + endTell; + setBackground White; + setBranchColor Black; + showNodeNumbers off; + showBranchColors on; + labelBranchLengths off; + centerBrLenLabels on; + showBrLensUnspecified on; + showBrLenLabelsOnTerminals on; + setBrLenLabelColor 0 0 255; + setNumBrLenDecimals 6; + desuppress; + getEmployee #mesquite.trees.BasicDrawTaxonNames.BasicDrawTaxonNames; + tell It; + setColor Black; + toggleColorPartition on; + toggleShadePartition off; + toggleNodeLabels on; + toggleCenterNodeNames off; + toggleShowNames on; + endTell; + endTell; + setTreeNumber 1; + useSuggestedSize off; + toggleSizeToFit on; + toggleTextOnTree off; + endTell; + showWindow; +... [truncated message content] |