Please see the tool NGS Picard > CollectInsertSizeMetrics.
Be sure to sort the input BAM dataset(s) before using this tool. How-to: https://galaxyproject.org/support/sort-your-inputs/
Thanks, Jen, Galaxy team
Dear jennifer Entrance data in CollectInsertSizeMetrics is a BAM file. after trimmining, I have 2 fastsanger files that I want to map these files then This software requires from me the standard deviation, max and .... for mapping with BWA. you mean first I map and then I find mean, standard deviation, max, and min for insert lengths? many thanks