I attempted to filter a BAM file using Bamtools to select for reads with insert size < 150bp. However the insert size distribution of the post-selection BAM file indicate somewhat a partial selection.
Very odd. What tool version and parameters were used?
I suspect there is a problem in the filter term used. It should be formatted like this (no spaces, no quotes): <=150
Try that and if it doesn’t resolve the problem, click on the job details icon:
Then post the “Job Information” (first line that reports Galaxy Tool ID: is enough) and the " Tool Parameters" (all) portions back and we can try to help sort out what is going on. Screenshot(s) or copy/paste as quoted text to preserve formatting.
If you know the public Galaxy server URL or the version of Galaxy you are running yourself, that might also help.
I was unable to reproduce a filter result like yours at https://usegalaxy.org (same tool version, test dataset).
To further troubleshoot, please either send me a direct message (here) that includes your registered account email at Galaxy Main (https://usegalaxy.org) or send an email from your registered account email address to the private mailing list galaxy-bugs@lists.galaxyproject.org that includes a link to this post. Either way, please leave the datasets involved undeleted so we can review as an admin and try to figure out what may be going wrong.