Adoni5 / mappy-rs

Python wrapping multithreaded bindings to minimap2
MIT License
5 stars 0 forks source link

__repr__ functions #2

Closed Adoni5 closed 1 year ago

Adoni5 commented 1 year ago

Write __str__ and __repr__ functions for the Alignments. __str__ should return a paf formatted line.

alexomics commented 1 year ago

If you want consistency with mappy __str__ should return columns 3 to the end

alexomics commented 1 year ago

For ref: https://github.com/lh3/minimap2/tree/226fd6114c710bd798dd9234ed6ce8377aaf744a/python#class-mappyalignment

Adoni5 commented 1 year ago

Fixed in aefd89f