samtools partially implemented