package biocaml
The OCaml Bioinformatics Library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.11.1.tar.gz
md5=e292efa2f61fec33dad63ec897106f59
sha512=35519bf3b1e67a9191ef9bb74eba0dae941e0d05bad89076a36f507dc5c2d105a03c1c917d5a3f7ed9d1da4acbf3199582f78c308aa2a5a22c21f743945c852b
doc/biocaml.ez/Biocaml_ez/Fasta/index.html
Module Biocaml_ez.Fasta
Source
include module type of struct include Biocaml_unix.Fasta end
A header is a list of comment lines.
Source
type fmt = Biocaml_unix.Fasta.fmt = {
allow_sharp_comments : bool;
allow_semicolon_comments : bool;
allow_empty_lines : bool;
comments_only_at_top : bool;
max_line_length : int option;
alphabet : string option;
}
Low-level Parsing
An item0
is more raw than item
. It is useful for parsing files with large sequences because you get the sequence in smaller pieces.
`Comment _
- Single comment line without the final newline. Initial comment char is retained.
`Empty_line
- Got a line with only whitespace characters. The contents are not provided.
`Description _
- Single description line without the initial '>' nor final newline.
`Partial_sequence _
- Multiple sequential partial sequences comprise the sequence of a singleitem
.
Source
val parse_item0 :
?allow_sharp_comments:bool ->
?allow_semicolon_comments:bool ->
?allow_empty_lines:bool ->
?max_line_length:int ->
?alphabet:string ->
Biocaml_unix.Line.t ->
item0 Core_kernel.Or_error.t
Source
val read0 :
?start:Biocaml_unix.Pos.t ->
?allow_sharp_comments:bool ->
?allow_semicolon_comments:bool ->
?allow_empty_lines:bool ->
?max_line_length:int ->
?alphabet:string ->
Core_kernel.In_channel.t ->
item0 CFStream.Stream.t
Source
val read :
?start:Biocaml_unix.Pos.t ->
?fmt:fmt ->
Core_kernel.In_channel.t ->
header * item CFStream.Stream.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>