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

Description Usage Arguments Value Author(s)

View source: R/readBfaToc.R

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

1
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.


ShortRead documentation built on Nov. 8, 2020, 8:02 p.m.