Merged requested to merge github/fork/riederd/master into master
Created by: riederd
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.