Skip to content
Snippets Groups Projects
Commit 0c4f035b authored by Martin Larralde's avatar Martin Larralde
Browse files

Add new `lightmotif-io` crate to implement multiple parser formats

parent 55f18b9d
No related branches found
No related tags found
No related merge requests found
[workspace]
members = ["lightmotif", "lightmotif-bench", "lightmotif-transfac", "lightmotif-py", "lightmotif-tfmpvalue"]
members = ["lightmotif", "lightmotif-bench", "lightmotif-io", "lightmotif-transfac", "lightmotif-py", "lightmotif-tfmpvalue"]
resolver = "2"
[package]
name = "lightmotif-io"
version = "0.5.1"
authors = ["Martin Larralde <martin.larralde@embl.de>"]
edition = "2021"
license = "MIT"
description = "Motif parsers implementation for the lightmotif crate."
repository = "https://github.com/althonos/lightmotif"
homepage = "https://github.com/althonos/lightmotif/tree/main/lightmotif-io"
readme = "README.md"
categories = ["science", "parser-implementations"]
keywords = ["bioinformatics", "motif", "parser", "transfac", "meme"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
nom = "7"
memchr = "2"
[dependencies.lightmotif]
path = "../lightmotif"
version = "0.5.1"
[dependencies.lightmotif-transfac]
path = "../lightmotif-transfac"
version = "0.5.1"
pub fn add(left: usize, right: usize) -> usize {
left + right
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn it_works() {
let result = add(2, 2);
assert_eq!(result, 4);
}
}
......@@ -6,7 +6,7 @@ edition = "2021"
license = "MIT"
description = "PyO3 bindings and Python interface to the lightmotif crate."
repository = "https://github.com/althonos/lightmotif"
homepage = "https://github.com/althonos/lightmotif"
homepage = "https://github.com/althonos/lightmotif/tree/main/lightmotif-py"
readme = "README.md"
categories = ["science"]
keywords = ["bioinformatics", "python", "bindings", "pssm"]
......
......@@ -6,7 +6,7 @@ edition = "2021"
license = "MIT"
description = "TRANSFAC parser implementation for the lightmotif crate."
repository = "https://github.com/althonos/lightmotif"
homepage = "https://github.com/althonos/lightmotif"
homepage = "https://github.com/althonos/lightmotif/tree/main/lightmotif-transfac"
readme = "README.md"
categories = ["science", "parser-implementations"]
keywords = ["bioinformatics", "motif", "parser", "transfac"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment