bio_io

所属分类:生物医药技术
开发工具:OCaml
文件大小:0KB
下载次数:0
上传日期:2023-09-10 20:19:46
上 传 者sh-1993
说明:  OCaml库,提供对生物信息学(如FASTA文件)中使用的通用文件格式的编程访问。,
(An OCaml library that provides programmatic access to common file formats used in bioinformatics like FASTA files.,)

文件列表:
.ocamlformat (116, 2023-09-10)
CHANGELOG.md (2788, 2023-09-10)
LICENSE-APACHE.txt (9723, 2023-09-10)
LICENSE-MIT.txt (1077, 2023-09-10)
Makefile (2150, 2023-09-10)
bench/ (0, 2023-09-10)
bench/bench_btab.ml (773, 2023-09-10)
bench/bench_cigar.ml (848, 2023-09-10)
bench/bench_fasta.ml (345, 2023-09-10)
bench/bench_fasta_exe.ml (138, 2023-09-10)
bench/bench_io.ml (1865, 2023-09-10)
bench/cat.ml (290, 2023-09-10)
bench/cat_btab.ml (324, 2023-09-10)
bench/cat_btab_old.ml (339, 2023-09-10)
bench/dune (266, 2023-09-10)
bench/read.ml (154, 2023-09-10)
bench/read_btab.ml (142, 2023-09-10)
bench/read_btab_old.ml (152, 2023-09-10)
bench/seqs.10000.faa (10108894, 2023-09-10)
bench/share.ml (852, 2023-09-10)
bio_io-dev.opam (844, 2023-09-10)
bio_io.opam (1186, 2023-09-10)
bio_io.opam.template (30, 2023-09-10)
dune-project (1661, 2023-09-10)
examples/ (0, 2023-09-10)
examples/btab.ml (371, 2023-09-10)
examples/btab_queries.ml (504, 2023-09-10)
examples/dune (220, 2023-09-10)
examples/fasta_sequence_lengths.ml (345, 2023-09-10)
examples/fasta_stdin.ml (238, 2023-09-10)
examples/parse_fasta.ml (476, 2023-09-10)
examples/read_fasta_to_map.ml (711, 2023-09-10)
... ...

# Bio_io [![Build and test](https://github.com/mooreryan/bio_io/actions/workflows/build_and_test.yml/badge.svg?branch=main)](https://github.com/mooreryan/bio_io/actions/workflows/build_and_test.yml) [![Coverage Status](https://coveralls.io/repos/github/mooreryan/bio_io/badge.svg?branch=main)](https://coveralls.io/github/mooreryan/bio_io?branch=main) `Bio_io` is an OCaml library that provides programmatic access to common file formats used in bioinformatics like FASTA files. ## Quick Start ### Install ``` opam install bio_io ``` ### Example Read a FASTA file and print the ID and sequence length for each record. ```ocaml open! Base let fasta_file = "sequences.fasta" let () = (* This open gives you [In_channel] and [Record]. *) let open Bio_io.Fasta in In_channel.with_file_iter_records fasta_file ~f:(fun record -> (* Print the ID and the length of the sequence. *) Stdio.printf "%s => %d\n" (Record.id record) (Record.seq_length record)) ``` ## Docs For more examples, API, and other usage info, see the [docs](https://mooreryan.github.io/bio_io/). ## License [![license MIT or Apache 2.0](https://img.shields.io/badge/license-MIT%20or%20Apache%202.0-blue)](https://github.com/mooreryan/bio_io) Licensed under the Apache License, Version 2.0 or the MIT license, at your option. This program may not be copied, modified, or distributed except according to those terms.

近期下载者

相关文件


收藏者