-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Customizing the plot #19
Comments
Hi Ray, let's see what we can do! I think you're right in that we could change Try this mod, it should be able to resolve both (I haven't had a chance to test it). Try changing the highlight track from line 569-579 to:
Let me know how that goes! |
Thanks Breon, The following error came up, looks like more changes required, ================================== Stage plot_fusion (SeraseqV4) =================================== Rscript /opt/tools/Clinker/plotit/fst_plot.r /opt/tools/Clinker/test_J2PRT/output_Rmod FGFR3:TACC3 /opt/tools/Clinker/test_J2PRT/output_Rmod/alignment/SeraseqV4_40ng_1_umi_dedup/FGFR3_TACC3 9 16 1,3,1,2,4,2 /opt/tools/Clinker/test_J2PRT/output_Rmod/alignment/SeraseqV4_40ng_1_umi_dedup SeraseqV4_40ng_1_umi_dedup 6e65ad,3983AA,2b749a,f05f3b,a1d16e,f2ffe4,215A4A,D7D4E4,6e65ad,ff6d6d axis,coverage,gene,domain,transcript,sashimi 2 |
Sorry about the delay! Hopefully this is an easy one. If you return to fst_plot.r and navigate to lines 569-579 can you check whether there is a comma after Let me know how you go :). |
Hmmm, good question. Clinker doesn't have a mechanism for changing that number directly at the moment. That number is generated by one of the libraries that Clinker depends on for visualisation (GViz). Looking at the source code for GViz, it appears that they get that number using the 'summarizeJunctions` function in another library called GenomicAlignments. Dependencies upon dependencies! The number that this shows vs. your fusion caller output is likely to be a bit different (I think perhaps even more support should be shown?) as you are aligning to a different reference (the superTranscript!). Regardless, how does one manually update that number? I think the easiest solution is to use something like Adobe Acrobat/Photoshop or Inkscape/GIMP on the final figure to reflect the numbers in your fusion caller output. Adding it as a function in Clinker might take some looking into. Let me know if that helps! |
Howdy!
It is a question rather than an issue. I'd like to customize the PDF plot, to be specific:
Is there an option to remove the number label on "Split Reads" track on the PDF plot?
Do not plot the intra-gene lines (grey color).
Is there a "-p" flag for such options? Otherwise possible to change the code? I would expect changing fst_plot.r most likely can do the magic, while my R experience is minimal.
Thanks,
Ray
The text was updated successfully, but these errors were encountered: