writeFai: writeFai: Create FASTA index file.

Description Usage Arguments Value Author(s) References Examples

View source: R/fastaFunctions.R

Description

The function reads a FASTA file and produces a FASTA index file as output.

Usage

1
writeFai(infiles, outfiles)

Arguments

infiles

character. Vector of FASTA file names for which FASTA index is to be written.

outfiles

character. Vector file names for writing FASTA index to.

Value

None.

Author(s)

Wolfgang Kaisers

References

Cock PJA, Fields CJ, Goto N, Heuer ML, Rice PM The sanger FASTQ file format for sequences with quality scores and the Solexa/Illumina FASTQ variants. Nucleic Acids Research 2010 Vol.38 No.6 1767-1771

Examples

1
2
3
4
5
## Not run: 
infile <- system.file("extdata", "small.fa", package="seqTools")
writeFai(infile, "small.fa.fai")

## End(Not run)

Example output

Loading required package: zlibbioc
[write_fai] File ( 1/1)	  3 sequences           56 total length.
[write_fai] done.

seqTools documentation built on Nov. 8, 2020, 5:20 p.m.