View source: R/WholeGenomeAlignment.R
axtChain | R Documentation |
Wrapper function of axtChain
: chain together psl alignments.
If two matching alignments next to each other are close enough,
they are joined into one segment.
This function doesn't work on Windows platform since Kent utilities only
support Unix-based platforms.
axtChain(psls, chains=sub("\\.psl$", ".chain", psls, ignore.case=TRUE), assemblyTarget, assemblyQuery, distance=c("far", "medium", "near"), removePsl=TRUE, binary="axtChain")
psls |
|
chains |
|
assemblyTarget |
|
assemblyQuery |
|
distance |
It can be "far", "medium" or "close". It decides the score matrix used in lastz aligner. See '?scoringMatrix' for more details. |
removePsl |
|
binary |
|
character
(n): the file names of output chain files.
Ge Tan
http://hgdownload.cse.ucsc.edu/admin/exe/
lavToPsl
## Not run: ## This example doesn't run because it requires two bit files and external ## Kent utilities. psls <- tools::list_files_with_exts( dir="/Users/gtan/OneDrive/Project/CSC/CNEr/axt", exts="psl") assemblyTarget <- "/Users/gtan/OneDrive/Project/CSC/CNEr/2bit/danRer10.2bit" assemblyQuery <- "/Users/gtan/OneDrive/Project/CSC/CNEr/2bit/hg38.2bit" axtChain(psls, assemblyTarget=assemblyTarget, assemblyQuery=assemblyQuery, distance="far", removePsl=FALSE, binary="axtChain") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.