mgymrek/pybamview

"." in read groups breaks

Closed this issue · 2 comments

Replace these before displaying reads

This is because sample name strings are used as div id's. Valid characters should be letters, numbers, _, or -. Add a function to convert string names to valid div ids by replacing these characters. Also add a warning if two different sample strings get converted to the same thing (e.g. sample_id and sample.id would both get converted to sample_id).