Removal samtools invocations and replacement by Rsamtools commands