alignment2psl: Take an alignment of targets to chromosome(s) where the...

Description Usage Arguments Value Author(s)

Description

Take an alignment of targets to chromosome(s) where the minimum requirements are the query name, target name (ie chromosome), start, stop and strand of the alignment.

Usage

1
2
3
  alignment2psl(query = x[, "query"], target = x[, "chr"],
    start = x[, "start"], stop = x[, "stop"],
    strand = x[, "strand"], score = NULL, x)

Arguments

query

a character vector of query names

target

a vector of chromosome numbers; either chr1, chrX or 1, "X" etc...

start

numerical vectors of start of the alignment

stop

numerical vectors of stop of the alignment

strand

"+" or "-" for each alignment

score

alignment score. default=NULL

x

the alignment object

Value

a psl data.frame where it is assumed that the alignment is a perfect one between the query and the target, with only one alignment block.

Author(s)

Mark Cowley, 24 August 2006


drmjc/blat documentation built on May 15, 2019, 2:22 p.m.