Added logging of detected libraries and renamed input parameter from bams to I.