rsemstarIndex: Generating rsem-star genome index

Description Usage Arguments Value Author(s) Examples

View source: R/rsemstarIndex.R

Description

This function executes the docker container rsem-star1 where RSEM and STAR are installed. The index is created using ENSEMBL genome fasta file. User needs to provide the URL for ENSEMBL genome located in the ENSEMBL ftp

Usage

1
2
rsemstarIndex(group = c("sudo", "docker"), genome.folder = getwd(),
  ensembl.urlgenome = NULL, ensembl.urlgtf = NULL, threads = 1)

Arguments

group,

a character string. Two options: "sudo" or "docker", depending to which group the user belongs

genome.folder,

a character string indicating the folder where the indexed reference genome for bwa will be located

ensembl.urlgenome,

a character string indicating the URL from ENSEMBL ftp for the unmasked genome sequence of interest

ensembl.urlgtf,

a character string indicating the URL from ENSEMBL ftp for the GTF for genome of interest

threads,

a number indicating the number of cores to be used from the application

Value

The indexed bwa genome reference sequence

Author(s)

Raffaele Calogero

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 
    #running rsemstar index for human
    rsemstarIndex(group="sudo",genome.folder="/data/scratch/hg38star",
    ensembl.urlgenome=
    "ftp://ftp.ensembl.org/pub/release-87/fasta/homo_sapiens/dna/Homo_sapiens.GRCh38.dna.toplevel.fa.gz",
    ensembl.urlgtf=
    "ftp://ftp.ensembl.org/pub/release-87/gtf/homo_sapiens/Homo_sapiens.GRCh38.87.gtf.gz",
    threads=24)

    #running rsemstar index for mouse
    rsemstarIndex(group="docker",genome.folder="/data/scratch/mm10star",
    ensembl.urlgenome="ftp://ftp.ensembl.org/pub/release-87/fasta/mus_musculus/dna/Mus_musculus.GRCm38.dna.toplevel.fa.gz",
    ensembl.urlgtf="ftp://ftp.ensembl.org/pub/release-87/gtf/mus_musculus/Mus_musculus.GRCm38.87.gtf.gz",
    threads=24)


## End(Not run)

kendomaniac/docker4seq documentation built on Dec. 1, 2018, 6:54 a.m.