-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Francesco Palozzi edited this page Jun 6, 2026
·
2 revisions
Version: 0.0.1 | Java: 21+ | Group: it.unicam.cs.bdslab
Java library for reading, writing, and converting RNA secondary structure files. Supports automatic format detection via ANTLR4 and translation across all major formats.
| Section | Description |
|---|---|
| Requirements & Integration | Dependencies, Maven setup |
| Supported Formats | AAS, BPSEQ, CT, DB, FASTA and variants |
| Architecture | Package and class overview |
| Loading Files | Single files, directories, standalone parsing |
| Format Translation | Conversion matrix, translate API |
| Saving Files | Output options, statistics, ZIP |
| Structure Statistics | Nucleotide and bond analysis |
| Managing Loaded Files | List, remove, reset |
| Exception Handling | Error types and robust patterns |
| Examples | Complete working code examples |
| Notes & Limitations | Thread safety, edge cases |
IOController io = IOController.getInstance();
TranslatorController translator = TranslatorController.getInstance();Both are stateful singletons. Call io.clearAllDataStructures() between sessions with different formats.
// Load → Translate → Save in three lines
IOController io = IOController.getInstance();
RNAFile source = io.loadFile(Path.of("structure.bpseq"));
RNAFile db = TranslatorController.getInstance().translate(source, RNAFormat.DB);
io.saveFiles(List.of(db), Path.of("/output/"), false, true, "result");RNA2DFormatIO – Copyright © 2026 Francesco Palozzi.
University of Camerino – Licensed under the Apache License, Version 2.0.