Description Usage Arguments Value Author(s)
View source: R/mergeChimeras.R
Merges chimeric alignments where the individual segments border an unmapped region (a long deletion). If bases of the read are mapped to both ends of the gap, the multimapped reads are only included in the leftmost genomic segment. If there are more than max_unmapped unmapped bases between the mapped bases, the read is not considered mergeable. Currently experimental and only tested with reads mapped by bwa mem.
1 2 | mergeChimeras(bam, chimera_idxs = NULL, verbose = TRUE,
max_read_overlap = 10, max_unmapped = 4, name = NULL)
|
bam |
A GenomicAlignments::GAlignments object |
chimera_idxs |
Indices of chimeric reads within bam |
verbose |
Should information about the number of mergeable alignments be printed? (Default: TRUE) |
max_read_overlap |
Maximum number of bases in a mergeable read that are aligned to two genomic locations (Default: 10) |
max_unmapped |
Maximum number of bases in a mergeable read that are unmapped and located between two mapped segments (Default: 4) |
name |
Name of the sample, used when reporting verbose output. |
A list of the merged and unmerged chimeric alignments
Helen Lindsay
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.