 I have indexed and aligned my BAM file still it gives the above error. When I let the command run it produced an empty file.