loadIndex: loadIndex

Description Usage Arguments Value Author(s) Examples

View source: R/makeIndex.R

Description

Load a hybrid reference genome

Usage

1
loadIndex(indexPath)

Arguments

indexPath

The path to the *_tagMeppRindex.fa.gz made by makeIndex.

Value

A tagMepprIndex-object with the following slots:

index

The path to the .fa.gz of hybrid reference genome

ITR

The name of the used transposon-system or ITR.fa

TIS

A GRanges-object of all target insertion sites.

targetInsertionSite

The targetInsertionSite

insertName

The name of the transposon in the hybrid reference

seqinfo

A seqinfo object of all chromosomes in index.

NpadRange

The positions of the N-padding in the ITR-sequence.

Author(s)

Robin H. van der Weide, r.vd.weide@nki.nl

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
reference_hg19_PB = makeIndex(indexPath = '/home/A.Dent/analysis42/',
                              bsgenome = BSgenome.Hsapiens.UCSC.hg19,
                              ITR = 'PiggyBac')

# stuff happens and reference_T42 is no longer loaded, so lets load it:
reference_hg19_PB = loadIndex("BSgenome.Hsapiens.UCSC.hg19_PiggyBac_tagMeppRindex.fa.gz")

## End(Not run)

robinweide/tagmeppr documentation built on Feb. 26, 2020, 10:41 p.m.