Description Usage Arguments Value See Also Examples
View source: R/hiReadsProcessor.R
Given a GRanges object, the function uses specified gaplength parameter to
pair up reads where the qName column ends with "atpersand pairname atpersand"
which is outputted by extractSeqs
.
1 2 3 4 5 6 | pairUpAlignments(
psl.rd = NULL,
maxGapLength = 2500,
sameStrand = TRUE,
parallel = TRUE
)
|
psl.rd |
a GRanges object with qNames ending in "atpersand pairname atpersand". |
maxGapLength |
maximum gap allowed between end of pair1 and start of pair2. Default is 2500 bp. |
sameStrand |
should pairs be aligned to the same strand or in same
orientationin the reference genome? Default is TRUE. This is 'TRUE' because
pair2 reads are reverseComplemented when reading in data in
|
parallel |
use parallel backend to perform calculation with
|
a GRanges object with reads paired up denoted by "paired" column. Improper pairs or unpaired reads are returned with "paired" column as FALSE.
pairwiseAlignSeqs
, blatSeqs
,
read.blast8
, read.psl
,
getIntegrationSites
, read.BAMasPSL
1 2 3 4 5 6 |
## Not run:
psl.rd <- read.BAMasPSL(bamFile=c("sample1hits.bam","sample2hits.bam"))
pairUpAlignments(psl.rd)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.