indexFasta {GeneR}R Documentation

Index file creation for a sequences bank

Description

These functions create an index file for retrieving quickly a sequence into a fasta, genbank or embl sequence bank file.

Usage

indexFasta(file)
indexEmbl(file,index="ix")
indexGbk(file)

Arguments

file

String/scalar, File path and name of the sequences file

index

String/scalar, Suffix for the index file

Value

1

Indexfile has been created

-1

Error

Note

These functions create an index file even if it already exists.

Access number larger than 40 characters are skipped (a warning is returned). This can be increasing with variable MAX\_LEN\_ACCNO in file GeneR\_globals.h (and rebuild GeneR library).

Author(s)

Antoine Lucas

See Also

makeIndex


[Package GeneR version 2.24.0 Index]