Impelement write capability
Created by: riederd
Hi Rishi,
I followed the suggestions on my last pull request (#34). Shortly:
- remove the BAM sorting part
- write1() now is format agnostic, meaning that it can wirte SAM (w), BAM (wb) and CRAM (wc)
- added test cases for writing and rereading BAM and CRAM files
I hope this of help to others too and is now better suited for merging into the main branch.
Dietmar