View source: R/WholeGenomeAlignment.R
lastz | R Documentation |
Wrapper function of lastz
to do the pairwise whole genome alignment.
This function doesn't work on Windows platform.
lastz(assemblyTarget, assemblyQuery, outputDir = ".", chrsTarget = NULL, chrsQuery = NULL, distance = c("far", "medium", "near"), binary = "lastz", mc.cores = getOption("mc.cores", 2L), echoCommand = FALSE)
assemblyTarget |
|
assemblyQuery |
|
outputDir |
|
chrsTarget |
NULL or |
chrsQuery |
NULL or |
distance |
It can be "far", "medium" or "near". It decides the score matrix used in lastz aligner. See '?scoringMatrix' for more details. |
binary |
|
mc.cores |
|
echoCommand |
|
A character
(n) vector of ouput lav file names.
lastz
aligner must be installed on the machine to use this function.
Ge Tan
http://www.bx.psu.edu/~rsharris/lastz/
lavToPsl
## Not run: ## This example doesn't run because it requires two bit files and external ## Kent utilities. assemblyTarget <- "/Users/gtan/OneDrive/Project/CSC/CNEr/2bit/danRer10.2bit" assemblyQuery <- "/Users/gtan/OneDrive/Project/CSC/CNEr/2bit/hg38.2bit" lavs <- lastz(assemblyTarget, assemblyQuery, outputDir="/Users/gtan/OneDrive/Project/CSC/CNEr/axt", chrsTarget=c("chr1", "chr2", "chr3"), chrsQuery=c("chr1", "chr2", "chr3"), distance="far", mc.cores=4) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.