Skip to content

Import fusion inspector support#21

Open
plijnzaad wants to merge 12 commits into
stianlagstad:masterfrom
plijnzaad:import_FusionInspector_support
Open

Import fusion inspector support#21
plijnzaad wants to merge 12 commits into
stianlagstad:masterfrom
plijnzaad:import_FusionInspector_support

Conversation

@plijnzaad
Copy link
Copy Markdown

I had hoped that Chimeraviz could also do a plotFusionReads type 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

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
@plijnzaad
Copy link
Copy Markdown
Author

Note: this PR also includes those implemented by PR #18, #19 and #20 . I think they are largely independent, so you prolly can cherrypick your way around

@stianlagstad
Copy link
Copy Markdown
Owner

Thank you very much! :) I'll wait with this one until we've merged #18, #19 and #20.

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.

2 participants