STAR.remove.crashed.genome: Remove crashed STAR genome

Description Usage Arguments Value See Also Examples

View source: R/STAR.R

Description

This happens if you abort STAR run early, and it halts at: ..... loading genome

Usage

1
STAR.remove.crashed.genome(index.path, star.path = STAR.install())

Arguments

index.path

path to index folder of genome

star.path

path to STAR, default: STAR.install(), if you don't have STAR installed at default location, it will install it there, set path to a runnable star if you already have it.

Value

return value from system call, 0 if all good.

See Also

Other STAR: STAR.align.folder(), STAR.align.single(), STAR.allsteps.multiQC(), STAR.index(), STAR.install(), STAR.multiQC(), getGenomeAndAnnotation(), install.fastp()

Examples

1
2
3
4
5
6
index.path = "/home/data/human_GRCh38/STAR_INDEX/genomeDir/"
# STAR.remove.crashed.genome(index.path = index.path)
## If you have the index argument from STAR.index function:
# index.path <- STAR.index()
# STAR.remove.crashed.genome(file.path(index.path, "genomeDir"))
# STAR.remove.crashed.genome(file.path(index.path, "contaminants_genomeDir"))

ORFik documentation built on March 27, 2021, 6 p.m.