def write_index(self,opath,verbose=False): BamIndex.write_index(self.path,opath,verbose=verbose,samtools=True)
def write_index(self,index_file,verbose=False): BamIndex.write_index(self.path,index_file,verbose=verbose)