Closed WimSpee closed 4 years ago
If someone else runs into the same issue I found out how the connection is made.
The numbers in the Species_1
and Species_2
columns of the synteny_dual_comparison
files are just index numbers that point to the chromosomes defined for the 2 species defined in the karyotype_dual_comparison
file.
To change the order of the chromosomes in the visualization, change the order of the chromosomes defined in the karyotype_dual_comparison
file. And update the values in the Species_1
and Species_2
columns of the synteny_dual_comparison
file accordingly.
@TickingClock1992 I think it would be more user friendly to connect to the chromosomes in the karyotype_dual_comparison
by name instead of by index.
Thanks for suggestion. It is much easier to match these two files by index in the script. The 'Chr' column in karyotype file is just the name of corresponding chromosome while the row count corresponds to the chromosome number. And 'Species_1' and 'Species_2' columns in synteny file correspond to the chromosome numbers in their own species. In your case, you just need to put the lg7 in the first line of linkage group with 'Chr' being filled in 'lg7'. And in synteny file, using '1' in 'Species_1' to represent the 'chr1' and '1' in 'Species_2' to represent the 'lg7'. I think it will work in this way. And thanks for the suggestion again. I will try to make it more friendly for users in the next version.
Hi,
Thank you for the nice RIdeogram software. It is indeed difficult to find good and easy to use software for plotting synteny between 2 linear maps. This is what I hope that Rideogram can do.
I got the examples to work and also got some of my own data into a 2 way synteny plot.
I wonder how the connection is made between chromosomes in karyotype and synteny file?
In the the example code (also shown below) Roman numerals are used to identify the chromosomes in the karyotype file. In my own file I used chrX and lgX in this file. I am comparing a genetic and physical map.
In the synteny file normal (Arabic) numerals are used, and also required, otherwise the software runs into an error.
How does Rideogram know on which chromosome from the karytype file a line from the synteny file should be plotted? The chromosome names don't match up.
Is it also possible to manually line up the order of chromosomes between 2 maps? For example I know that chr1 corresponds to lg7 in my case, and the plot would be much nicer if chr1 and lg7 are direct below/above each other. Maybe even better with a straight instead of a curved line. Some chromosomes / linkage group maps could also be flipped, to get them in the same orientation (this is something that I also could do manually of course).
Thank you.