samtools-0.2.4.1: Binding to the C samtools library

Safe HaskellNone
LanguageHaskell98

Bio.SamTools.FaIdx

Description

Fetch sequences from an indexed fasta file

Documentation

data InHandle Source

Input handle for an indexed fasta file

filename :: InHandle -> FilePath Source

Name of the fasta file

open :: FilePath -> IO InHandle Source

Open an indexed fasta file

close :: InHandle -> IO () Source

withFastaIndex :: FilePath -> (InHandle -> IO a) -> IO a Source

fetch Source

Arguments

-> ByteString

Sequence name

-> (Int64, Int64)

(Starting, ending) position, 0-based

Fetch a region specified by sequence name and coordinates, or the empty string when the sequence is not found.

fetchLoc :: Location l => InHandle -> OnSeq l -> IO (Maybe ByteString) Source

readLoc :: Location l => FilePath -> OnSeq l -> IO (Maybe ByteString) Source

AltStyle によって変換されたページ (->オリジナル) /