Assume I have a large BAM file (foo_sorted_by_pos.bam) sorted by
chromosomal coordinates.  Occasionally, but more than once, I need to
sort this by read names (foo_sorted_by_name.bam) but I don't want to
keep the latter around (to save disk space).

Conceptually would it be possible to store a "pos-to-name index map"
that can be reused to speedup the pos-to-name sorting and that is much
smaller (than foo_sorted_by_name.bam)?  Would this work/make a
difference with the BAM file format?  If so, may I ask for it to be
put on the wishlist of things to be added?

Thanks,

Henrik

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Samtools-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/samtools-help

Reply via email to