Import fusion inspector#22
Open
plijnzaad wants to merge 20 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
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.
This PR implements the import of STAR-Fusion+FusionInspector output in order to get a
plotFusionReads-like plot. FusionInspector creates a virtual 'mini genome' to which the fusion reads are again aligned. Unfortunately, the chromosomes and coordinates are therefore completely different, soplotFusionReadsneeds some simplifications (functionplotFusionReadsSimple) to work, andplotCircle,plotFusionsandplotTranscriptsall fail, because of the different coordinate systems.It may still be useful to some people. E.g., I currently read the fusion data in in two ways: plain STAR-Fusion for
plotCircle,plotFusionsandplotTranscripts; and inuseFusionInspector=TRUEmode forplotFusionReadsSimple. (The latter is still really bare bones BTW)