package biocaml
The OCaml Bioinformatics Library
Install
Dune Dependency
Authors
Maintainers
Sources
biocaml-0.11.2.tbz
sha256=fae219e66db06f81f3fd7d9e44717ccf2d6d85701adb12004ab4ae6d3359dd2d
sha512=f6abd60dac2e02777be81ce3b5acdc0db23b3fa06731f5b2d0b32e6ecc9305fe64f407bbd95a3a9488b14d0a7ac7c41c73a7e18c329a8f18febfc8fd50eccbc6
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.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.In_channel.t ->
item0 CFStream.Stream.t
Source
val read :
?start:Biocaml_unix.Pos.t ->
?fmt:fmt ->
Core.In_channel.t ->
header * item CFStream.Stream.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>