new version for TreeLoader.java and associated subclasses
Created TreeLoader.java and its subclasses NhxLoader.java, NhLoader.java etc to provide a scaleable and reusable framework for file extensions. Importantly, the file extensions determine how a file is read and saved in a consistent manner. The code is now used by the gui and all relevant command line tools. All references to the code in the gui were tested and seem to work as expected. The mrbayes format was not tested but all other formats were tested. About 5 of the commandline tools that r...
reformat a tree based on the file extensions
Add javadppc and comments
TreeFrame now calls TreeFrame.exit() when it is a stand alone application
TreeFrame now calls TreeFrame.exit() when it is a stand alone application
TreeFrame now calls TreeFrame.exit() when it is a stand alone application
Treeviewer.java now prepends the current working directory to a treefile when the user doesn't include ./ in the file name. This fixes isse where Treeviewer.java could open a file name file.nh fromthe cwd
Add comment to document the fact that ToolTipManager manages all tooltips and changes made to the sharedInstance will be applied to every tooltip in your application. This is a problem as ttm.setDismissDelay(30000) in AlignmentPanel.java means the Dismiss Delay is too short for SequenceAnnotation1Panel.java etc
Added the --verbose option so that we only report sequences in the cDNA file that are missing in the protein MSA when --verbose is specified
Comment out a print statement
Comment out a print statement
replace some ternary operators with full if else statements
1) Replace new Integer(i) with Integer.valueOf(i). 2) Occasionally add type arguments for variables(e.g. HashMaps) that the Integer was added to. I only did this when the variable was local/had a few (around 5) references
Improve java doc
Replace the word highlight with select/selected from comments, parameter names, and previosly commented-out methods. The concept of highlighting is a misnomer and has been eradicated
Version 3.025
New version and date to mark the previous commit that commented out the abstract method DisplayPropertiesListener.displayHighlightsChanged(DisplayProperties dp, Sequence[] seqs).
Commented out the abstract method DisplayPropertiesListener.displayHighlightsChanged(DisplayProperties dp, Sequence[] seqs). Likewise, I commented out the corresponding method in all classes that implement DisplayPropertiesListener
add java doc
Clean up column selection code, add comment, and add theoretical support for the apple command (there seems to be a java bug that means it only works when shift is also pressed with the apple command
1) Comment out DisplayProperties.fireDisplayHighlightsChanged(Sequence[] seqs) and replace it with DisplayProperties.fireResidueSelectionChanged(Sequence[] seqs) 2) Rename DisplayProperties.fireDisplayHighlightsChanged(Sequence seq) to DisplayProperties.fireResidueSelectionChanged(Sequence seq)
Clean up of code to prior to addressing DisplayPropertiesListener.displayHighlightsChanged
Rename methods that contain seHighlights with SelectedResidues or ResidueSelected
Rename methods that contain seHighlights with SelectedResidues or ResidueSelected
Rename methods that contain seHighlights with SelectedResidues or ResidueSelected
Rename methods that contain seHighlights with SelectedResidues or ResidueSelected
Delete unused classes
new build version 3.023
Changes to javadoc
Rename DisplayPropertiesListener.displayPropertiesAnnViewChanged(DisplayProperties dp, Sequence seq, boolean show) to DisplayPropertiesListener.displayPropertiesLineAnnotationViewChanged(DisplayProperties dp, Sequence seq, boolean show)
rename some methods to clarify their involvmennt in line annotations
Prepend various abstract methods with DisplayProperties and add boilerplate java doc
Rename DisplayPropertiesListener.displaySeqSelectChanged() to DisplayPropertiesListener.displayPropertiesSequenceSelectionChanged()
Rename DisplayPropertiesListener.displayHighlightsChanged(DisplayProperties dp, Sequence seq) to DisplayPropertiesListener.displayPropertiesResidueSelectionChanged(DisplayProperties dp, Sequence seq)
1) The selection status bar is now aligned to the left which is consistent with the toolbar with dropboxes / comboboxes. 2) Removed/ commented out the statusBarSeqNameInfo as it was taken up valuable space and wasn't providing very useful info. 3) Shortened wording of tool bar text by removing Number of from varios labels and added tool tips for them instead. 4) Added the number of selected sequences to the selection status bar
new version
new build
The filter and sort boxes now are set to a dark grey when the box is clicked, and reset to their default color when deselected
The filter and sort boxes now are set to a dark grey when the box is clicked, and reset to their default color when deselected
1) The status bar now shows the Number of selected residues and the Number of selected columns. 2) The statusBarInformation was extracted from various methods and an innner class within Pfaat.java and improved to support #1.
reflects changes in DisplayProperties.java
reflects changes in DisplayProperties.java
reflects changes in DisplayProperties.java
rename some fields that refer to highlights as selectedResidues
1) RulerAnnotationComponent.java is renamed ColumnSelectionComponent.java .2) Related to #1, the inner class Alignment.RulerAnnotation is removed and so are all related methods and references through out. The concept of ruler annotation was essentially obsolete as there was no way to add or edit them. Instead, the RulerAnnotationComponent only real purpose was to support column selection as now reflected in the appropriately named ColumnSelectionComponent.java
1) Rename some methods to more explicit names. 2) Collapsed nodes and their labels are now colored pink when 1 or more of their collapsed children are selected.
1) Rename some methods to more explicit names. 2) Collapsed nodes and their labels are now colored pink when 1 or more of their collapsed children are selected.
Small tweak to java doc
Tweak build instructions slightly. New date
Various changes associate with renaming of methods in other classes
Use Sequence.getName() instead of Sequence.getDisplayedName()
1) Added overriding public String getToolTipText(MouseEvent event) which provides the appropriate tool tip when mousing over sequence annotation panel 1. Specifically, it displays associated structure information when (and only when) it exists for a sequence. 2) Rename mouse_row_pos to indexForSeqAnn1Component, rename findRow(int x, int y) to getIndexForSeqAnn1Component(int x, int y), Rename getMouseRowPosition() to getIndexForSeqAnn1Component()
deleting as this is not references and appears to be an old version of SequenceAnn3Component.java
Tweaked java doc
1. Remove tooltip code that was written yesterday as it was clobbering right click sequence funcitonality. 2. replace Sequence.getDisplayedName() with Sequence.getAnnotationValueDisplayedAt1stComponent() and comment out old code that was using old logic / rationalle to determin the displayed values for the component.
Modify java doc
Rename View -> Sort Sequences By -> Name to View -> Sort Sequences By -> Sequence Name
getMouseRowPosition() renamed to getIndexForSeqAnn1Component()
Deprecate Sequence.getDisplayedName()
replace Sequence.getDisplayedName() with Sequence.getName()
Fix code causing warnings
Tool tips are now set for each SequenceAnn1Component and include the pdb file and associated chain when it exists
add java doc
The help now refers to importing Meme results as residue annotations
Comment out various print statements
Add basic comment
version 3.0.20
Various changes that reflect the chaning of Tree.getNode(String) to Tree.getNode(String,boolean)
Added warnings for situations where the leaves in the hyphy result file and/or the seq names in the aligment did not match
1. Added boolean returnNullWhenNoNodesFound paramater to getNode(). 2. Added public boolean nodeExists(String nodeName).
Fix code causing warnings
Fix code causing warnings
Now uses AlignmentFileUtil.openAlignment(File) and AlignmentFileUtil.saveAlignment(Alignment, File, File) instead of local methods
Reference to VneScore is replace with ref to the new name ResidueConservationScores
Added code to report end time
FIx code that is causing warnings
trivial changes
Don't need this as ReformatAlignment does the same job
Rename VneScore.java to ResidueConservationScores.java
Modified openAlignment() so it catches a FileNotFoundException.
Remove code causing warning
remove code causing warning
Change ReformatAlignment reference to ImportSequenceAnnotations
Change ReformatAlignment reference to CopyResidueAnnotsWithInPfaat
Rename ReformatAlignment reference to ClosestResiduesToReceptor
Fix code causing warnings
Fix code that causes warnings
Fix code causing warnings
Fix code causing warnings
Fix code that cause warnings
Delete as ReformatAlignment does the same thing
Rename Clustal2Pfaat to ReformatAlignment
Improve the java doc
ResidueColorScheme() now handles situation where the file is null