dariober/ASCIIGenome

Adding bams from different genomes

dariober opened this issue · 1 comments

If you try to load bam files aligned to different genomes you get a rather misleading message:

ASCIIGenome fk045_hyd1.Lmaj.bam fk068_Ldono_fU1.ldon.bam
Initializing coordinates... 
Unable to classify fk068_Ldono_fU1.ldon.bam; skipping <---

Here fk045_hyd1.Lmaj.bam is Leishmania major genome and fk068_Ldono_fU1.ldon.bam is L. donovani so it's fine to drop fk068 as chromosomes don't match. The message (Unable to classify) however is misleading

Fixed by changing the error message in TrackSet constructor to a more generic Cannot add ...