Deprecate jtv#68
Merged
WilliamKMLai merged 4 commits intomasterfrom Dec 21, 2021
Merged
Conversation
Affected tools are TagPileup in Read_Analysis and the two sort tools in Coordinate_Manipulation Remove the util.JTVOutput class that writes a JTV file. Remove the code within the SortBED and SortGFF script classes that call the JTVOutput class to generate the JTV. Remove the code within the TagPileup script class that calls the JTVOutput class to generate the JTV. Remove the JTV-related variables stored in the PileupParameters class that TagPileup uses. Remove the code within the CLI and window_interface class that set the PileupParameter values.
Since the JTV file type was deprecated, the command line interface of Tag Pileup does not use color information because it only stores the values of the composite plot rather than generating the PNG (see separate composite plot tool). As a result, the PileupParameters object is used by the script TagPileup object and the colors are used only by the Output window from the GUI interface. It is redundant to pass the color information to the script when it is only used by the output window. PileupParameters.java--color information (Anti, Sense, and Combined) are removed from the object. TagPileupOutput--constructor adjusted to accept an ArrayList of Color objects and the composite plot figures are adjusted to use this ArrayList for generating the composite plot object. Two whitespace formatting changes are also included here. TagPileupWindow--The code for changing the PileupParameters color fields is adjusted to create a new ArrayList of Color objects to pass to the TagPileupOutput object.
TagPileupWindow contained logically redundant if-statement checks that were merged in this commit. i.e. the chckbxOutputData was checked for if it was *not selected* and then for if it was *selected* which was logically merged with an added "else" statement
Two writer objects were not closed in the TagPileup script. This was fixed in this commit (along with some cosmetic code indentation adjustments)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Merge commits addressing issue #64 to master.