How to visualise linear synteny between two de novo genome assemblies? #1497
-
Based on the documentation (https://www.jbrowse.org/jb2/docs/user_guide#linear-synteny-and-dotplot-views) it should be possible to view linear synteny using JBrowse2, but at the moment I am unable to load the config_synteny_grape_peach_paf.json in the test_data folder to test this feature set. The config_synteny_grape_peach.json in the same folder works but it doesn't use the *.paf alignment file. My question is, if I have two de novo assemblies ASM1 and ASM2 of a closely related species with their corresponding *.fas, *.fai and a ASM1_ASM2.paf (generated using Minimap2) files, what's the minimum configuration needed in the config.json to visualise the synteny? or do I need any additional datasets for it to work? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@siddharthjayaraman I found there was a bug with config_synteny_grape_peach_paf.json (there was a recent overhaul to how synteny tracks are done to allow the same synteny track to be visible in both dotplot and linear modes) I attempted a quick fix here Now config_synteny_grape_peach.json has an example with both MCScan and PAF file (I have tried to encourage PAF over MCScan generally because the MCScan is a little wild how it works, first having to fetch gene names from the mcscan, and then fetching the coordinates from the gene track using subadapters....kinda crazy) Glad to hear interest in this! If you want to test it out locally you can
As far as loading your own instance, it is still something we are trying to work out properly. I think the best workflow is to use the GUI actually as opposed to the CLI. Using the GUI helps because it initializes the synteny view to contain the entire genome's scaffolds as displayedRegions Note that order matters with the PAF file, it assumes the left column of the PAF is the top assembly, and the right column of the PAF is the bottom one... should probably document that |
Beta Was this translation helpful? Give feedback.
@siddharthjayaraman I found there was a bug with config_synteny_grape_peach_paf.json (there was a recent overhaul to how synteny tracks are done to allow the same synteny track to be visible in both dotplot and linear modes)
I attempted a quick fix here
#1498
Now config_synteny_grape_peach.json has an example with both MCScan and PAF file (I have tried to encourage PAF over MCScan generally because the MCScan is a little wild how it works, first having to fetch gene names from the mcscan, and then fetching the coordinates from the gene track using subadapters....kinda crazy)
Glad to hear interest in this!
If you want to test it out locally you can