Sort Bam is a function of samtools. Sort alignments by leftmost coordinates or by read names.
Test data for this app appears directly in the Discovery Environment in the Data window under Community Data -> iplantcollaborative -> example_data -> samtools_sort_BAM.
Use sample_1.bam from the directory above as test input.
When the app is run in the Discovery Environment, use the following parameters with the above input file(s) to get the output provided in the next section below.
Set the output file name by editing the text "output_prefix" or leave it unedited, for an output file named output_prefix.bam.
Expect a bam as output. For the test case, the output file you will find in the example_data directory is named output_sorted.bam