Merge aligned and unaligned BAM

Description

This Picard tool merges alignment data from a normal aligned BAM file with data in an unmapped BAM file. Before merging, the tool also sorts the aligned BAM file by queryname (QNAME), so that merging is possible. This tool produces a new BAM file that includes all aligned and unaligned reads and also carries forward additional read attributes from the unmapped BAM (attributes that are otherwise lost in the process of alignment). The purpose of this tool is to use information from the unmapped BAM to fix up aligner output. In short, this tool can be used to add the cell and molecular barcode and other tags that were lost during the alignment to the aligned BAM file.

After merging, Drop-seq tool TagReadWithGeneExon adds a BAM tag GE to reads which overlap an exon of a gene. This tag contains the gene name, as reported in the GTF genome annotation file. For more details, please check the Drop-seq manual.

Note that this tool ignores secondary alignments.

Make sure you choose the same reference that was used in the alignment, and check that the input files are assigned correctly!

For more details, please check the home page of Picard tools.

Parameters

Chipster provides Ensembl-based GTF files for many organisms in the pull-down menu. If you would like to use your own GTF, set the organism parameter to other and check that your GTF file has been correctly assigned in the parameter panel.

Output