package biocaml
The OCaml Bioinformatics Library
Install
Dune Dependency
Authors
Maintainers
Sources
v0.11.0.tar.gz
md5=486aeb3e552dabae85839e2af30d6c52
sha512=4ed2df0b7cbd80bd6e29bd8fee9d2dacd9379ad0f4ff142bd8e16ade3f1507f6cc7cbe4c614943b8feb8fa4705935695cb458606b0da813dbf255b1e566a43cf
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)"
>