-
Notifications
You must be signed in to change notification settings - Fork 67
Closed as not planned
Description
Hi -- for my line of work I often have to (de-)serialize bioinformatic file formats into more common formats, and I'm curious if there are any recommendations for how to do that with noodles or if someone else has done it... like in an ideal world I could:
use noodles::fasta;
fn main() {
let d = fasta::record::Definition::new(String::from("seq1"), None);
let seq = "ATCG".as_bytes().to_vec();
let s = fasta::record::Record::new(d, seq);
let s_json = serde_json::to_string(s);
println!("{}", s_json);
}I know it's possible add serialization to structs in external packages, but it's a non trivial amount of work, so thought I'd ask either a) if there was a good path to take; b) any thoughts/plans on supporting serialization a la rust-bio.
Thanks!
brainstorm and GhisFbrainstorm
Metadata
Metadata
Assignees
Labels
No labels