I have a BAM created by Picard. I want to filter alignments by flags with `samtools view`. However, I noticed that even if I apply no filters, the output BAM is different from my input BAM. Are BAMs produced by different tools also different in size? How can I check if two BAMs are the same?