This file is indexed.

/usr/lib/R/site-library/GenomicAlignments/doc/GenomicAlignmentsIntroduction.R is in r-bioc-genomicalignments 1.14.1-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
44
45
46
47
48
49
50
### R code from vignette source 'GenomicAlignmentsIntroduction.Rnw'
### Encoding: UTF-8

###################################################
### code chunk number 1: options
###################################################
options(width=72)


###################################################
### code chunk number 2: biocLite (eval = FALSE)
###################################################
## source("https://bioconductor.org/biocLite.R")
## biocLite("GenomicAlignments")


###################################################
### code chunk number 3: initialize
###################################################
library(GenomicAlignments)


###################################################
### code chunk number 4: readGAlignments
###################################################
library(GenomicAlignments)
aln1_file <- system.file("extdata", "ex1.bam", package="Rsamtools")
aln1 <- readGAlignments(aln1_file)
aln1
length(aln1)


###################################################
### code chunk number 5: accessors
###################################################
head(seqnames(aln1))
seqlevels(aln1)
head(strand(aln1))
head(cigar(aln1))
head(qwidth(aln1))
head(start(aln1))
head(end(aln1))
head(width(aln1))
head(njunc(aln1))


###################################################
### code chunk number 6: SessionInfo
###################################################
sessionInfo()