orfSignature | R Documentation |
Creates a signature text for orfs in an orf.table
.
orfSignature(orf.table, full = TRUE)
orf.table |
A |
full |
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 Signature
s. 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.
findOrfs
.
# 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.