[galaxy-user] How can I sort BAM/SAM file by read names?

2012-03-26 Thread Carlos Borroto
Hi, I need to sort a BAM file by read names, I was wondering if this is possible with a tool included in Galaxy? I know any BAM file produced inside Galaxy will be sorted by coordinates, but I couldn't find an option to change this to queryname in any tool. Picard has the tool SortSam[1],

Re: [galaxy-user] How can I sort BAM/SAM file by read names?

2012-03-26 Thread Jennifer Jackson
Hello Carlos, Start by converting your BAM file to SAM, with NGS: SAM Tools - BAM-to-SAM. It is probably best to include the header if you plan to use the SAM file in downstream tools later on. If not, you can skip the step where it is saved. Next, to save back the SAM header into a