code: def validate_bam(self, input_bam):
          
          cmd = self.tools.java + " -Xmx" + self.pm.javamem
          cmd += " -jar " + self.tools.picard + " ValidateSamFile"
          cmd += " INPUT=" + input_bam
          return cmd
docs: Wrapper for Picard's ValidateSamFile.
  
          :param str input_bam: Path to file to validate.
          :return str: Command to run for the validation.