Description Usage Arguments Value Author(s) References See Also Examples
View source: R/WholeGenomeAlignment.R
Wrapper function of netToAxt and axtSort:
convert net (and chain) to axt, and sort axt files.
This function doesn't work on the Windows platform since Kent utilities only
support Linux and Unix platforms.
1 2 3 4 5 6 7  | 
in.net | 
 
  | 
in.chain | 
 
  | 
assemblyTarget | 
 
  | 
assemblyQuery | 
 
  | 
axtFile | 
 
  | 
removeFiles | 
 
  | 
binaryNetToAxt | 
 
  | 
binaryAxtSort | 
 
  | 
character(1): the file name of output axt file.
Ge Tan
http://hgdownload.cse.ucsc.edu/admin/exe/
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22  |   ## Not run: 
    ## This example doesn't run because it requires two bit files and external
    ## Kent utilities.
    in.net <- file.path("/Users/gtan/OneDrive/Project/CSC/CNEr/axt",
                        "danRer10.hg38.noClass.net")
    in.chain <- file.path("/Users/gtan/OneDrive/Project/CSC/CNEr/axt",
                          "danRer10.hg38.all.pre.chain")
    assemblyTarget <- "/Users/gtan/OneDrive/Project/CSC/CNEr/2bit/danRer10.2bit"
    assemblyQuery <- "/Users/gtan/OneDrive/Project/CSC/CNEr/2bit/hg38.2bit"
    netToAxt(in.net, in.chain, assemblyTarget, assemblyQuery,
             axtFile=file.path("/Users/gtan/OneDrive/Project/CSC/CNEr/axt",
                               paste0(sub("\\.2bit$", "",
                                          basename(assemblyTarget),
                                          ignore.case = TRUE), ".",
                                      sub("\\.2bit$", "",
                                          basename(assemblyQuery),
                                          ignore.case = TRUE),
                                      ".net.axt")),
             removeFiles=FALSE,
             binaryNetToAxt="netToAxt", binaryAxtSort="axtSort")
  
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.