read_assembly {bioseq.fasta} R Documentation

read genome assembly fasta sequence file

Description

Usage

read_assembly(file);

Arguments

file

env

[as Environment]

Details

unlike the read.fasta api, this function reads the whole genome sequence in a chunked manner: the sequence data of each chromosome is stored as a ChunkedNtFasta object, so that we can slice a sequence region from a huge chromosome sequence in a memory efficient manner via the slicer api.

Authors

seqtoolkit

Value

a named list of the ChunkedNtFasta chunk sequence object, the name of the list element is the fasta title of the corresponding chromosome or contigs sequence.

this function returns a R# error message object if the given file can not be opened for read.

clr value class

Examples


[Package bioseq.fasta version 1.0.0.0 Index]