Import fusion inspector support#21
Open
plijnzaad wants to merge 12 commits into
Open
Conversation
leave this up to end user (e.g. MT-chr3 fusions display fine)
(cherry picked from commit f17c89decb83c2bc97811231b97f546672767d03)
(cherry picked from commit 8768ce180b2c7b324c980940e4457f7be0fa6835)
... but only if column PROT_FUSION_TYPE is available (i.e. when reading star-fusion.fusion_predictions.abridged.annotated.coding_effect.tsv ) If the (default) "star-fusion.fusion_predictions.abridged.tsv" file is used, inframe remains NA (and a warning is issued) now also setting fusion@inframe ...
... to make R CMD check shut up
Author
Owner
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.
I had hoped that Chimeraviz could also do a
plotFusionReadstype plot with output from STAR-Fusion+FusionInspector, but that is unfortunately not the case, the data is too different.It turns out that FusionInspector (part of the STAR-Fusion suite) produces most of the things needed to do a fusion reads plot, by creating a virtual 'mini genome' to which the fusion reads are again aligned.
I therefore wrote an extension that can deal with this. This pull request sets the stage for making that possible: it makes a few (star-fusion output-specific) things slightly more general. If all is well, things should remain working as before.
I will issue another PR later on with code that implements the importing of FusionInspector results