Question: how to extract mapped reads from output of BWA-MEM to a separate file?
0
gravatar for jerrry113
20 months ago by
jerrry1130
jerrry1130 wrote:

Hello all,

By default, BWA-MEM on the main galaxy server does not seem to give an option to write the mapped or unmapped reads in an alignment run to its own separate file. Is there a utility available on Galaxy that I can use to parse through the BAM output for just the reads that aligned? Thanks!

  • Jerry
ADD COMMENTlink modified 20 months ago by y.hoogstrate460 • written 20 months ago by jerrry1130
0
gravatar for y.hoogstrate
20 months ago by
y.hoogstrate460
Netherlands
y.hoogstrate460 wrote:

Hello Jerry,

Together with the bitwise flags given in this document: https://samtools.github.io/hts-specs/SAMv1.pdf and the tool "Filter SAM or BAM, output SAM or BAM files on FLAG MAPQ RG LN or by region (Galaxy Version 1.1.2)" you should be able to solve it. Good luck!

Youri

ADD COMMENTlink written 20 months ago by y.hoogstrate460
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 104 users visited in the last hour