mapInit: Initial mapping.

Description Usage Arguments Value See Also Examples

View source: R/all-generics.R

Description

Short reads (Illumina) and long reads (PacBio or Nanopore) or long reads alone are mapped to a single reference sequence.

Usage

1
mapInit(x, opts = list(), ...)

Arguments

x

A DR2S object.

opts

List with options passed to the mapper.

...

Additional parameters passed to PileupParam.

Value

A DR2S object.

See Also

Other DR2S mapper functions: cache(), clear(), createDR2SConf(), mapFinal(), mapIter(), partitionLongreads(), remapAlignment(), reportCheckedConsensus(), report()

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
x <- DR2Smap(
  sample = "ID12300527",
  locus = "DPB1*04:01:01:01",
  datadir = "/path/to/data",
  outdir = "/path/to/output"
  ) %>%
  mapInit() %>%
  partitionLongreads() %>%
  mapIter() %>%
  partitionShortreads() %>%
  mapFinal() %>%
  report(blockWidth = 60)

## End(Not run)

DKMS-LSL/dr2s documentation built on March 14, 2021, 2:46 p.m.