Categories
Chromosome Mapping Did you know? Tips

Changing segment layer order: did you know? #1

This brief post is the first in a new series aiming to surface features at DNA Painter that you might not be aware of.

Within any chromosome map, DNA Painter displays segments in the position of their stated chromosome, start and stop positions.

A view of chromosome pair 6 in an example chromosome map
A view of chromosome pair 6 in an example chromosome map

If you click on the chromosome number on the left, you can open it and view all painted segments on that chromosome:

The expanded view of chromosome 6
The expanded view of chromosome 6 that you see when you click the chromosome number on the left.

But the default view shows each chromosome pair in a ‘closed’ position. When this is the case, the site displays the segments according to the order of the groups in the key. This means that segments assigned to a group at the top of the key will appear layered on top of any in the same place from groups lower down in the key.

If some segments are not visible but you want them to be, you can move them to the top:

  • Find their group in the key
  • Click and hold on the dotted ‘gripper’ area to the right of the group name
  • Drag the group to a new position within the key and release

For example, I might want the pale green segment for ‘T123456 (Martin Kile)’ to be visible when the chromosome is closed. To do this, I can drag the ‘Unknown Wood’ group to a higher position in the key.

Clicking on the dotted gripper icon to drag a group to a new position
Moving a group to a different position in the key by clicking and holding on the dotted ‘gripper’ icon on the right…
Dropping a group into a new position in the key
… Once you’ve dragged it to a new position you can let go.

As soon as you do this, the segment layer will adjust. You can see that the ‘Unknown Wood’ segment now appears on top.

Chromosome 6 showing the effect of changing segment layer order
A view of chromosome pair 6 in an example chromosome map showing the ‘unknown wood’ segment now appearing on top.

If you already knew this, great. If you didn’t, please tell a friend!

Further reading

Contact info: @dnapainter.bsky.social / jonny@dnapainter.com