orfSignature: Signature for each ORF

View source: R/orfs.R

orfSignatureR Documentation

Signature for each ORF


Creates a signature text for orfs in an orf.table.


orfSignature(orf.table, full = TRUE)



A tibble with ORF information.


Logical indicating type of signature.


A signature is a text that uniquely identifies each ORF in an orf.table, which is a GFF-table with columns Seqid, Start, End and Strand.

The full signature (full = TRUE) contains the Seqid, Start, End and Strand information for each ORF, separated by semicolon ";". This text is always unique to each ORF. If full = FALSE the Signature will not contain the starting position information for each ORF. This means all nested ORFs ending at the same stop-codon will then get identical Signatures. This is useful for identifying which ORFs are nested within the same LORF.

Note that the signature you get with full = FALSE contains Seqid, then End if on the positive Strand, Start otherwise, and then the Strand.


A text vector with the Signature for each ORF.


Lars Snipen.

See Also



# Using a genome file in this package
genome.file <- file.path(path.package("microseq"),"extdata","small.fna")

# Reading genome and finding orfs
genome <- readFasta(genome.file)
orf.tbl <- findOrfs(genome)

# Compute signatures
signature.full <- orfSignature(orf.tbl)
signature.reduced <- orfSignature(orf.tbl, full = FALSE)

microseq documentation built on Aug. 21, 2023, 5:10 p.m.