readBfaToc {ShortRead} | R Documentation

## (Legacy) Get a list of the sequences in a Maq .bfa file

### Description

As `coverage` needs to know the lengths of the reference sequences, this function is provided which extracts this information from a .bfa file (Maq's "binary FASTA" format).

### Usage

    readBfaToc( bfafile )

### Arguments

`bfafile` | The file name of the .bfa file.

### Value

An integer vector with one element per reference sequence found in the .bfa file, each vector element named with the sequence name and having the sequence length as value.

### Author(s)

Simon Anders, EMBL-EBI, sanders@fs.tum.de

(Note: The C code for this function incorporates code from Li Heng's MAQ software, (c) Li Heng and released by him under GPL 2.

[Package ShortRead version 1.50.0 Index]