File: makeAxtTracks.Rd

package info (click to toggle)
r-bioc-cner 1.26.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 18,216 kB
  • sloc: ansic: 23,458; makefile: 6
file content (43 lines) | stat: -rw-r--r-- 1,144 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
\name{makeAxtTracks}
\alias{makeAxtTracks}
\title{
  makeAxtTracks
}
\description{
  Make the bed tracks for the \sQuote{Axt} alignment.
}
\usage{
  makeAxtTracks(x)
}
\arguments{
  \item{x}{
    A \code{Axt} object.
  }
}
\details{
  The coordinates of query \sQuote{Axt} alignment are fixed to be relative to
  positive strand before output into \sQuote{bed} file.
}
\value{
  A list of GRanges for target and query alignments.
  The two output \sQuote{bed} files are 
  \dQuote{targetAxt.bed} and \dQuote{queryAxt.bed}.
}
\author{
  Ge Tan
}
\seealso{
  \code{\link{fixCoordinates}}
}
\examples{
  tAssemblyFn <- file.path(system.file("extdata",
                                       package="BSgenome.Drerio.UCSC.danRer10"),
                           "single_sequences.2bit")
  qAssemblyFn <- file.path(system.file("extdata",
                                       package="BSgenome.Hsapiens.UCSC.hg38"),
                           "single_sequences.2bit")
  axtFn <- file.path(system.file("extdata", package="CNEr"), 
                     "danRer10.hg38.net.axt")
  axt <- readAxt(axtFn, tAssemblyFn, qAssemblyFn)
  makeAxtTracks(axt)
}