SAM-to-BAM (version 1.1.2) says that it produces an indexed BAM file based on a sorted input SAM file. When I go from SAM to BAM using SAMTools on my computer (not using Galaxy), I first convert the SAM to BAM then sort the BAM. I was wondering if on Galaxy you need to first sort the SAM file then use SAM-to-BAM to get the same result ? Matthew The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.