Closed rambaut closed 4 years ago
I wonder if we should just call the SNPs and draw a quick tree with the reference panel + samples?
I don't think so. It would add new layers of complexity. Ultimately, when we make RAMPART more modular, then this sort of thing could be added but at the moment I think we should focus on it being a tool for diagnosing sequencing issues and looking at performance.
It would just be useful to know how close the reads are to to their best mapping reference (this information is being returned by the mapping script).
Prototype now implemented in 53aa9acf911af565c488ed308f8484e24bf8ad6b
The panel placement hasn't been given much thought & the presence of unmapped
having similarity values is somewhat worrying 🤦♂
The unmapped
🐛 is fixed -- it was caused by ambiguous mapping results being labeled as unmapped
. We no longer store similarities for these reads.
The call to MiniMap2 in map_single_fastq.py returns the %similarity to the mapped reference. It would be good to be able to include this as a chart in each sample panel (either for the majority mapping or selecting a specific reference).