Skip to content

Import fusion inspector#22

Open
plijnzaad wants to merge 20 commits into
stianlagstad:masterfrom
plijnzaad:import_fusion_inspector
Open

Import fusion inspector#22
plijnzaad wants to merge 20 commits into
stianlagstad:masterfrom
plijnzaad:import_fusion_inspector

Conversation

@plijnzaad
Copy link
Copy Markdown

@plijnzaad plijnzaad commented Feb 27, 2018

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, so plotFusionReads needs some simplifications (function plotFusionReadsSimple) to work, and plotCircle, plotFusions and plotTranscripts all 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, plotFusions and plotTranscripts; and in useFusionInspector=TRUE mode for plotFusionReadsSimple. (The latter is still really bare bones BTW)

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant