mgymrek / pybamview

Browser based application for viewing bam alignments
MIT License
56 stars 17 forks source link

"." in read groups breaks #25

Closed mgymrek closed 10 years ago

mgymrek commented 10 years ago

Replace these before displaying reads

mgymrek commented 10 years ago

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).

mgymrek commented 10 years ago

This is fixed with this pull request (issue #28)