def pacbamSlice(pacbam,start,end):

        """Function to slice out relevant pacbam information

        :param pacbam: List pacbam covereage
        :param start: Int start position slice
        :param end: Int end position for slice
        :return:
                coverageList: List sliced from pacbam
        """

        coverageList = []

        for i in pacbam:

                i = i.split('\t')

                if int(i[1]) >= start and int(i[1]) <= end:

                        cov = int(i[8].strip('\n'))

                        coverageList.append(cov)


        return(coverageList)