seqminer (version 9.4)

annotatePlain: Annotate a plain text file

Description

Annotate a plain text file

Usage

annotatePlain(inFile, outFile, params)

Value

0 if succeed

Arguments

inFile

input file name

outFile

output file name

params

parameters

Examples

Run this code
param <- list(reference = system.file("tabanno/test.fa", package = "seqminer"),
              geneFile = system.file("tabanno/test.gene.txt", package = "seqminer"),
              inputFormat = "plain")
param <- makeAnnotationParameter(param)
inFile <- system.file("tabanno/input.test.plain.txt", package = "seqminer")
outFile <- file.path(tempdir(), "out.annotated.txt")
annotatePlain(inFile, outFile, param)
cat('Outputted annotation results are in the temp directory:', outFile, '\n')

Run the code above in your browser using DataLab