ParamFromIndex {GeneR}R Documentation

Extract parameters from an index file

Description

Gets values from an index file to a specific access number

Usage

paramFromIndex(accn, indexpath)

Arguments

accn Access number (name) of sequence
indexpath Name of index file

Value

A list, with values:

accno acces number
indexpath index file
beginFeatures Position of the begining of features
beginSeq Position of the begining of sequence
size Length of sequence (in the file) or -1 if error

See Also

readSeq,sizeSeqEmbl

Examples

seqNcbi("BY608190",file="BY608190.fa")
makeIndex("BY608190.fa",type='F')
paramFromIndex("gi|26943372|gb|BY608190.1|BY608190","BY608190.fa.ix")

[Package GeneR version 1.4.2 Index]