It just looks like a sealant. It keeps the glass panel fitted to the door frame.
First, get the measurements of your door and that sealant (x" by y"), then take that number and this photo to a nearby hardware store. Show someone the photo, and they will most likely recognize it and be able to help you.