Learn R Programming

hiReadsProcessor (version 1.8.2)

write.psl: Write PSL file from dataframe or GRanges

Description

Given a data frame or GRanges object, the function write a tab deliminated PSL file

Usage

write.psl(x, filename = "out.psl", header = FALSE,
  includeOtherCols = FALSE)

Arguments

x
data frame or GRanges object with required columns for psl file format.
filename
name for the output PSL file. Default is "out.psl"
header
include PSL header line. Default is FALSE.
includeOtherCols
nclude other non PSL specific columns from x in the output. Default is FALSE.

Value

  • name of the output PSL file

See Also

read.psl, blatSeqs, read.blast8, read.BAMasPSL, pslToRangedObject

Examples

Run this code
data(psl)
pslFile <- tempfile()
write.psl(psl, filename = pslFile)

Run the code above in your browser using DataLab