When I use this pipeline to convert sam to wig, there are often off-by-one errors. This happened with one of my analyses (https://github.com/gwlilabmit/CORE_Sequencing_to_Wig/issues/4) in the past due to not accounting for non-templated additions at the 5' end.